Tomcat Issue on Upgrade to Ubuntu 10.04

Need help? Post your questions here.

Moderator: moderators

Tomcat Issue on Upgrade to Ubuntu 10.04

Postby jeremyh » Fri Apr 30, 2010 9:40 pm

We has a single minor issue upgrading to Ubuntu 10.04 (Lucid Lynx) that I thought I would share to save someone else some time:

Because we had altered /etc/init.d/tomcat6 previously, the upgrade tool did not replace it, instead it created a /etc/init.d/tomcat6.dpkg-install side by side to the old script. They made a change to the script which prevented the updated version of tomcat6 from running under the old script. I renamed "tomcat6" to "tomcat6.old" and then moved the new script into "tomcat6".

I made 1 change to the new tomcat6 script for the maximum memory allowed under tomcat for the heap by replacing:
JAVA_OPTS="-Djava.awt.headless-true -Xmx128M"
with:
JAVA_OPTS="-Djava.awt.headless-true -Xmx1024M"

NOTE: They had already turned off TOMCAT6_SECURITY in this release which previously had caused problems, so no changes to that was necessary this time around.

After that change, tomcat started fine and subsonic 4.0 beta 1 runs great under it.
jeremyh
 
Posts: 49
Joined: Thu Feb 05, 2009 12:01 am
Location: Westminster, Colorado, United States

Return to Help

Who is online

Users browsing this forum: No registered users and 32 guests