Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>This is how the Tomcat daemon process looks:</p> <pre> root 2605 0.0 0.0 16584 376 ? Ss 15:39 0:00 /usr/bin/jsvc -user tomcat6 -cp /usr/share/java/commons-daemon.jar:/usr/share/tomcat6/bin/bootstrap.jar -outfile SYSLOG -errfile SYSLOG -pidfile /var/run/tomcat6.pid -Djava.awt.headless=true -Xmx128M -Djava.endorsed.dirs=/usr/share/tomcat6/endorsed -Dcatalina.base=/var/lib/tomcat6 -Dcatalina.home=/usr/share/tomcat6 -Djava.io.tmpdir=/tmp/tomcat6-temp -Djava.security.manager -Djava.security.policy=/var/lib/tomcat6/work/catalina.policy -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/var/lib/tomcat6/conf/logging.properties org.apache.catalina.startup.Bootstrap </pre> <p>This is how the Tomcat process looks when run from within Eclipse using the Sysdeo Tomcat launcher plugin:<br> (this one actually works)</p> <pre> jzaruba 2655 19.7 4.5 358304 46152 ? Sl 15:43 0:01 /usr/lib/jvm/java-6-sun-1.6.0.15/bin/java -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:37377 -Dcatalina.home=/usr/share/tomcat6 -Djava.endorsed.dirs=/usr/share/tomcat6/endorsed -Dcatalina.base=/var/lib/tomcat6 -Djava.io.tmpdir=/var/lib/tomcat6/temp -Dfile.encoding=UTF-8 -classpath /usr/share/tomcat6/bin/bootstrap.jar:/usr/lib/jvm/java-6-sun-1.6.0.15/lib/tools.jar org.apache.catalina.startup.Bootstrap start </pre> <p>The working one (Eclipse launched) is run using java-6-sun-1.6.0.15, I'm Windows user so I don't know how to tell which JRE is used for /usr/lib/jsvc (looking at it though), but my guess would be it is some OpenJDK... Could this be the difference?</p> <p>update: jsvc probably uses the same JRE Sysdeo Tomcat launcher does</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload