On Friday 08 June 2007 15:16, Leonel wrote: > On 6/7/07, Will Parkinson <[EMAIL PROTECTED]> wrote: > > Hi All, > > > > I am having a few problems with tomcat 5.5 on ubuntu feisty > > > > When i start the tomcat service, its outputs that its started ok, but > > when i view the status (/etc/init.d/tomcat5.5 status) it says the service > > is not running. > > > > This is in the /var/log/tomcat5.5/catalina.out logfile > > > > libgcj: unknown option: -Xmx128M > > 08/06/2007 14:04:55 5890 jsvc.exec error: Cannot create Java VM > > 08/06/2007 14:04:55 5889 jsvc.exec error: Service exit with a return > > value of 1 > > > > > > Does anybody know how to fix this problem? Or does anybody know where to > > find the libgcj file so i can fix it myself? > > > > Cheers > > > > Will > > enable multiverse and install sun-java6-jdk
Where did you place these options? and did you set it in JAVA_OPTS or CATALINA_OPTS? Here is my line which works fine: /etc/default/tomcat/tomcat-5.5 JAVA_OPTS="-Xmx4g -Xms2g -XX:NewSize=1g -XX:MaxPermSize=512m -XX:SurvivorRatio=4 -XX: +UseParallelGC -XX:+AggressiveHeap -Djava.awt.headless=true" Kind regards Matthew --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]