<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Installing Tomcat 6 on Ubuntu</title>
	<atom:link href="http://www.howtogeek.com/howto/linux/installing-tomcat-6-on-ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.howtogeek.com/howto/linux/installing-tomcat-6-on-ubuntu/</link>
	<description>Computer Help from your Friendly How-To Geek</description>
	<lastBuildDate>Mon, 23 Nov 2009 03:04:03 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: vikitor</title>
		<link>http://www.howtogeek.com/howto/linux/installing-tomcat-6-on-ubuntu/comment-page-2/#comment-78083</link>
		<dc:creator>vikitor</dc:creator>
		<pubDate>Wed, 21 Oct 2009 10:26:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.howtogeek.com/howto/linux/installing-tomcat-6-on-ubuntu/#comment-78083</guid>
		<description>Thank you very much!, This how to has proven to be extremely useful.</description>
		<content:encoded><![CDATA[<p>Thank you very much!, This how to has proven to be extremely useful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tudor</title>
		<link>http://www.howtogeek.com/howto/linux/installing-tomcat-6-on-ubuntu/comment-page-2/#comment-77513</link>
		<dc:creator>Tudor</dc:creator>
		<pubDate>Mon, 05 Oct 2009 14:48:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.howtogeek.com/howto/linux/installing-tomcat-6-on-ubuntu/#comment-77513</guid>
		<description>Isn&#039;t Tomcat in the repositories? I&#039;m using Jaunty and a simple &lt;strong&gt;sudo-apt get install tomcat6&lt;/strong&gt; did the job for me!</description>
		<content:encoded><![CDATA[<p>Isn&#8217;t Tomcat in the repositories? I&#8217;m using Jaunty and a simple <strong>sudo-apt get install tomcat6</strong> did the job for me!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bilal</title>
		<link>http://www.howtogeek.com/howto/linux/installing-tomcat-6-on-ubuntu/comment-page-2/#comment-74689</link>
		<dc:creator>bilal</dc:creator>
		<pubDate>Sun, 26 Jul 2009 14:41:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.howtogeek.com/howto/linux/installing-tomcat-6-on-ubuntu/#comment-74689</guid>
		<description>great work......its really helpful</description>
		<content:encoded><![CDATA[<p>great work&#8230;&#8230;its really helpful</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alberto</title>
		<link>http://www.howtogeek.com/howto/linux/installing-tomcat-6-on-ubuntu/comment-page-2/#comment-73774</link>
		<dc:creator>Alberto</dc:creator>
		<pubDate>Sat, 27 Jun 2009 18:16:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.howtogeek.com/howto/linux/installing-tomcat-6-on-ubuntu/#comment-73774</guid>
		<description>It took me forever to find the answer to fix autostart on ubuntu 9.04.

Here it is:

1. First remove old symlinks with sudo update-rc.d -f tomcat remove

2. Execute the follwoing: sudo update-rc.d tomcat start 99 2 3 4 5 S . stop 0 1 6 .

Credit goes to dumb.coder at http://ubuntuforums.org/showthread.php?t=1188880&amp;highlight=tomcat+autostart</description>
		<content:encoded><![CDATA[<p>It took me forever to find the answer to fix autostart on ubuntu 9.04.</p>
<p>Here it is:</p>
<p>1. First remove old symlinks with sudo update-rc.d -f tomcat remove</p>
<p>2. Execute the follwoing: sudo update-rc.d tomcat start 99 2 3 4 5 S . stop 0 1 6 .</p>
<p>Credit goes to dumb.coder at <a href="http://ubuntuforums.org/showthread.php?t=1188880&amp;highlight=tomcat+autostart" rel="nofollow">http://ubuntuforums.org/showth.....+autostart</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tevang</title>
		<link>http://www.howtogeek.com/howto/linux/installing-tomcat-6-on-ubuntu/comment-page-2/#comment-72357</link>
		<dc:creator>tevang</dc:creator>
		<pubDate>Sat, 23 May 2009 20:42:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.howtogeek.com/howto/linux/installing-tomcat-6-on-ubuntu/#comment-72357</guid>
		<description>Whoever is using Netbeans IDE on Ubuntu, don&#039;t try to install Tomcat6 that comes with Netbeans distribution! This is the right way to install Apache-tomcat6. Thanks to the author!</description>
		<content:encoded><![CDATA[<p>Whoever is using Netbeans IDE on Ubuntu, don&#8217;t try to install Tomcat6 that comes with Netbeans distribution! This is the right way to install Apache-tomcat6. Thanks to the author!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bucky24</title>
		<link>http://www.howtogeek.com/howto/linux/installing-tomcat-6-on-ubuntu/comment-page-2/#comment-70086</link>
		<dc:creator>Bucky24</dc:creator>
		<pubDate>Fri, 10 Apr 2009 01:12:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.howtogeek.com/howto/linux/installing-tomcat-6-on-ubuntu/#comment-70086</guid>
		<description>Oh well, I can&#039;t get it post the tags...

http://www.netadmintools.com/art340.html

Here is the site I found that gave the correct usages.</description>
		<content:encoded><![CDATA[<p>Oh well, I can&#8217;t get it post the tags&#8230;</p>
<p><a href="http://www.netadmintools.com/art340.html" rel="nofollow">http://www.netadmintools.com/art340.html</a></p>
<p>Here is the site I found that gave the correct usages.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bucky24</title>
		<link>http://www.howtogeek.com/howto/linux/installing-tomcat-6-on-ubuntu/comment-page-2/#comment-70085</link>
		<dc:creator>Bucky24</dc:creator>
		<pubDate>Fri, 10 Apr 2009 01:11:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.howtogeek.com/howto/linux/installing-tomcat-6-on-ubuntu/#comment-70085</guid>
		<description>it left out the xml tags....



  
  
  
</description>
		<content:encoded><![CDATA[<p>it left out the xml tags&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bucky24</title>
		<link>http://www.howtogeek.com/howto/linux/installing-tomcat-6-on-ubuntu/comment-page-2/#comment-70084</link>
		<dc:creator>Bucky24</dc:creator>
		<pubDate>Fri, 10 Apr 2009 01:10:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.howtogeek.com/howto/linux/installing-tomcat-6-on-ubuntu/#comment-70084</guid>
		<description>I am not sure if this has been covered in an earlier post, but the way given to set up the tomcat-users.xml file did not work for me.

This did, however:



  
  
  


The role tags were added automatically when I restarted the server, but I don&#039;t know if this will happen for everyone, so I am leaving them in.

-Bucky24</description>
		<content:encoded><![CDATA[<p>I am not sure if this has been covered in an earlier post, but the way given to set up the tomcat-users.xml file did not work for me.</p>
<p>This did, however:</p>
<p>The role tags were added automatically when I restarted the server, but I don&#8217;t know if this will happen for everyone, so I am leaving them in.</p>
<p>-Bucky24</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kinglok</title>
		<link>http://www.howtogeek.com/howto/linux/installing-tomcat-6-on-ubuntu/comment-page-2/#comment-69771</link>
		<dc:creator>kinglok</dc:creator>
		<pubDate>Sat, 04 Apr 2009 06:10:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.howtogeek.com/howto/linux/installing-tomcat-6-on-ubuntu/#comment-69771</guid>
		<description>I can&#039;t agree olaf no more.  He really saves my life in starting up tomcat as unprivileged user.

What&#039;s more I start up tomcat by using djb daemontools, here comes the commands and scripts:

useradd tomcat -g nogroup -d /java/tomcat6/ -s /bin/false -p&#039;*&#039; -r
useradd tomcatlog -g nogroup -d /tmp -s /bin/false -p&#039;*&#039; -r

cd /java/tomcat
chown -R tomcat webapps temp logs work conf

mkdir -p /var/service/
cd /var/service/
mkdir -m 1755 tomcat
cd tomcat
vim run

---------------------------------------------
#!/bin/sh
exec 2&gt;&amp;1
export JAVA_HOME=/usr/lib/jvm/java-6-sun
export JAVA_OPTS=&quot;-Xmx1024M -Xms256M -server&quot;
export TOMCAT_HOME=/java/tomcat6
echo &quot;*** Starting tomcat...&quot;
exec setuidgid tomcat ${TOMCAT_HOME}/bin/catalina.sh run
-----------------------------------------------

chmod 755 run
mkdir -m 755 log
chown tomcatlog:nogroup log
cd log
wget -O run http://qmail.jms1.net/scripts/service-any-log-run
vim run
--------------------------------------------
VQ=&quot;/var/qmail&quot;

exec env - PATH=&quot;$VQ/bin:/usr/local/bin:/usr/bin:/bin&quot; \
  setuidgid tomcatlog multilog t n1024 s1048576 ./main \
    &#039;-*&#039; &#039;+*ver: status:*&#039; =lstatus
------------------------------------------------
chmod 755 run

/etc/init.d/tomcat stop

ln -s /var/service/tomcat /service/tomcat
sleep 5
svstat /service/tomcat/ /service/tomcat/log/</description>
		<content:encoded><![CDATA[<p>I can&#8217;t agree olaf no more.  He really saves my life in starting up tomcat as unprivileged user.</p>
<p>What&#8217;s more I start up tomcat by using djb daemontools, here comes the commands and scripts:</p>
<p>useradd tomcat -g nogroup -d /java/tomcat6/ -s /bin/false -p&#8217;*&#8217; -r<br />
useradd tomcatlog -g nogroup -d /tmp -s /bin/false -p&#8217;*&#8217; -r</p>
<p>cd /java/tomcat<br />
chown -R tomcat webapps temp logs work conf</p>
<p>mkdir -p /var/service/<br />
cd /var/service/<br />
mkdir -m 1755 tomcat<br />
cd tomcat<br />
vim run</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
#!/bin/sh<br />
exec 2&gt;&amp;1<br />
export JAVA_HOME=/usr/lib/jvm/java-6-sun<br />
export JAVA_OPTS=&#8221;-Xmx1024M -Xms256M -server&#8221;<br />
export TOMCAT_HOME=/java/tomcat6<br />
echo &#8220;*** Starting tomcat&#8230;&#8221;<br />
exec setuidgid tomcat ${TOMCAT_HOME}/bin/catalina.sh run<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>chmod 755 run<br />
mkdir -m 755 log<br />
chown tomcatlog:nogroup log<br />
cd log<br />
wget -O run <a href="http://qmail.jms1.net/scripts/service-any-log-run" rel="nofollow">http://qmail.jms1.net/scripts/service-any-log-run</a><br />
vim run<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
VQ=&#8221;/var/qmail&#8221;</p>
<p>exec env &#8211; PATH=&#8221;$VQ/bin:/usr/local/bin:/usr/bin:/bin&#8221; \<br />
  setuidgid tomcatlog multilog t n1024 s1048576 ./main \<br />
    &#8216;-*&#8217; &#8216;+*ver: status:*&#8217; =lstatus<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
chmod 755 run</p>
<p>/etc/init.d/tomcat stop</p>
<p>ln -s /var/service/tomcat /service/tomcat<br />
sleep 5<br />
svstat /service/tomcat/ /service/tomcat/log/</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: marius</title>
		<link>http://www.howtogeek.com/howto/linux/installing-tomcat-6-on-ubuntu/comment-page-2/#comment-69762</link>
		<dc:creator>marius</dc:creator>
		<pubDate>Fri, 03 Apr 2009 23:53:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.howtogeek.com/howto/linux/installing-tomcat-6-on-ubuntu/#comment-69762</guid>
		<description>Do you know if runlevels have changed in Jaunty? I cannot get the script to start automatically, even though it&#039;s been working fine in previous versions. It starts fine in a terminal, just not on computer startup.</description>
		<content:encoded><![CDATA[<p>Do you know if runlevels have changed in Jaunty? I cannot get the script to start automatically, even though it&#8217;s been working fine in previous versions. It starts fine in a terminal, just not on computer startup.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
