<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>:: user blog :: &#187; tomcat6</title>
	<atom:link href="http://www.mtuser.com/tag/tomcat6/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mtuser.com</link>
	<description>เอ๊า จด</description>
	<lastBuildDate>Sat, 21 Jan 2012 06:25:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>mix port error</title>
		<link>http://www.mtuser.com/mix-port-error/</link>
		<comments>http://www.mtuser.com/mix-port-error/#comments</comments>
		<pubDate>Thu, 28 Jan 2010 05:37:12 +0000</pubDate>
		<dc:creator>pang</dc:creator>
				<category><![CDATA[ispconfig]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[jsp]]></category>
		<category><![CDATA[tomcat6]]></category>

		<guid isPermaLink="false">http://www.mtuser.com/?p=806</guid>
		<description><![CDATA[[error] VirtualHost www.mtuser.com:0 &#8212; mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results แก้ตามกระทู้นี้]]></description>
			<content:encoded><![CDATA[<p>[error] VirtualHost www.mtuser.com:0 &#8212; mixing * ports and non-* ports<br />
with a NameVirtualHost address is not supported, proceeding with<br />
undefined results</p>
<p>แก้ตามกระทู้<a rel="nofollow" href="http://www.mtuser.com/goto/http://www.howtoforge.com/forums/showpost.php?p=131179&amp;postcount=2" >นี้</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mtuser.com/mix-port-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ISPConfig JSP Servlet</title>
		<link>http://www.mtuser.com/ispconfig-jsp-servlet/</link>
		<comments>http://www.mtuser.com/ispconfig-jsp-servlet/#comments</comments>
		<pubDate>Sun, 24 Jan 2010 11:33:27 +0000</pubDate>
		<dc:creator>pang</dc:creator>
				<category><![CDATA[ispconfig]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[jsp]]></category>
		<category><![CDATA[servlet]]></category>
		<category><![CDATA[tomcat6]]></category>

		<guid isPermaLink="false">http://www.mtuser.com/?p=800</guid>
		<description><![CDATA[ตามเอกสารคู่มือ ISPconfig 2 Apache-Tomcat jdk-6u18-linux-x64.bin apache-tomcat-6.0.24.tar.gz ISPConfig-2.2.35.tar.gz ส่วนที่ต่างจากคู่มือ mod_jk ติดตั้งโดย apt-get install libapache2-mod-jk เอา แก้ vhost server.xml ใส่ในส่นท้ายของไฟล์ /usr/lib/apache-tomcat/conf/server.xml &#60;Host name=&#8221;www.mtuser.com&#8221; appBase=&#8221;/var/www/webx/web&#8221; unpackWARs=&#8221;true&#8221; autoDeploy=&#8221;true&#8221;&#62; &#60;Context path=&#8221;" docBase=&#8221;apps&#8221; debug=&#8221;0&#8243; reloadable=&#8221;true&#8221;/&#62; &#60;Valve className=&#8221;org.apache.catalina.valves.AccessLogValve&#8221; directory=&#8221;logs&#8221;  prefix=&#8221;web1_access_log.&#8221; suffix=&#8221;.txt&#8221; pattern=&#8221;common&#8221; resolveHosts=&#8221;false&#8221;/&#62; &#60;/Host&#62; &#60;Listener className=&#8221;org.apache.jk.config.ApacheConfig&#8221; modJk=&#8221;/usr/lib/apache2/modules/mod_jk.so&#8221; workersConfig=&#8221;/etc/apache2/workers.properties&#8221;/&#62; stop apache2 ก่อน แล้วสั่ง start tomcat จึงจะได้ config file มา แก้ vhost ทีทำที ISPconfig [...]]]></description>
			<content:encoded><![CDATA[<p>ตามเอกสารคู่มือ</p>
<p><a rel="nofollow" href="http://www.mtuser.com/goto/http://www.howtoforge.com/perfect-server-debian-lenny-ispconfig2"  target="_blank">ISPconfig 2</a></p>
<p><a rel="nofollow" href="http://www.mtuser.com/goto/http://www.howtoforge.com/apache2_tomcat5_mod_jk_p4" >Apache-Tomcat</a></p>
<p>jdk-6u18-linux-x64.bin</p>
<p>apache-tomcat-6.0.24.tar.gz</p>
<p>ISPConfig-2.2.35.tar.gz</p>
<p>ส่วนที่ต่างจากคู่มือ mod_jk ติดตั้งโดย apt-get  install libapache2-mod-jk เอา</p>
<p>แก้ vhost server.xml ใส่ในส่นท้ายของไฟล์<br />
/usr/lib/apache-tomcat/conf/server.xml</p>
<blockquote><p>&lt;Host name=&#8221;www.mtuser.com&#8221; appBase=&#8221;/var/www/webx/web&#8221;<br />
unpackWARs=&#8221;true&#8221; autoDeploy=&#8221;true&#8221;&gt;</p>
<p>&lt;Context path=&#8221;" docBase=&#8221;apps&#8221; debug=&#8221;0&#8243; reloadable=&#8221;true&#8221;/&gt;</p>
<p>&lt;Valve className=&#8221;org.apache.catalina.valves.AccessLogValve&#8221;<br />
directory=&#8221;logs&#8221;  prefix=&#8221;web1_access_log.&#8221; suffix=&#8221;.txt&#8221;<br />
pattern=&#8221;common&#8221; resolveHosts=&#8221;false&#8221;/&gt;<br />
&lt;/Host&gt;</p>
<p>&lt;Listener className=&#8221;org.apache.jk.config.ApacheConfig&#8221;<br />
modJk=&#8221;/usr/lib/apache2/modules/mod_jk.so&#8221;<br />
workersConfig=&#8221;/etc/apache2/workers.properties&#8221;/&gt;</p></blockquote>
<ul>
<li>stop apache2 ก่อน แล้วสั่ง start tomcat จึงจะได้ config file มา</li>
<li>แก้ vhost ทีทำที</li>
</ul>
<p>ISPconfig Apache Directives</p>
<p>จะเน่าจะเละหรืออะไรไม่รู้ ไม่ใช่โปรแกรมเมอร์ &#8211; -</p>
<p>JkMount /*.jsp worker1<br />
JkMount /*/servlet/* worker1<br />
JkMount /example/* worker1</p>
<p>สมมติวาง forum ไว้ใน rootdoc ใส่</p>
<p>JkMount /jforum/* worker1</p>
<p>จบ</p>
<p>ที่มานอกเหนือจากด้านบน <a rel="nofollow" href="http://www.mtuser.com/goto/http://www.howtoforge.com/forums/showthread.php?t=3595&amp;page=3" >1</a> <a rel="nofollow" href="http://www.mtuser.com/goto/http://5dollarwhitebox.org/wiki/index.php/Howtos_Apache_Tomcat_with_Mod_JK#The_Mod_JK_connector" >2</a> <a rel="nofollow" href="http://www.mtuser.com/goto/http://www.herongyang.com/jdbc/MySQL-JDBC-Driver-Installation.html" >3</a> <a rel="nofollow" href="http://www.mtuser.com/goto/https://sec1.woopra.com/docs/deployer-howto.html#Deploying%20on%20a%20running%20Tomcat%20server" >4</a> <a rel="nofollow" href="http://www.mtuser.com/goto/http://mail-archives.apache.org/mod_mbox/tomcat-users/200308.mbox/%3C3F40C5A3.7080202@johnturner.com%3E" >5</a> <a rel="nofollow" href="http://www.mtuser.com/goto/http://jforum.net/posts/list/5264.page;jsessionid=58mszsfb0yj" >6</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mtuser.com/ispconfig-jsp-servlet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

