tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bai Shen" <>
Subject Tomcat enables setlocal on Windows_NT and will not see setenv variables
Date Tue, 30 Sep 2008 17:10:59 GMT
I use setenv.bat to point tomcat to my JRE and set some other options.
However, when running on an OS that returns Windows_NT from the OS
environment variable, Tomcat sets all of the batch files to setlocal.
Therefore, when setclasspath.bat is run, it doesn't see any of the variables
that were set by setenv.bat  Now I know I could set them globally for the
machine or user, but I'd rather not do that.  I also don't want to edit the
tomcat bat files to turn off the setlocal commands.

Speaking of which, does anyone know what the reasoning behind the setlocal
is in the first place?

Any advice would be appreciated.  TIA.

Bai Shen

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message