I am using 4.1.24 in Win 2000. I pass an environment variable to Tomcat
by adding

set JAVA_OPTS=-Dmy.variable.name=.......

to catalina.bat and all is fine when I start Tomcat from a script that
calls "bin/startup.bat". However, if I start Tomcat from the menu item
that is automatically created during installation it does not find the
environment variable. The target in the menu item shortcut is

"......\java.exe" -jar -Duser.dir="c:\jakarta-tomcat-4"
"c:\jakarta-tomcat-4\bin\bootstrap.jar" start

Does this not use catalina.bat? Do I need to set the environment
variable at a different location?

Thanks,
Paul

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to