commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mladen Turk (JIRA)" <>
Subject [jira] Commented: (DAEMON-164) tomcat windows service name can't contain spaces
Date Sat, 02 Oct 2010 14:37:32 GMT


Mladen Turk commented on DAEMON-164:

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

View raw message