How to run appclient inside a deployed ear on wildfly?

I have an EAR-File containing an EJB-module, a WAR-module and two appclient-modules. I deployed the EAR using maven, so the EAR-File is not placed in the standalone/deployments-directory.

Connecting with, I can see the deployment. The application is running and available via web browser.

Now I want to run one of the appclient-modules via command line. But I can not figure out how this is done, because I don't have the EAR-File available on the harddrive (it seems that an unzipped version is somewhere in standalone/tmp/vfs/...).

If the EAR was in standalone/deployments I would run:

./ --host= path/to/myear.ear#appclient-module.jar

How can I run the appclient-module.jar contained by the deployed EAR? I tried using the deployment-name with the script:

./ --host= deployment-name.ear#appclient-module.jar

But this results in:

java.lang.RuntimeException: JBAS013239: Could find application client /opt/wildfly-8.2.1.Final/bin/deployment-name.ear
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(
    at java.lang.reflect.Method.invoke(
    at org.jboss.modules.Main.main(

Thank you in advance!


It seems like there is no solution to the problem I described, so I came up with a workaround:

I am now using the maven-antrun-plugin to upload a copy of the deployed EAR-File. This second EAR-File is used in the cron-job.

Need Your Help

Adding XUL to a Plugin?

firefox-addon xul

I am working on a Firefox Add-on that view TIFF Files. I'm having trouble figuring out how to do the UI, buttons, scrollers etc. I'm on a mac, so the program is being written in either C or Objecti...

Specifying width of gravatar img in Rails

ruby-on-rails image width image-size gravatar

Would there possibly be a way I could specify the width for a gravatar img instead of just :size => x