https://issues.apache.org/bugzilla/show_bug.cgi?id=52243

--- Comment #2 from Christian Kütbach <ckuetb...@googlemail.com> 2011-11-25 
13:41:59 UTC ---
I used tomcat 5.5.34. 

Within my application I have to load a native *.dll file, which is loading
another .dll. Therefor I needed to set the windowns PATH variable for the
created windows service.

First I set the path like this:

tomcat5.exe //US//MY_SERVICE_NAME --Environment "PATH=.\;c:\path\to\bin"

The installed Windows service did not start at all, because the value inserted
into the windows registry was not correct.

The documentation said that the value provided for --Environment is splitted at
; and also #. So I had to mask the windows-path.

I changed by script into this:

tomcat5.exe //US//MY_SERVICE_NAME  --Environment "PATH='.\;c:\path\to\bin'" 

and it worked just fine.

I think all versions of tomcat since 5.5 until now uses the same windows
service wrapper.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to