<?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/"
		xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
	>
<channel>
	<title>Comments on: A Better Tomcat for Ubuntu and Debian</title>
	<atom:link href="http://blogs.mulesoft.org/a-better-tomcat-for-ubuntu-and-debian/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.mulesoft.org/a-better-tomcat-for-ubuntu-and-debian/</link>
	<description>Musings from the MuleSoft Experts</description>
	<lastBuildDate>Fri, 10 Feb 2012 07:22:16 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Java Applications on Privileged Ports &#124; Stefan Reuter</title>
		<link>http://blogs.mulesoft.org/a-better-tomcat-for-ubuntu-and-debian/comment-page-1/#comment-9140</link>
		<dc:creator>Java Applications on Privileged Ports &#124; Stefan Reuter</dc:creator>
		<pubDate>Tue, 10 Jan 2012 12:12:48 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mulesoft.org/?p=1816#comment-9140</guid>
		<description>[...] approach works with any Java application and is not limited to ApacheDS. Have a look at A Better Tomcat for Ubuntu and Debian by MuleSource to see how they are using authbind without Java Service Wrapper to make Tomcat run on [...]</description>
		<content:encoded><![CDATA[<p>[...] approach works with any Java application and is not limited to ApacheDS. Have a look at A Better Tomcat for Ubuntu and Debian by MuleSource to see how they are using authbind without Java Service Wrapper to make Tomcat run on [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Corné</title>
		<link>http://blogs.mulesoft.org/a-better-tomcat-for-ubuntu-and-debian/comment-page-1/#comment-6991</link>
		<dc:creator>Corné</dc:creator>
		<pubDate>Wed, 09 Mar 2011 10:36:40 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mulesoft.org/?p=1816#comment-6991</guid>
		<description>Hi Jason,

First of all, thanks for improving the Tomcat 6 startup and shutdown. I&#039;m glad JSVC is no longer used and shutdowns are safe and solid.

However, I&#039;m wondering if and when there will be an update of the tomcat6 package for Ubuntu 10.4 Lucid Lynx (LTS)?
The problem is that 6.0.24 contains a critical bug causing a JVM deadlock (https://issues.apache.org/bugzilla/show_bug.cgi?id=48694). So it&#039;s truly important to upgrade to 6.0.27 or higher (6.0.32 is already the latest version).

Another, more general question, that I maybe should ask elsewhere: what if a new tomcat6 Ubuntu package is not released into the repository (soon enough)? Is there a way to upgrade the apt installation with the Apache Tomcat binary release manually, or even better, can I create an tomcat6 apt package myself?

I hope to hear from you soon.

Regards,
Corné</description>
		<content:encoded><![CDATA[<p>Hi Jason,</p>
<p>First of all, thanks for improving the Tomcat 6 startup and shutdown. I&#8217;m glad JSVC is no longer used and shutdowns are safe and solid.</p>
<p>However, I&#8217;m wondering if and when there will be an update of the tomcat6 package for Ubuntu 10.4 Lucid Lynx (LTS)?<br />
The problem is that 6.0.24 contains a critical bug causing a JVM deadlock (<a href="https://issues.apache.org/bugzilla/show_bug.cgi?id=48694" rel="nofollow">https://issues.apache.org/bugzilla/show_bug.cgi?id=48694</a>). So it&#8217;s truly important to upgrade to 6.0.27 or higher (6.0.32 is already the latest version).</p>
<p>Another, more general question, that I maybe should ask elsewhere: what if a new tomcat6 Ubuntu package is not released into the repository (soon enough)? Is there a way to upgrade the apt installation with the Apache Tomcat binary release manually, or even better, can I create an tomcat6 apt package myself?</p>
<p>I hope to hear from you soon.</p>
<p>Regards,<br />
Corné</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Casey Watson</title>
		<link>http://blogs.mulesoft.org/a-better-tomcat-for-ubuntu-and-debian/comment-page-1/#comment-6986</link>
		<dc:creator>Casey Watson</dc:creator>
		<pubDate>Mon, 07 Mar 2011 19:18:44 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mulesoft.org/?p=1816#comment-6986</guid>
		<description>There is a lot of bad advice out there. What you mentioned in the article is a much better solution.

Editing /etc/default/tomcat6

AUTHBIND=yes</description>
		<content:encoded><![CDATA[<p>There is a lot of bad advice out there. What you mentioned in the article is a much better solution.</p>
<p>Editing /etc/default/tomcat6</p>
<p>AUTHBIND=yes</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rodrigo</title>
		<link>http://blogs.mulesoft.org/a-better-tomcat-for-ubuntu-and-debian/comment-page-1/#comment-6958</link>
		<dc:creator>Rodrigo</dc:creator>
		<pubDate>Wed, 02 Mar 2011 12:26:25 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mulesoft.org/?p=1816#comment-6958</guid>
		<description>Hello Jason, I&#039;m having trouble with my installation. I&#039;m using the authbind and everything. But I cant override the Xxmx128m vm argument with my own. I tried modifying the /etc/init.d/tomcat6 script, the setenv.sh, and the defaults.template with my own Xmx750m but I got no result.

This is how my tomcat is running. 

tomcat6   7788  4.1 21.7 759436 182340 ?       Sl   Mar01   0:30 /usr/lib/jvm/java-6-openjdk/bin/java -Djava.util.logging.config.file=/var/lib/tomcat6/conf/logging.properties -Djava.awt.headless=true -Xmx128m -XX:+UseConcMarkSweepGC -Djava.net.preferIPv4Stack=true -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=/usr/share/tomcat6/endorsed -classpath /usr/share/tomcat6/bin/bootstrap.jar -Dcatalina.base=/var/lib/tomcat6 -Dcatalina.home=/usr/share/tomcat6 -Djava.io.tmpdir=/tmp/tomcat6-tmp org.apache.catalina.startup.Bootstrap start
root     19026  0.0  0.0   6020   664 pts/1    S+   00:06   0:00 grep java

Thanks.

ps. When you think tomcat 7 debian can be ready ?

thanks for all your work.
Rodrigo</description>
		<content:encoded><![CDATA[<p>Hello Jason, I&#8217;m having trouble with my installation. I&#8217;m using the authbind and everything. But I cant override the Xxmx128m vm argument with my own. I tried modifying the /etc/init.d/tomcat6 script, the setenv.sh, and the defaults.template with my own Xmx750m but I got no result.</p>
<p>This is how my tomcat is running. </p>
<p>tomcat6   7788  4.1 21.7 759436 182340 ?       Sl   Mar01   0:30 /usr/lib/jvm/java-6-openjdk/bin/java -Djava.util.logging.config.file=/var/lib/tomcat6/conf/logging.properties -Djava.awt.headless=true -Xmx128m -XX:+UseConcMarkSweepGC -Djava.net.preferIPv4Stack=true -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=/usr/share/tomcat6/endorsed -classpath /usr/share/tomcat6/bin/bootstrap.jar -Dcatalina.base=/var/lib/tomcat6 -Dcatalina.home=/usr/share/tomcat6 -Djava.io.tmpdir=/tmp/tomcat6-tmp org.apache.catalina.startup.Bootstrap start<br />
root     19026  0.0  0.0   6020   664 pts/1    S+   00:06   0:00 grep java</p>
<p>Thanks.</p>
<p>ps. When you think tomcat 7 debian can be ready ?</p>
<p>thanks for all your work.<br />
Rodrigo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Topher LaFata</title>
		<link>http://blogs.mulesoft.org/a-better-tomcat-for-ubuntu-and-debian/comment-page-1/#comment-4921</link>
		<dc:creator>Topher LaFata</dc:creator>
		<pubDate>Fri, 23 Jul 2010 22:29:31 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mulesoft.org/?p=1816#comment-4921</guid>
		<description>A note. Hopefully this makes it into some documentation somewhere.

If using authbind with tomcat6 and apr connectorsto run on ports below 1024 -Djava.net.preferIPv4Stack=true wont affect the apr stuff. Since authbind will not work with IPv6 it will seem like authbind is not working with tomcat even though you have it configured correctly.

You have to either compile apr without IPv6 support ( the apt-get libtcnative-1 has it enabled by default)

or disable IPv6 system wide by adding :

net.ipv6.conf.all.disable_ipv6=1

to /etc/sysctl.conf

This drove me crazy for a while.</description>
		<content:encoded><![CDATA[<p>A note. Hopefully this makes it into some documentation somewhere.</p>
<p>If using authbind with tomcat6 and apr connectorsto run on ports below 1024 -Djava.net.preferIPv4Stack=true wont affect the apr stuff. Since authbind will not work with IPv6 it will seem like authbind is not working with tomcat even though you have it configured correctly.</p>
<p>You have to either compile apr without IPv6 support ( the apt-get libtcnative-1 has it enabled by default)</p>
<p>or disable IPv6 system wide by adding :</p>
<p>net.ipv6.conf.all.disable_ipv6=1</p>
<p>to /etc/sysctl.conf</p>
<p>This drove me crazy for a while.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bobmanc</title>
		<link>http://blogs.mulesoft.org/a-better-tomcat-for-ubuntu-and-debian/comment-page-1/#comment-4783</link>
		<dc:creator>bobmanc</dc:creator>
		<pubDate>Tue, 29 Jun 2010 21:15:34 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mulesoft.org/?p=1816#comment-4783</guid>
		<description>SOLVED: Turns out the issue was with Struts2 feeding fileupload a bad directory. If tomcat was root it worked anyway. Not sure how it worked in Karmic.</description>
		<content:encoded><![CDATA[<p>SOLVED: Turns out the issue was with Struts2 feeding fileupload a bad directory. If tomcat was root it worked anyway. Not sure how it worked in Karmic.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bobmanc</title>
		<link>http://blogs.mulesoft.org/a-better-tomcat-for-ubuntu-and-debian/comment-page-1/#comment-4737</link>
		<dc:creator>bobmanc</dc:creator>
		<pubDate>Wed, 16 Jun 2010 18:59:00 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mulesoft.org/?p=1816#comment-4737</guid>
		<description>Thanks for this Jason. I just updated from karmic to lucid and everything seems to work the same except for one thing. when I try to upload a file using common fileupload I now see an error.

ERROR : Jun 16, 2010 14:53:16 [CommonsLogger.java:27] : Unable to parse request
org.apache.commons.fileupload.FileUploadException: Processing of multipart/form-data request failed. javax.servlet.context.tempdir/upload_2bd97087_129421bad1c__8000_00000000.tmp (No such file or directory)

the javax.servlet.context.tempdir points to /var/lib/tomcat6/work/Catalina/localhost/myapp which exists and to test I was able to create a new file there in my code.

This wan&#039;t happening with the karmic build of tomcat. as far as I know everything else is the same. Any insight on this would be greatly appreciated.</description>
		<content:encoded><![CDATA[<p>Thanks for this Jason. I just updated from karmic to lucid and everything seems to work the same except for one thing. when I try to upload a file using common fileupload I now see an error.</p>
<p>ERROR : Jun 16, 2010 14:53:16 [CommonsLogger.java:27] : Unable to parse request<br />
org.apache.commons.fileupload.FileUploadException: Processing of multipart/form-data request failed. javax.servlet.context.tempdir/upload_2bd97087_129421bad1c__8000_00000000.tmp (No such file or directory)</p>
<p>the javax.servlet.context.tempdir points to /var/lib/tomcat6/work/Catalina/localhost/myapp which exists and to test I was able to create a new file there in my code.</p>
<p>This wan&#8217;t happening with the karmic build of tomcat. as far as I know everything else is the same. Any insight on this would be greatly appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: veghead</title>
		<link>http://blogs.mulesoft.org/a-better-tomcat-for-ubuntu-and-debian/comment-page-1/#comment-4686</link>
		<dc:creator>veghead</dc:creator>
		<pubDate>Wed, 26 May 2010 15:22:14 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mulesoft.org/?p=1816#comment-4686</guid>
		<description>Could you post a link to the init script itself? Those of us running other Linux distros would be very interested in seeing your implementation...</description>
		<content:encoded><![CDATA[<p>Could you post a link to the init script itself? Those of us running other Linux distros would be very interested in seeing your implementation&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason Brittain</title>
		<link>http://blogs.mulesoft.org/a-better-tomcat-for-ubuntu-and-debian/comment-page-1/#comment-4657</link>
		<dc:creator>Jason Brittain</dc:creator>
		<pubDate>Sun, 16 May 2010 01:31:20 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mulesoft.org/?p=1816#comment-4657</guid>
		<description>@Terry: You&#039;re right that if you&#039;re going to be writing that much data to the logs you need to have something configured to rotate your logs.  I think very few people would run into that problem because catalina.out doesn&#039;t normally grow very fast -- it would usually take on the order of a year or longer for the log to get that big.  I don&#039;t see any bug filed about this on the tomcat6 package:

http://bugs.debian.org/cgi-bin/pkgreport.cgi?package=tomcat6

Also, I think that for those who really do want their Tomcat log messages mixed in with their system logs, there should be an easy configuration way to send the log messages to syslog instead.. though I don&#039;t think that&#039;s the best solution for simply rotating Tomcat&#039;s own logs -- I like using logrotate for that.</description>
		<content:encoded><![CDATA[<p>@Terry: You&#8217;re right that if you&#8217;re going to be writing that much data to the logs you need to have something configured to rotate your logs.  I think very few people would run into that problem because catalina.out doesn&#8217;t normally grow very fast &#8212; it would usually take on the order of a year or longer for the log to get that big.  I don&#8217;t see any bug filed about this on the tomcat6 package:</p>
<p><a href="http://bugs.debian.org/cgi-bin/pkgreport.cgi?package=tomcat6" rel="nofollow">http://bugs.debian.org/cgi-bin/pkgreport.cgi?package=tomcat6</a></p>
<p>Also, I think that for those who really do want their Tomcat log messages mixed in with their system logs, there should be an easy configuration way to send the log messages to syslog instead.. though I don&#8217;t think that&#8217;s the best solution for simply rotating Tomcat&#8217;s own logs &#8212; I like using logrotate for that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Terry</title>
		<link>http://blogs.mulesoft.org/a-better-tomcat-for-ubuntu-and-debian/comment-page-1/#comment-4629</link>
		<dc:creator>Terry</dc:creator>
		<pubDate>Thu, 13 May 2010 14:45:16 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mulesoft.org/?p=1816#comment-4629</guid>
		<description>Hi, Looking at the out-of-the-box debian config for tomcat6 in squeeze - catalina.out never gets rotated, and tomcat crashes on the 2gig file limit. is this really better than the previous logrotate methods?

Its like we are going backwards with out of the box logging and tomcat.</description>
		<content:encoded><![CDATA[<p>Hi, Looking at the out-of-the-box debian config for tomcat6 in squeeze &#8211; catalina.out never gets rotated, and tomcat crashes on the 2gig file limit. is this really better than the previous logrotate methods?</p>
<p>Its like we are going backwards with out of the box logging and tomcat.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

