Skip to end of metadata
Go to start of metadata

A DeployableContainer implementation that can run and connect to a remote(different JVM, same machine) JBoss AS 5.1 instance. This implementation has lifecycle support, so the container will be started and stopped as part of the test run.

Container Injection Support Matrix

@EJB @EJB (no-interface) @Inject (CDI) @Inject (MC) @PersistenceContext @PersistenceUnit
       

Configuration

Default Protocol: Servlet 2.5

Container Configuration Options

Name Type Default Description
profileName String default ProfileService profileKey. Used to load the correct profile into the DeploymentManager.
bindAddress String localhost The Address the server should bind to.
httpPort int 8080 If useRmiPortForAliveCheck is false, this port is used to check if the server is running.
rmiPort int 1099 Used by the ServerManager to communicate with the server.
jbossHome String $JBOSS_HOME The JBoss configuration to start.
javaHome String $JAVA_HOME The Java runtime to use to start the server.
javaVmArguments String -Xmx512m -XX:MaxPermSize=128m JVM arguments used to start the server.
useRmiPortForAliveCheck boolean false If the ServerManager should use the RMI port when checking if the server is up.
startupTimeoutInSeconds int 120 Time to wait before throwing Exception on server startup.
shutdownTimeoutInSeconds int 45 Time to wait before throwing Exception on server shutdown.

Example of Maven profile setup

Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.