Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Note

This page has been automatically generated by Cargo's build. Do not edit it directly as it'll be overwritten next time it's generated again.

Note

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).

Container Features

Feature name

Java API

Ant tasks

Maven 2 / Maven 3 plugin

Comment

Container Instantiation

(tick) ContainerFactory.createContainer("jonas5x"...)

(tick) <cargo containerId="jonas5x".../>

(tick) <containerId>jonas5x</containerId>

 

Local Container

(tick)

(tick)

(tick)

 

  Container Classpath

(tick)

(tick)

(tick)

 

  Container Start

(tick)

(tick)

(tick)

 

  Container Stop

(tick)

(tick)

(tick)

 

  Container Timeout

(tick)

(tick)

(tick)

 

  Embedded Container

(error)

(error)

(error)

 

  Installed Container

(tick) o.c.c.c.jonas.Jonas5xInstalledLocalContainer

(tick)

(tick)

 

   Passing system properties

(tick)

(tick)

(tick)

 

   Installer

(tick)

(tick)

(tick)

 

Remote Container

(tick) o.c.c.c.jonas.Jonas5xRemoteContainer

(tick)

(tick)

 

...

...

Feature name

Java API

Ant tasks

Maven 2 / Maven 3 plugin

Comment

Installed Deployer

(tick) o.c.c.c.jonas.Jonas5xInstalledLocalDeployer

(tick)

(tick)

 

Embedded Deployer

(error)

(error)

(error)

 

Remote Deployer

(tick) o.c.c.c.jonas.Jonas5xJsr160RemoteDeployer

(tick)

(tick)

 

...

Feature name

Java API

Ant tasks

Maven 2 / Maven 3 plugin

Comment

Debugging

(tick)

(tick)

(tick)

 

...

...

Info

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.

Note
Configuring JOnAS on JDK 9 and above
Configuring JOnAS on JDK 9 and above

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:

Code Block

[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

...

...

This container is automatically tested by the Continous Integration system every time there is a code change.
The server used for tests is downloaded from: http https://repo.maven.apache.org/maven2/org/ow2/jonas/assemblies/profiles/legacy/jonas-full/5.3.0/jonas-full-5.3.0-bin.tar.gz