[ 
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.

Reply via email to