I was able to get this to work by using the # separator. I got it to work with the --jvmoptions format, but not the ++jvmoptions format. You also need to have more than one option so you can use the # separator. This correctly added my two libraries to the java.library.path: "%EXECUTABLE%" //US//%SERVICE_NAME% --JvmOptions "-Dcatalina.base=%CATALINA_BASE%#-Dcatalina.home=%CATALINA_HOME%#-Djava.endorsed.dirs=%CATALINA_HOME%\common\endorsed#-Djava.library .path=c:\oracle\ora92\bin;path2" --StartMode jvm --StopMode jvm
Steve. -------------------------------------------------------------------------------------------------------------------------- I tried using single quotes with no success unfortunately. If this could help anyone else, I was able to set the multiple path java.library.path for the tomcat service by manually setting the registry key with the windows reg utility: reg add "HKLM\SOFTWARE\Apache Software Foundation\Procrun 2.0\%SERVICE_NAME%\Parameters\Java" /v Options /t REG_MULTI_SZ /f /d -Dcatalina.base=%CATALINA_HOME%\0-Dcatalina.home=%CATALINA_HOME%\0-Djava.endorsed.dirs \ =%CATALINA_HOME%\common\endorsed\0-Djava.io.tmpdir=%CATALINA_HOME%\temp\0-Djava.librar \ y.path=C:\example\dir1;C:\example\dir2;C:\example\dir3 -- Peter Lombardo [EMAIL PROTECTED] On 3/16/07, Mladen Turk <[EMAIL PROTECTED]> wrote: > 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 > > > > Use the: > ++JvmOptions > "-Djava.library.path=C:\example\dir1';'C:\example\dir2';'C:\example\dir \ > 3" > Regards, > Mladen. > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]