tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Davidson <bill...@gmail.com>
Subject "-d64" disappears from command line in "ps" output?
Date Wed, 10 Aug 2011 20:59:38 GMT
RedHat 5.6 64-bit
"java -version" output:
     java version "1.6.0_20"
     Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
     Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode)
Tomcat: 6.0.26

The "-d64" option seems to be removed from the "ps" command line arguments:

I added a "set -x" to $CATALINA_HOME/bin/catalina.sh so that I could see 
the actual java invocation:

+ /path/to/jdk1.6.0_20/bin/java 
-Djava.util.logging.config.file=/path/to/logging.properties -d64 
-Xms3072m -Xmx3072m (...various app specific -D options...) 
-Djava.awt.headless=true 
-Dorg.xml.sax.driver=org.apache.xerces.parsers.SAXParser 
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager 
-Djava.endorsed.dirs=/path/to/apache-tomcat-6.0.26/endorsed -classpath 
/path/to/apache-tomcat-6.0.26/bin/bootstrap.jar 
-Dcatalina.base=/path/to/tomcat 
-Dcatalina.home=/path/to/apache-tomcat-6.0.26 
-Djava.io.tmpdir=/path/to/tomcat/temp 
org.apache.catalina.startup.Bootstrap start

When I do a "ps aux" I see this:

/path/to/jdk1.6.0_20/bin/java 
-Djava.util.logging.config.file=/path/to/logging.properties -Xms3072m 
-Xmx3072m (...various app specific -D options...) 
-Djava.awt.headless=true 
-Dorg.xml.sax.driver=org.apache.xerces.parsers.SAXParser 
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager 
-Djava.endorsed.dirs=/path/to/apache-tomcat-6.0.26/endorsed -classpath 
/path/to/apache-tomcat-6.0.26/bin/bootstrap.jar 
-Dcatalina.base=/path/to/tomcat 
-Dcatalina.home=/path/to/apache-tomcat-6.0.26 
-Djava.io.tmpdir=/path/to/tomcat/temp 
org.apache.catalina.startup.Bootstrap start

Where did the "-d64" option go?

I'm pretty sure that this is OK and that the JVM just modified its 
argument line
while using the 64 bit memory model but it still makes me slightly nervous.




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message