Skip to end of metadata
Go to start of metadata

An Arquillian container adapter (DeployableContainer implementation) that can start and stop a local WebSphere Application Server Liberty Profile process and run tests on it over a remote protocol (effectively in a different JVM).

Container Injection Support Matrix

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

Prerequisites

Prerequisite Version

This DeployableContainer has been tested with WebSphere Application Server Liberty Profile V8.5.5. You can find the download on the WASdev Liberty Profile download site.

Prerequisite WLP Configuration

In the server.xml of the WLP server at least enable the following features:

and enable the applicationMonitor MBean support:

Configuration

Default Protocol: Servlet 3.0

Container Configuration Options

Name Type Default Description
wlpHome String None Home directory of the WLP runtime.
serverName String defaultServer Name of the server to start.
httpPort Integer 9080 HTTP Port of the server.
deployType String dropins Type of deployment (available: dropins or xml)
sharedLib String None ID of the shared library reference; if provided it will be used as the commonLibraryRef attribute of the application/classloader configuration element

Example of Container Configuration (arquillian.xml)

Example of Maven profile setup

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