Bug 1003104 - appclient hang when executing .jar file outside an .ear
Summary: appclient hang when executing .jar file outside an .ear
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Application Client
Version: 6.1.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ER3
: EAP 6.2.0
Assignee: Stuart Douglas
QA Contact:
Russell Dickenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-30 19:27 UTC by Aleksandar Kostadinov
Modified: 2013-12-15 16:55 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
RHEL6 RPM
Last Closed: 2013-12-15 16:55:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker WFLY-1996 0 Major Resolved Application client will not start if run against a standalone client jar 2014-05-13 06:52:50 UTC

Description Aleksandar Kostadinov 2013-08-30 19:27:33 UTC
There is a problem for appclient in EAP 6.1.1 to execute a jar file that is *not* within an EAR archive. I have a simple hello world appclient that just prints a line to stdout [1].

When I start the app calling it through the ear I see a correct result:
> bin/appclient.sh appear-1.0.ear#app-1.0.jar
> ...
> 15:19:14,992 INFO  [org.jboss.as.server] (Thread-35) JBAS018559: Deployed "appear-1.0.ear" (runtime-name : "appear-1.0.ear")
> 15:19:14,996 INFO  [stdout] (Thread-43) Hello World Enterprise Application Client!
> ...

When I try to directly start .jar though the application client just hangs there doing nothing without any error messages or other clues what is going on:
> bin/appclient.sh app-1.0.jar
> ...
> 15:22:27,987 INFO  [org.jboss.as.server] (Thread-35) JBAS018559: Deployed "app-1.0.jar" (runtime-name : "app-1.0.jar")

Nothing happens, it just sits there forever doing nothing.


[1] https://svn.jboss.org/repos/qa/people/akostadi/appclientear

Comment 3 Aleksandar Kostadinov 2013-10-07 11:01:14 UTC
Tested with ER3.1 and automated test is in place for RPM distribution.


Note You need to log in before you can comment on or make changes to this bug.