You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "John Kenny (JIRA)" <ji...@apache.org> on 2010/06/17 21:05:42 UTC
[jira] Created: (DAEMON-164) tomcat windows service name can't
contain spaces
tomcat windows service name can't contain spaces
------------------------------------------------
Key: DAEMON-164
URL: https://issues.apache.org/jira/browse/DAEMON-164
Project: Commons Daemon
Issue Type: Bug
Reporter: John Kenny
If I try to install tomcat as a service and use a service name (not a display
name) that contains spaces or underscores it fails:
C:\Program Files (x86)\comp\apache-tomcat\bin\tomcat6.exe //IS//Comp Service
or
C:\Program Files (x86)\comp\apache-tomcat\bin\tomcat6.exe //IS//Comp_Service
All the other windows service have spaces so I want mine to be consistent.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (DAEMON-164) tomcat windows service name can't
contain spaces
Posted by "Sebb (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DAEMON-164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sebb updated DAEMON-164:
------------------------
Component/s: Procrun
> tomcat windows service name can't contain spaces
> ------------------------------------------------
>
> Key: DAEMON-164
> URL: https://issues.apache.org/jira/browse/DAEMON-164
> Project: Commons Daemon
> Issue Type: Bug
> Components: Procrun
> Reporter: John Kenny
>
> If I try to install tomcat as a service and use a service name (not a display
> name) that contains spaces or underscores it fails:
> C:\Program Files (x86)\comp\apache-tomcat\bin\tomcat6.exe //IS//Comp Service
> or
> C:\Program Files (x86)\comp\apache-tomcat\bin\tomcat6.exe //IS//Comp_Service
> All the other windows service have spaces so I want mine to be consistent.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (DAEMON-164) tomcat windows service name can't
contain spaces
Posted by "Mladen Turk (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DAEMON-164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12917197#action_12917197 ]
Mladen Turk commented on DAEMON-164:
------------------------------------
Update:
Space is allowed as service name.
Note that in that case you will have to use the prunsrv.exe "//IS//foo bar" if you wish your service name is "foo bar"
However the limitation is imposed that name consists only of valid windows file naming convention
which says invalid characters are:
"< > : " / \ | ? *"
The reason is because we use service name as a synonym for the executable name (without .exe),
so the service name must contain the same character set allowed by the file naming convention.
> tomcat windows service name can't contain spaces
> ------------------------------------------------
>
> Key: DAEMON-164
> URL: https://issues.apache.org/jira/browse/DAEMON-164
> Project: Commons Daemon
> Issue Type: Bug
> Components: Procrun
> Reporter: John Kenny
>
> If I try to install tomcat as a service and use a service name (not a display
> name) that contains spaces or underscores it fails:
> C:\Program Files (x86)\comp\apache-tomcat\bin\tomcat6.exe //IS//Comp Service
> or
> C:\Program Files (x86)\comp\apache-tomcat\bin\tomcat6.exe //IS//Comp_Service
> All the other windows service have spaces so I want mine to be consistent.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (DAEMON-164) tomcat windows service name can't
contain spaces
Posted by "Sebb (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DAEMON-164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sebb updated DAEMON-164:
------------------------
Fix Version/s: 1.0.4
> tomcat windows service name can't contain spaces
> ------------------------------------------------
>
> Key: DAEMON-164
> URL: https://issues.apache.org/jira/browse/DAEMON-164
> Project: Commons Daemon
> Issue Type: Bug
> Components: Procrun
> Reporter: John Kenny
> Fix For: 1.0.4
>
>
> If I try to install tomcat as a service and use a service name (not a display
> name) that contains spaces or underscores it fails:
> C:\Program Files (x86)\comp\apache-tomcat\bin\tomcat6.exe //IS//Comp Service
> or
> C:\Program Files (x86)\comp\apache-tomcat\bin\tomcat6.exe //IS//Comp_Service
> All the other windows service have spaces so I want mine to be consistent.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (DAEMON-164) tomcat windows service name can't
contain spaces
Posted by "Mladen Turk (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DAEMON-164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mladen Turk closed DAEMON-164.
------------------------------
Resolution: Fixed
Partially fixed in the SVN.
Underscores are allowed but spaces are not, neither it will be.
Reason is because service name is used to guess the executable which would in that
case need to have spaces as well and the command line parser uses space as delimiter
Anyhow will be part of 1.0.4
> tomcat windows service name can't contain spaces
> ------------------------------------------------
>
> Key: DAEMON-164
> URL: https://issues.apache.org/jira/browse/DAEMON-164
> Project: Commons Daemon
> Issue Type: Bug
> Components: Procrun
> Reporter: John Kenny
>
> If I try to install tomcat as a service and use a service name (not a display
> name) that contains spaces or underscores it fails:
> C:\Program Files (x86)\comp\apache-tomcat\bin\tomcat6.exe //IS//Comp Service
> or
> C:\Program Files (x86)\comp\apache-tomcat\bin\tomcat6.exe //IS//Comp_Service
> All the other windows service have spaces so I want mine to be consistent.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.