[jboss-dev-forums] [JBoss Web Development] - fail to stop jboss that running as windlow service

yansong liu do-not-reply at jboss.com
Wed Mar 2 06:23:51 EST 2011


yansong liu [http://community.jboss.org/people/ysliu] created the discussion

"fail to stop jboss that running as windlow service"

To view the discussion, visit: http://community.jboss.org/message/590602#590602

--------------------------------------------------------------
hello, I'm trying to run jboss AS as a windows service using jboss native(2.0.6).(I'm on windows xp) and I meet following problem when I try to stop the 
jboss service in windows services management console. at begining after I click the stop button the service turn into stoped status after 20 seconds. but I found the jboss process was terminated instead of stopping gracefully. so I modified regisy value HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\WaitToKillServiceTimeout to increase shutdown time(to 200 seconds). the change takes effect. after doing that, services  manager indeed wait for more time, but after about 120 seconds, services manager poped up a alert dialog that complains "Error 1053: The service did not respond to the start or control request in a timely fashion". I test in cmd to run shutdown.bat to shutdown my jboss directly. in my case it  
takes about 80 seconds. so I think it's long enough to shut down the jboss before the alert dialog popup. it will be very appriciate if anyone can explain me what is the cause of the problem and how to resolve it. thanks!
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/590602#590602]

Start a new discussion in JBoss Web Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2112]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110302/b42353b8/attachment.html 


More information about the jboss-dev-forums mailing list