Feature name
Java API
Ant tasks
Maven 3 plugin
Comment
Container Instantiation
ContainerFactory.createContainer("jboss4x"...)
<cargo containerId="jboss4x".../>
<containerId>jboss4x</containerId>
Local Container
Container Classpath
Container Start
Container Stop
Container Timeout
Embedded Container
Installed Container
o.c.c.c.jboss.JBoss4xInstalledLocalContainer
Passing system properties
Installer
Remote Container
o.c.c.c.jboss.JBoss4xRemoteContainer
Standalone Local Configuration for installed container
o.c.c.c.jboss.JBoss3x4xStandaloneLocalConfiguration
Standalone Local Configuration for embedded container
Existing Local Configuration for installed container
o.c.c.c.jboss.JBoss3x4xExistingLocalConfiguration
Existing Local Configuration for embedded container
Runtime Configuration
o.c.c.c.jboss.JBoss4xRuntimeConfiguration
Static deployment of WAR
Static deployment of expanded WAR
Static deployment of EJB
Static deployment of EAR
Static deployment of RAR
Static deployment of (JBoss) HAR
Static deployment of (JBoss) SAR
Static deployment of (JBoss) AOP
Static deployment of files
Static deployment of OSGi Bundles
Installed Deployer
o.c.c.c.jboss.JBossInstalledLocalDeployer
Embedded Deployer
Remote Deployer
o.c.c.c.jboss.JBoss4xRemoteDeployer
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 4 or newer
cargo.jboss.classloading.webservice.port
JBossPropertySet.JBOSS_CLASSLOADING_WEBSERVICE_PORT
8083
cargo.jboss.configuration
JBossPropertySet.CONFIGURATION
default
cargo.jboss.deployer.keepOriginalWarFilename
JBossPropertySet.DEPLOYER_KEEP_ORIGINAL_WAR_FILENAME
false
cargo.jboss.invoker.pool.port
JBossPropertySet.JBOSS_INVOKER_POOL_PORT
4445
cargo.jboss.jrmp.invoker.port
JBossPropertySet.JBOSS_JRMP_INVOKER_PORT
4444
cargo.jboss.jrmp.port
JBossPropertySet.JBOSS_JRMP_PORT
1090
cargo.jboss.naming.port
JBossPropertySet.JBOSS_NAMING_PORT
1098
cargo.jboss.remoting.transport.port
JBossPropertySet.JBOSS_REMOTING_TRANSPORT_PORT
4446
cargo.jvmargs
GeneralPropertySet.JVMARGS
N/A
cargo.logging
GeneralPropertySet.LOGGING
medium
cargo.port.offset
GeneralPropertySet.PORT_OFFSET
0
cargo.process.spawn
GeneralPropertySet.SPAWN_PROCESS
cargo.protocol
GeneralPropertySet.PROTOCOL
http
cargo.remote.password
RemotePropertySet.PASSWORD
cargo.remote.username
RemotePropertySet.USERNAME
cargo.rmi.port
GeneralPropertySet.RMI_PORT
1099
cargo.runtime.args
GeneralPropertySet.RUNTIME_ARGS
cargo.servlet.port
ServletPropertySet.PORT
8080
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.
A side note on the JBoss ports:
Port
jboss:service=Naming
RmiPort
cargo.jboss.modules.dir
JBossPropertySet.ALTERNATIVE_MODULES_DIR
Before using the JBoss remote deployer, please read: JBoss Remote Deployer
cargo.jboss.remotedeploy.hostname
JBossPropertySet.REMOTEDEPLOY_HOSTNAME
cargo.jboss.remotedeploy.port
JBossPropertySet.REMOTEDEPLOY_PORT
cargo.remote.timeout
RemotePropertySet.TIMEOUT
120000
cargo.remote.uri
RemotePropertySet.URI
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: https://repository.jboss.org/sourceforge/jboss-4.0.5.GA.zip