Due to license conflicts, Codehaus Cargo versions 1.7.6 onwards do not contain the JOnAS Configurator in the Uberjar. If you plan to use the Codehaus Cargo JOnAS containers via Java API or ANT tasks, please download the JOnAS Configurator JARs separately and put them in your classpath.
This does not affect the Maven 3 plugin, as it will download the required dependencies automatically (and, since Maven downloads and stores the JOnAS Configurator JARs separately from Codehaus Cargo you won't run into license issues).
The jonas5x local deployer requires the target JOnAS server to be in development mode.
If this is not the case, please use the jonas5x remote deployer.
Note that the jonas5x remote deployer can be used on a local server by setting the GeneralPropertySet.HOSTNAME parameter to localhost.
In addition to the forementioned properties, you can set any JOnAS configuration property that's configurable via the JOnAS configurator using the cargo.jonas.configurator prefix. For example, to set the Tomcat AJP port, use the the property cargo.jonas.configurator.ajpPort and give the value you like.
As the JOnAS base ANT tasks, used by the configurator, make explicit use of the java.endorsed.dirs property which got removed with Java 9, it is no more possible to create any JOnAS configurations with newer versions of Java. You will get errors similar to the below:
[JmsRa] Cannot make a resource adaptor on RAConfig:
[...]
Caused by: Java returned: 1
at org.apache.tools.ant.taskdefs.Java.execute(Java.java:113)
at org.ow2.jonas.antmodular.jonasbase.jms.JmsRa.execute(JmsRa.java:222)
Existing Local Configuration Properties
For installed container o.c.c.c.jonas.Jonas5xInstalledLocalContainer