Feature name
Java API
Ant tasks
Maven 3 plugin
Comment
Container Instantiation
ContainerFactory.createContainer("jrun4x"...)
<cargo containerId="jrun4x".../>
<containerId>jrun4x</containerId>
Local Container
Container Classpath
Container Start
Container Stop
Container Timeout
Embedded Container
Installed Container
o.c.c.c.jrun.JRun4xInstalledLocalContainer
Passing system properties
Installer
Remote Container
Standalone Local Configuration for installed container
o.c.c.c.jrun.JRun4xExistingLocalConfiguration
Standalone Local Configuration for embedded container
Existing Local Configuration for installed container
Existing Local Configuration for embedded container
Runtime Configuration
Static deployment of WAR
Static deployment of expanded WAR
Static deployment of EJB
Static deployment of EAR
Static deployment of RAR
Static deployment of files
Static deployment of OSGi Bundles
Installed Deployer
o.c.c.c.jrun.JRun4xInstalledLocalDeployer
Embedded Deployer
Remote Deployer
Debugging
The tables below list both the general configuration properties as well as the container-specific ones.
Property name
Java Property
Supported?
Default value
Javadoc
cargo.hostname
GeneralPropertySet.HOSTNAME
localhost
cargo.java.home
GeneralPropertySet.JAVA_HOME
JAVA_HOME version 5 or newer
cargo.jrun.server.name
JRun4xPropertySet.SERVER_NAME
default
cargo.jrun4x.home
JRun4xPropertySet.JRUN_HOME
N/A
cargo.jvmargs
GeneralPropertySet.JVMARGS
cargo.logging
GeneralPropertySet.LOGGING
cargo.port.offset
GeneralPropertySet.PORT_OFFSET
0
cargo.process.spawn
GeneralPropertySet.SPAWN_PROCESS
false
cargo.protocol
GeneralPropertySet.PROTOCOL
http
cargo.rmi.port
GeneralPropertySet.RMI_PORT
2999
cargo.runtime.args
GeneralPropertySet.RUNTIME_ARGS
cargo.servlet.port
ServletPropertySet.PORT
8100
cargo.servlet.users
ServletPropertySet.USERS
cargo.standalone.ignoreNonExistingProperties
GeneralPropertySet.IGNORE_NON_EXISTING_PROPERTIES
cargo.start.jvmargs
GeneralPropertySet.START_JVMARGS
Datasource and Resource configuration
In addition to the forementioned properties, this container configuration can also set up datasources and/or resources.
For more details, please read: DataSource and Resource Support.