DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7638>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7638

Service Name in Windows has space

           Summary: Service Name in Windows has space
           Product: Tomcat 4
           Version: 4.0.3 Final
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Unknown
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Hi all,

I noticed that the Windows service name for Tomcat is "Apache Tomcat".  As far 
as I can tell, no other service has a space in the name.  This because an 
issue because I am trying to issue a NET STOP command.  The way to do it is 
NET STOP "Apache Tomcat".  However, in my instance, i am attempting to use 
ant's exec task via SSH to start and stop my remote service. 

My string in ant ends up as: <exec><args value="'ssh trujillo NET STOP 
&quot;Apache Tomcat&quot;'"/></exec>

However, even though it appears that I am passing the string NET STOP "Apache 
Tomcat" to the SSH server, it doesn't work, and gives me a service not found 
with that name error.

It justs seems easier to call the service ApacheTomcat or Tomcat, versus 
Apache Tomcat.

I was using OpenSSH, Ant 1.4.1, and Tomcat 4.0.3.

My current email is [EMAIL PROTECTED] and I don't mind helping give more 
information on the bug.

Eric PUgh

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to