Bug 1012968

Summary: appclient.bat hangs after application is stopped
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Petr Sakař <psakar>
Component: Application ClientAssignee: Stuart Douglas <sdouglas>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact: Russell Dickenson <rdickens>
Priority: unspecified    
Version: 6.2.0CC: asoldano, dosoudil, myarboro, nobody, pkremens, rsvoboda
Target Milestone: ER4Keywords: Regression
Target Release: EAP 6.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-15 16:23:27 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 1010473    
Attachments:
Description Flags
jaxws-samples-serviceref-appclient.ear none

Description Petr Sakař 2013-09-27 13:17:36 UTC
Created attachment 803964 [details]
jaxws-samples-serviceref-appclient.ear

Description of problem:
appclient.bat hangs after server server stop

Version-Release number of selected component (if applicable):
6.2.0.ER3

How reproducible:
always on windows platform

Steps to Reproduce:
1.run from command line appclient.bat jaxws-samples-serviceref-appclient.ear#jaxws-samples-serviceref-appclient.jar


Actual results:
program hangs with last line stating JBossEAP stopped


Expected results:
program terminates and returns to command line


Additional info:
was working in 6.2.0.ER2.

Comment 1 Petr Sakař 2013-09-27 13:43:41 UTC
Clarification notes: 
1. issue is that the application do not terminate even if it announced in console and log file that it stopped (eg. 10:05:45,900 INFO  [org.jboss.as] (MSC service thread 1-5) JBAS015950: JBoss EAP 6.2.0.Beta1 (AS 7.3.0.Final-redhat-6) stopped in 19ms)
2. issue is present even when the appclient do not issue any warnings / errors - verified the described procedure fails for ER3 and succeds for ER2

Comment 2 Brian Stansberry 2013-09-27 19:31:12 UTC
If you can get thread dump data from all running java processes that would be most helpful.

Comment 4 Petr Kremensky 2013-09-30 10:20:18 UTC
I was able to hit this also on linux during scripts testing (FYI).

Comment 5 JBoss JIRA Server 2013-10-01 13:52:08 UTC
Stuart Douglas <stuart.w.douglas> updated the status of jira WFLY-2181 to Resolved

Comment 6 Petr Kremensky 2013-10-04 11:36:22 UTC
Verified on EAP 6.2.0.ER4