Bug 777946 (SOA-475)

Summary: embedded servers needs some time after startup to accept a shutdown command
Product: [JBoss] JBoss Enterprise SOA Platform 4 Reporter: Aleksandar Kostadinov <akostadinov>
Component: Embedded ServerAssignee: Julian Coleman <jcoleman>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 4.2 CP01   
Target Milestone: ---   
Target Release: 4.3 GA   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-475
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-09-29 11:50:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
server.log.gz none

Description Aleksandar Kostadinov 2008-03-25 09:26:08 UTC
Date of First Response: 2008-04-09 13:33:42
Workaround Description: Wait for some time before trying to shutdown the server.
project_key: SOA

Testing windows SOA-P bootstrapping scripts I see that embedded server need some time after server has started to accept the shutdown command I issue. Standalone server is not affected.

#This doesn't work
1. run.bat <optiuons>
2. wait for server to output " Started in " 
3. shutdown.bat -S <options>

#This works
1. run.bat <optiuons>
2. wait for server to output " Started in " 
3. sleep 60
4. shutdown.bat -S <options>

Comment 1 Aleksandar Kostadinov 2008-03-25 09:27:59 UTC
Link: Added: This issue related JBQA-1430


Comment 2 Len DiMaggio 2008-04-09 17:33:42 UTC
Alex - can you attach a server log?

Comment 3 Aleksandar Kostadinov 2008-04-11 15:15:14 UTC
Note that subsequently server was shutdown with -H but the initial attempt to shutdown the server failed.

Comment 4 Aleksandar Kostadinov 2008-04-11 15:15:14 UTC
Attachment: Added: server.log.gz


Comment 5 Julian Coleman 2008-08-08 14:13:01 UTC
This doesn't seem to be a problem for me with 4.3.0 IR1.

Comment 6 Aleksandar Kostadinov 2008-08-24 16:26:48 UTC
Verified in IR2

Comment 7 nwallace 2008-09-25 20:18:08 UTC
Link: Added: This issue related SOA-865