<?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: How to setup Apache Tomcat 5.5 on Debian Etch</title>
	<atom:link href="http://www.debianadmin.com/how-to-setup-apache-tomcat-55-on-debian-etch.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.debianadmin.com/how-to-setup-apache-tomcat-55-on-debian-etch.html</link>
	<description>Debian/Ubuntu Linux System Administration Tutorials,Howtos,Tips</description>
	<lastBuildDate>Thu, 19 Nov 2009 13:24:32 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: John</title>
		<link>http://www.debianadmin.com/how-to-setup-apache-tomcat-55-on-debian-etch.html/comment-page-1#comment-3422</link>
		<dc:creator>John</dc:creator>
		<pubDate>Fri, 24 Jul 2009 20:03:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/how-to-setup-apache-tomcat-55-on-debian-etch.html#comment-3422</guid>
		<description>I just used this tutorial on the fresh installation of Lenny without problems, the only thing was to add:
&lt;code&gt;
grant {
        permission java.security.AllPermission;
};
&lt;/code&gt;
to &quot;/etc/java-6-sun/security/java.policy&quot;

I have no idea whether it&#039;s the right solution, but it works :)

But how is it with some mods etc? Isn&#039;t it better to use apache2 + libapache2-mod-jk instead of the built-in web server in Apache Tomcat?</description>
		<content:encoded><![CDATA[<p>I just used this tutorial on the fresh installation of Lenny without problems, the only thing was to add:<br />
<code><br />
grant {<br />
        permission java.security.AllPermission;<br />
};<br />
</code><br />
to &#8220;/etc/java-6-sun/security/java.policy&#8221;</p>
<p>I have no idea whether it&#8217;s the right solution, but it works <img src='http://www.debianadmin.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>But how is it with some mods etc? Isn&#8217;t it better to use apache2 + libapache2-mod-jk instead of the built-in web server in Apache Tomcat?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: akram</title>
		<link>http://www.debianadmin.com/how-to-setup-apache-tomcat-55-on-debian-etch.html/comment-page-1#comment-3082</link>
		<dc:creator>akram</dc:creator>
		<pubDate>Thu, 28 May 2009 13:51:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/how-to-setup-apache-tomcat-55-on-debian-etch.html#comment-3082</guid>
		<description>you may need #chmod +x -R tomcat5.5/</description>
		<content:encoded><![CDATA[<p>you may need #chmod +x -R tomcat5.5/</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zito</title>
		<link>http://www.debianadmin.com/how-to-setup-apache-tomcat-55-on-debian-etch.html/comment-page-1#comment-2856</link>
		<dc:creator>zito</dc:creator>
		<pubDate>Fri, 01 May 2009 08:12:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/how-to-setup-apache-tomcat-55-on-debian-etch.html#comment-2856</guid>
		<description>hi 

very good, wonderfull, you do help me 


thanks</description>
		<content:encoded><![CDATA[<p>hi </p>
<p>very good, wonderfull, you do help me </p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stacy</title>
		<link>http://www.debianadmin.com/how-to-setup-apache-tomcat-55-on-debian-etch.html/comment-page-1#comment-2489</link>
		<dc:creator>Stacy</dc:creator>
		<pubDate>Fri, 06 Mar 2009 05:00:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/how-to-setup-apache-tomcat-55-on-debian-etch.html#comment-2489</guid>
		<description>Yann,  I had the same problem.  If you look at the catalina log file you see a logging.properties exception when tomcat is trying to load your app.  The fix is described by brndnbg above.</description>
		<content:encoded><![CDATA[<p>Yann,  I had the same problem.  If you look at the catalina log file you see a logging.properties exception when tomcat is trying to load your app.  The fix is described by brndnbg above.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yann</title>
		<link>http://www.debianadmin.com/how-to-setup-apache-tomcat-55-on-debian-etch.html/comment-page-1#comment-2311</link>
		<dc:creator>Yann</dc:creator>
		<pubDate>Thu, 29 Jan 2009 13:40:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/how-to-setup-apache-tomcat-55-on-debian-etch.html#comment-2311</guid>
		<description>Hi,

I just installed tomcat5.5 on debian server 40r6, with:
  aptitude install sun-java5-jre
  aptitude install tomcat5.5 tomcat5.5-admin tomcat5.5-webapps

It is then available from http://localhost:8180/, as well as the Tomcat Manager (http://localhost:8180/manager/html). So far, so good.

Then I create a dummy HTML file I want to see when calling http://localhost:8180/foo.html, I have to put it there:
/usr/share/tomcat5.5-webapps/ROOT/foo.html

If I put a WAR file in this directory, it is automatically expanded:
/var/lib/tomcat5.5/webapps/

BUT the problem is that:
1. it does not show up in the &quot;Tomcat Web Application Manager&quot; page
2. it is not reachable by http://localhost:8180/

If I deploy a WAR using the &quot;Tomcat Web Application Manager&quot;, it is then available in /var/lib/tomcat5.5/webapps, but not shown in the Manager page.

What&#039;s the problem?
It seems I have 2 webapps directories, instead of one.

How can I solve that?

Thanks</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I just installed tomcat5.5 on debian server 40r6, with:<br />
  aptitude install sun-java5-jre<br />
  aptitude install tomcat5.5 tomcat5.5-admin tomcat5.5-webapps</p>
<p>It is then available from <a href="http://localhost:8180/" rel="nofollow">http://localhost:8180/</a>, as well as the Tomcat Manager (<a href="http://localhost:8180/manager/html)" rel="nofollow">http://localhost:8180/manager/html)</a>. So far, so good.</p>
<p>Then I create a dummy HTML file I want to see when calling <a href="http://localhost:8180/foo.html" rel="nofollow">http://localhost:8180/foo.html</a>, I have to put it there:<br />
/usr/share/tomcat5.5-webapps/ROOT/foo.html</p>
<p>If I put a WAR file in this directory, it is automatically expanded:<br />
/var/lib/tomcat5.5/webapps/</p>
<p>BUT the problem is that:<br />
1. it does not show up in the &#8220;Tomcat Web Application Manager&#8221; page<br />
2. it is not reachable by <a href="http://localhost:8180/" rel="nofollow">http://localhost:8180/</a></p>
<p>If I deploy a WAR using the &#8220;Tomcat Web Application Manager&#8221;, it is then available in /var/lib/tomcat5.5/webapps, but not shown in the Manager page.</p>
<p>What&#8217;s the problem?<br />
It seems I have 2 webapps directories, instead of one.</p>
<p>How can I solve that?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kasidit</title>
		<link>http://www.debianadmin.com/how-to-setup-apache-tomcat-55-on-debian-etch.html/comment-page-1#comment-2289</link>
		<dc:creator>Kasidit</dc:creator>
		<pubDate>Mon, 26 Jan 2009 12:13:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/how-to-setup-apache-tomcat-55-on-debian-etch.html#comment-2289</guid>
		<description>Thanks very very much!</description>
		<content:encoded><![CDATA[<p>Thanks very very much!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kees</title>
		<link>http://www.debianadmin.com/how-to-setup-apache-tomcat-55-on-debian-etch.html/comment-page-1#comment-2209</link>
		<dc:creator>Kees</dc:creator>
		<pubDate>Tue, 13 Jan 2009 12:05:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/how-to-setup-apache-tomcat-55-on-debian-etch.html#comment-2209</guid>
		<description>Ps. tomcat had problems with your tomcat-user.xml file. My /var/lib/tomcat5.5/conf/tomcat-users.xml looks like:











User ad can then login to both the admin and the manager part of tomcat.
See http://www.netadmintools.com/art340.html</description>
		<content:encoded><![CDATA[<p>Ps. tomcat had problems with your tomcat-user.xml file. My /var/lib/tomcat5.5/conf/tomcat-users.xml looks like:</p>
<p>User ad can then login to both the admin and the manager part of tomcat.<br />
See <a href="http://www.netadmintools.com/art340.html" rel="nofollow">http://www.netadmintools.com/art340.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thanks</title>
		<link>http://www.debianadmin.com/how-to-setup-apache-tomcat-55-on-debian-etch.html/comment-page-1#comment-1906</link>
		<dc:creator>Thanks</dc:creator>
		<pubDate>Wed, 24 Dec 2008 13:24:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/how-to-setup-apache-tomcat-55-on-debian-etch.html#comment-1906</guid>
		<description>I hava searched for many websites to install the tomcat to my Ubuntu8.04 before I seen your page ,but all fail ! Then I do as your says ,now ,I finally can open the page &quot;http://localhost:8180&quot; ,Thank you very much ! Good luck with you !  The late success is exciting !!!!!!!!</description>
		<content:encoded><![CDATA[<p>I hava searched for many websites to install the tomcat to my Ubuntu8.04 before I seen your page ,but all fail ! Then I do as your says ,now ,I finally can open the page &#8220;http://localhost:8180&#8243; ,Thank you very much ! Good luck with you !  The late success is exciting !!!!!!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pj</title>
		<link>http://www.debianadmin.com/how-to-setup-apache-tomcat-55-on-debian-etch.html/comment-page-1#comment-1905</link>
		<dc:creator>pj</dc:creator>
		<pubDate>Tue, 18 Nov 2008 20:23:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/how-to-setup-apache-tomcat-55-on-debian-etch.html#comment-1905</guid>
		<description>Thanks,

Piece of cake with this HowTo</description>
		<content:encoded><![CDATA[<p>Thanks,</p>
<p>Piece of cake with this HowTo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brndnbg</title>
		<link>http://www.debianadmin.com/how-to-setup-apache-tomcat-55-on-debian-etch.html/comment-page-1#comment-1904</link>
		<dc:creator>brndnbg</dc:creator>
		<pubDate>Tue, 28 Oct 2008 22:06:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/how-to-setup-apache-tomcat-55-on-debian-etch.html#comment-1904</guid>
		<description>seems like the doubled angle brackets where interpreted as comments or something. You have to insert your webapps name between &quot;“/var/lib/tomcat5.5/webapps/&quot; and &quot;/WEB-INF/classes/logging.properties” ;-)</description>
		<content:encoded><![CDATA[<p>seems like the doubled angle brackets where interpreted as comments or something. You have to insert your webapps name between &#8220;“/var/lib/tomcat5.5/webapps/&#8221; and &#8220;/WEB-INF/classes/logging.properties” <img src='http://www.debianadmin.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brndnbg</title>
		<link>http://www.debianadmin.com/how-to-setup-apache-tomcat-55-on-debian-etch.html/comment-page-1#comment-1903</link>
		<dc:creator>brndnbg</dc:creator>
		<pubDate>Tue, 28 Oct 2008 22:04:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/how-to-setup-apache-tomcat-55-on-debian-etch.html#comment-1903</guid>
		<description>I would like to annotate that althoug this solution works to get your admin-page, you will not be able to deploy war-archives to the server. To be able to do that, you will have to modify the file &quot;/etc/tomcat5.5/policy.d/04webapps.policy&quot; and find the following block:

grant codeBase &quot;file:${catalina.home}/bin/tomcat-juli.jar&quot; {
    //some permissions here
[...]

};

then you add the followin line to the other permissions in the block and fill in your webapps name:

permission java.io.FilePermission &quot;/var/lib/tomcat5.5/webapps/&lt;&gt;/WEB-INF/classes/logging.properties&quot;, &quot;read&quot;;


This is a nasty task and took me quite a few hours on &quot;grepping&quot; through logfiles and googling. It should be done automatically by tomcat. Has anyone a better solution? I&#039;m still a novice in this J2EE thing.

Greets.</description>
		<content:encoded><![CDATA[<p>I would like to annotate that althoug this solution works to get your admin-page, you will not be able to deploy war-archives to the server. To be able to do that, you will have to modify the file &#8220;/etc/tomcat5.5/policy.d/04webapps.policy&#8221; and find the following block:</p>
<p>grant codeBase &#8220;file:${catalina.home}/bin/tomcat-juli.jar&#8221; {<br />
    //some permissions here<br />
[...]</p>
<p>};</p>
<p>then you add the followin line to the other permissions in the block and fill in your webapps name:</p>
<p>permission java.io.FilePermission &#8220;/var/lib/tomcat5.5/webapps/&lt;&gt;/WEB-INF/classes/logging.properties&#8221;, &#8220;read&#8221;;</p>
<p>This is a nasty task and took me quite a few hours on &#8220;grepping&#8221; through logfiles and googling. It should be done automatically by tomcat. Has anyone a better solution? I&#8217;m still a novice in this J2EE thing.</p>
<p>Greets.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ann</title>
		<link>http://www.debianadmin.com/how-to-setup-apache-tomcat-55-on-debian-etch.html/comment-page-1#comment-1902</link>
		<dc:creator>Ann</dc:creator>
		<pubDate>Fri, 17 Oct 2008 23:32:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/how-to-setup-apache-tomcat-55-on-debian-etch.html#comment-1902</guid>
		<description>Thank you for making it SUPER easy to set up my Linux server!
This page alone saved me heaps of headaches</description>
		<content:encoded><![CDATA[<p>Thank you for making it SUPER easy to set up my Linux server!<br />
This page alone saved me heaps of headaches</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Miguel</title>
		<link>http://www.debianadmin.com/how-to-setup-apache-tomcat-55-on-debian-etch.html/comment-page-1#comment-1901</link>
		<dc:creator>Miguel</dc:creator>
		<pubDate>Sun, 21 Sep 2008 20:20:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/how-to-setup-apache-tomcat-55-on-debian-etch.html#comment-1901</guid>
		<description>Great job. It worked.

Thanx.</description>
		<content:encoded><![CDATA[<p>Great job. It worked.</p>
<p>Thanx.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yong</title>
		<link>http://www.debianadmin.com/how-to-setup-apache-tomcat-55-on-debian-etch.html/comment-page-1#comment-1900</link>
		<dc:creator>Yong</dc:creator>
		<pubDate>Thu, 17 Jan 2008 16:30:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/how-to-setup-apache-tomcat-55-on-debian-etch.html#comment-1900</guid>
		<description>I followded those instructions and was able to run tomcat admin/manager (great!!!).
But when I deployed my web app, the app failed to start. The only error I can see in catalina.log is:
SEVERE: Error listenerStart

How can I get more details about what causes the failure???

Thanks!

-Yong</description>
		<content:encoded><![CDATA[<p>I followded those instructions and was able to run tomcat admin/manager (great!!!).<br />
But when I deployed my web app, the app failed to start. The only error I can see in catalina.log is:<br />
SEVERE: Error listenerStart</p>
<p>How can I get more details about what causes the failure???</p>
<p>Thanks!</p>
<p>-Yong</p>
]]></content:encoded>
	</item>
</channel>
</rss>
