tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 32065] - Unable to install as service, if the name contains "_"
Date Mon, 22 Nov 2004 16:27:32 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32065>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32065


yoavs@computer.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Additional Comments From yoavs@computer.org  2004-11-22 17:27 -------
Commons-Daemon requires that the service name be alphanumeric.  See this method 
in jakarta-commons/daemon/src/../service.c:
static BOOL __apxIsValidServiceName(LPCWSTR szServiceName)
{
    do {
        if (!IsCharAlphaNumericW(*szServiceName)) {
            apxDisplayError(TRUE, NULL, 0, "NonAlpha %d", *szServiceName);
            return FALSE;
        }
    } while( *(++szServiceName));
    return TRUE;
}

Therefore, this is by design.  If you want this enhanced, feel free to reopen 
this issue:
- as an enhancement (not bug),
- and for Commons/Daemon, not Tomcat

Thank you.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message