[Bug 440685] [NEW] "-enableassertions -server" not working with tomcat 5.5.26 in Ubuntu 9.04

Launchpad Bug Tracker 440685 at bugs.launchpad.net
Mon Nov 9 13:17:04 GMT 2009


You have been subscribed to a public bug:

Binary package hint: tomcat5.5

I put that in /etc/default/tomcat5.5:

JAVA_OPTS="-Xmx1024m -enableassertions -server -XX:MaxPermSize=512m
-XX:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled
-Djava.awt.headless=true"

But I got this message:

Invalid option -enableassertions

Then I move to:

JAVA_OPTS="-Xmx1024m -ea -server -XX:MaxPermSize=512m
-XX:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled
-Djava.awt.headless=true"

and I got:

Invalid option -server

Then, if I remove '-server':

JAVA_OPTS="-Xmx1024m -ea -server -XX:MaxPermSize=512m
-XX:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled
-Djava.awt.headless=true"

tomcat finally start.

But why that? and how can I be sure that tomcat is running with
assertions and server enabled?

ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
ExecutablePath: /usr/bin/jsvc
Package: jsvc 1.0.2~svn20061127-9ubuntu2
ProcAttrCurrent: unconfined
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: commons-daemon
Uname: Linux 2.6.28-15-generic x86_64

** Affects: tomcat6 (Ubuntu)
     Importance: Wishlist
         Status: Triaged


** Tags: amd64 apport-bug
-- 
"-enableassertions -server" not working with tomcat 5.5.26 in Ubuntu 9.04
https://bugs.launchpad.net/bugs/440685
You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to tomcat6 in ubuntu.



More information about the Ubuntu-server-bugs mailing list