DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29494>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29494

No way to set PATH when running as a service on Windows

           Summary: No way to set PATH when running as a service on Windows
           Product: Tomcat 5
           Version: 5.0.25
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Native:Packaging
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The Sun JRE has a quirk: if you specify the location of a JNI DLL on Windows 
with -Djava.library.path, and that library has dependent libraries, the 
location you specify has to be in PATH. It's not good enough to just have it 
in -Djava.library.path. This strikes me as a defect in the JRE, but that's 
life.

When launching tomcat5 from a command line with catalina.bat, you can solve 
this problem with setenv.bat, by added a PATH setting to that file. No Such 
Luck when using the nice GUI to set up a Win32 service. It would be more 
better if there was a way to specify the PATH for the service mechanism.

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

Reply via email to