Hi,

Commons-daemon that goes with Tomcat 7.0.11 includes Tomcat7.sh init.d example script. Out-of-the box, that script runs on default JVM, which is for 32-bit Sun Java equal to 'Client' JVM.

I assume that starting tomcat on 'Server' JVM is generally better then 'Client' JVM. What do you think about adding '$JSVC_JVM' into run, start and version actions of that script?

Then, user could add e.g. "export JSVC_JVM='-jvm server'" into setenv.sh to use appropriate JVM, without need to modify the example script.


I also believe that it would be nice to add just one short startup/shutdown message into the same script (e.g. "Starting tomcat... [OK]").

What do you think?

-Ognjen

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to