Feature name
Java API
Ant tasks
Maven 3 plugin
Comment
Container Instantiation
ContainerFactory.createContainer("jboss5x"...)
<cargo containerId="jboss5x".../>
<containerId>jboss5x</containerId>
Local Container
Container Classpath
Container Start
Container Stop
Container Timeout
Embedded Container
Installed Container
o.c.c.c.jboss.JBoss5xInstalledLocalContainer
Passing system properties
Installer
Remote Container
o.c.c.c.jboss.JBoss5xRemoteContainer
Standalone Local Configuration for installed container
o.c.c.c.jboss.JBoss5xStandaloneLocalConfiguration
Standalone Local Configuration for embedded container
Existing Local Configuration for installed container
o.c.c.c.jboss.JBoss5xExistingLocalConfiguration
Existing Local Configuration for embedded container
Runtime Configuration
o.c.c.c.jboss.JBoss5x6xRuntimeConfiguration
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.JBoss5xRemoteDeployer
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 Due to incompatibilities with its JSP environment, JBoss 5.x doesn't run on Java 8 and above
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.ejb3.remoting.port
JBossPropertySet.JBOSS_EJB3_REMOTING_PORT
3873
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.jboss.transaction.recoveryManager.port
JBossPropertySet.JBOSS_TRANSACTION_RECOVERY_MANAGER_PORT
4712
cargo.jboss.transaction.statusManager.port
JBossPropertySet.JBOSS_TRANSACTION_STATUS_MANAGER_PORT
4713
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.clustered
JBossPropertySet.CLUSTERED
cargo.jboss.profile
JBossPropertySet.PROFILE
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-5.0.1.GA.zip