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 2004/08/12 15:08:04 UTC

DO NOT REPLY [Bug 30615] New: - Installing Tomcat as a Windows Service fails to recognize non-standard service name

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=30615>.
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=30615

Installing Tomcat as a Windows Service fails to recognize non-standard service name

           Summary: Installing Tomcat as a Windows Service fails to
                    recognize non-standard service name
           Product: Tomcat 5
           Version: 5.0.24
          Platform: Other
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Unknown
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: smcrae@pharmanet.com


Usinng service.bat to install Tomcat 5 as a Windows service does not respect 
the service name passed from the command line. Error appears to be in line 64 
of service.bat:

ERRANT:  set PR_DISPLAYNAME=Apache Tomcat

CORRECT: set PR_DISPLAYNAME=%SERVICE_NAME%

Optionally there could be hard coded values in there like this: (our solution)

OPTIONAL: set PR_DISPLAYNAME=Apache Tomcat %SERVICE_NAME%

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