you are better off using Java Service Wrapper, from http://wrapper.tanukisoftware.org/doc/english/introduction.html

I've created a Tomcat specific install that lets you do thread dumps to the service, you can find that one here
http://people.apache.org/~fhanik/wrapper.html

This lets you configure everything you could possible think of, and more

Filip

Peter Lombardo wrote:
I'm having a bit of trouble configuring the jvm options as I'm
installing Tomcat as a Windows Service.

I need to set:
java.library.path=C:\example\dir1;C:\example\dir2;C:\example\dir3

I pass this to the update service command (below) but the JvmOptions
command line option is parsing the semicolons as separated JVM
options.

"%EXECUTABLE%" //US//%SERVICE_NAME% ++JvmOptions
"-Djava.library.path=C:\example\dir1;C:\example\dir2;C:\example\dir3"

The instructions state:
--JvmOptions           List of options in the form of -D or -X that
will be passed to the JVM. The options are separated using either # or
; characters.

If a JVM option has semicolons in it, how can I pass those as literals
so that JvmOptions won't think it's a subsequent option?

Thanks ahead of time for any help/input.




---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to