Red Hat Bugzilla – Bug 1003104
appclient hang when executing .jar file outside an .ear
Last modified: 2013-12-15 11:55:26 EST
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 .
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.
Tested with ER3.1 and automated test is in place for RPM distribution.