When stopping Tomcat using services.msc, an error message is displayed: "Windows could not stop the Apache Tomcat 7 service on Local Computer. Error 109: The pipe has been ended." Despite this error, Tomcat appears to stop normally. No such problem was encountered in 6.0.29.
Confirming. (Win XP SP3, Tomcat 7.0.6) The following command "net start Tomcat7" executes successfully "net stop Tomcat7" apparently fails, printing localized version of error message like the one reported by OP. Repeating "net stop Tomcat7" prints message that the service has not been started. 1. This an issue with Commons Daemon service wrapper (procrun). The issue should be reported there. Tomcat 7.0.6 and 6.0.30 use Commons Daemon 1.0.5. https://issues.apache.org/jira/browse/DAEMON 2. Apparently it is just cosmetics. It does not break operation. Though some external scripts might be affected.
I created https://issues.apache.org/jira/browse/DAEMON-195 I am closing this issue as INVALID - it is not ours.
I changed Catalina shutdown sequence to do not call System.exit(). - in trunk. Will be in 7.0.7.
Created attachment 26591 [details] 2011-02-02_tc6_50673.patch Patch for TC 6.0.x
Fixed in 6.0 as well. Will be in 6.0.32.