JBoss Community Archive (Read Only)

Arquillian

WAS V8.0 - Embedded

A DeployableContainer implementation that can run an embeddable WebSphere Application Server V8.0 container (same JVM). This implementation has lifecycle support, so the container will be started and stopped as part of the test run.

This container implementation has been deprecated as the WebSphere Application Server version has reached its end of service.

This container implementation is currently not available in public maven repositories. If you want to use it, please follow our build instructions.

Container Injection Support Matrix

@EJB

@EJB (no-interface)

@Inject (CDI)

@Inject (MC)

@PersistenceContext @PersistenceUnit

images/author/download/attachments/4784934/fact_good.png

images/author/download/attachments/4784934/fact_good.png

 

 

 

Prerequisite Version

This DeployableContainer has been tested with WebSphere Application Server V8.0.0.0.

Configuration

Default Protocol: Local

Container Configuration Options

Name

Type

Default

Description

embeddedProperties

String

 

Location of a WAS embedded container properties file.

Example of Container Configuration (arquillian.xml)

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<arquillian xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns="http://jboss.org/schema/arquillian"
	xsi:schemaLocation="http://jboss.org/schema/arquillian http://jboss.org/schema/arquillian/arquillian_1_0.xsd">

	<engine>
		<property name="deploymentExportPath">target/</property>
	</engine>

	<container qualifier="websphere" default="true">
		<configuration>
			<property name="embeddedProperties">src/test/resources/was-embedded.properties</property>
		</configuration>
	</container>
</arquillian>

Example of Maven profile setup

<profile>
	<id>was-embedded-8</id>
	<dependencies>
		<dependency>
			<groupId>org.jboss.arquillian.container</groupId>
			<artifactId>arquillian-was-embedded-8</artifactId>
			<version>1.0.0-SNAPSHOT</version>
		</dependency>
	</dependencies>
</profile>
JBoss.org Content Archive (Read Only), exported from JBoss Community Documentation Editor at 2020-03-10 09:41:24 UTC, last content change 2018-04-28 11:41:51 UTC.