[ 
https://issues.apache.org/jira/browse/DAEMON-195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13104733#comment-13104733
 ] 

Li Cao edited comment on DAEMON-195 at 9/14/11 6:07 PM:
--------------------------------------------------------

I am trying to wrap a Java application using "JVM" option and when stopping the 
service from Services list in Control Panel it eventually stops after a long 
wait with the following message in a popup dialog box:

Cound not stop the myService service on local Computer.
Error 1053: The service did not respond to the start or control request in a 
timely fashion.

The OS is Microsoft Windows Server 2003 Standard x64 Edition Service Pack 2 and 
I am using the AMD64 binary. "net stop serviceName" command exhibits the same 
behavior as reported in the first comment.

      was (Author: licao):
    I am trying to wrap a Java application using "JVM" option and when stopping 
the service from Services list in Control Panel it eventually stops after a 
long wait with the following message in a popup dialog box:

Cound not stop the myService service on local Computer.
Error 1053: The service did not respond to the start or control request in a 
timely fashion.

The OS is Microsoft Windows Server 2003 Standard x64 Edition Service Pack 2 and 
I am using the AMD64 binary. "net stop serviceName" command exhibits the same 
behavior as reported in the first comment.
procrun 
  
> "net stop serviceName" prints "Error 109: The pipe has been ended." Stopping 
> via Windows Control Panel hangs.
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: DAEMON-195
>                 URL: https://issues.apache.org/jira/browse/DAEMON-195
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.0.5
>         Environment: WinXP SP3 32-bit
>            Reporter: Konstantin Kolinko
>            Priority: Minor
>
> This issue was reported for Tomcat 7.0.6: 
> https://issues.apache.org/bugzilla/show_bug.cgi?id=50673
> To reproduce:
> 1. Install apache-tomcat-7.0.6.exe   I am installing with default options. I 
> am not starting Tomcat after installation.
> 2. Launch the command prompt window.
> 3. The following command succeeds:
> net stop Tomcat7
> It prints two localized messages that can be translated as
> The "Apache Tomcat 7" service is being started.
> The "Apache Tomcat 7" service started successfully.p
> 4. The following command apparently fails, but actually it succeeds:
> net stop Tomcat7
> It prints two localized messages that are, citing from BZ 50673:
> System error 109.
> The pipe has been ended.
> Note that "The service being stopped" message is not printed.
> 5. Repeating the command shows that the service has been stopped:
> net stop Tomcat7
> The "Apache Tomcat 7" service has not been started.
> The commons-daemon.<date>.log contains only the following four lines when 
> stopping the service with Debug logging enabled:
> [2011-01-27 20:18:59] [info]  (          :0   ) Stopping service...
> [2011-01-27 20:18:59] [debug] ( javajni.c:844 ) argv[0] = stop
> [2011-01-27 20:18:59] [debug] ( javajni.c:891 ) Java Worker thread started 
> org/apache/catalina/startup/Bootstrap:main
> [2011-01-27 20:19:00] [debug] ( prunsrv.c:871 ) Waiting for java jni stop 
> worker to finish...
> Stopping the service with Stop button in prunmgr app succeeds without any 
> messages.
> Stopping the service from the Services list in the Control Panel quickly goes 
> to 50% of progress but then continues to wait forever, without any changes on 
> the screen.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to