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 2002/03/31 00:29:45 UTC
DO NOT REPLY [Bug 7638] New: -
Service Name in Windows has space
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: tomcat-dev@jakarta.apache.org
ReportedBy: epugh@museumcompany.com
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
"Apache Tomcat"'"/></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 dep4b@yahoo.com and I don't mind helping give more
information on the bug.
Eric PUgh
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>