You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2011/11/25 10:03:49 UTC
DO NOT REPLY [Bug 52243] New: Documentation of Service-Installer
missing one information
https://issues.apache.org/bugzilla/show_bug.cgi?id=52243
Bug #: 52243
Summary: Documentation of Service-Installer missing one
information
Product: Tomcat 7
Version: unspecified
Platform: PC
Status: NEW
Severity: trivial
Priority: P2
Component: Documentation
AssignedTo: dev@tomcat.apache.org
ReportedBy: ckuetbach@googlemail.com
Classification: Unclassified
The documentation of the windows service installier is missing one information.
If one wants to create a service with a sepified PATH, it may not work:
Citadation from the documentation:
http://tomcat.apache.org/tomcat-7.0-doc/windows-service-howto.html
List of environment variables that will be provided to the service in the form
key=value. They are separated using either # or ; characters.
Original documentation:
http://commons.apache.org/daemon/procrun.html
List of environment variables that will be provided to the service in the form
key=value. They are separated using either # or ; characters. If you need to
embed either # or ; character within a value put them inside single quotes.
The last part is important, but missing:
"If you need to embed either # or ; character within a value put them inside
single quotes."
The ';' is the windows path-seperator-char and the path has to be masked by '
if it contains more than one directory.
This is missing in 5.5 and 6.0 as well.
--
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 52243] Documentation of Service-Installer missing
one information
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52243
Konstantin Kolinko <kn...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
OS/Version| |All
--- Comment #1 from Konstantin Kolinko <kn...@gmail.com> 2011-11-25 13:29:28 UTC ---
You sound like you have tried this feature. Can you provide an example that is
close to what you used in real life? What version of Tomcat you used?
>From the description at [2] it is not clear to me where the quotes should be
placed. Did you use key='value;value' or key=value';'value ?
[2] http://commons.apache.org/daemon/procrun.html
--
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 52243] Documentation of Service-Installer missing
one information
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52243
--- Comment #2 from Christian Kütbach <ck...@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 52243] Documentation of Service-Installer missing
one information
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52243
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #3 from Mark Thomas <ma...@apache.org> 2011-12-26 20:56:08 UTC ---
Thanks for the clarification. I have updated the docs for trunk, 7.0.x, 6.0.x
and 5.5.x. I used a slightly different form of words.
--
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org