Prerequisites

Describes the third-party software required to complete the tutorial.
Restriction: This topic applies only when the Enterprise Server feature is enabled.

To successfully deploy and access a Java service, you must have both the Java Development Kit (JDK) and a Java application server installed.

This tutorial provides instructions for using JBoss Application Server version 7.1.1. Therefore, to complete the tutorial successfully, install and configure the JDK and JBoss software as required.

JDK 1.7
After installation, no further configuration is required.
JBoss 7.1.1
Using any text editor, edit the standalone.xml configuration file located in standalone/configuration, under your JBoss installation directory.
Edit the <archive-validation>, child of the <subsystem xmlns="urn:jboss:domain:jca:1.1"> element, to disable it:

<archive-validation enabled="false" fail-on-error="true" fail-on-warn="false"/>

As a child of <profile>, add the following <subsystem> to standalone.xml:
<subsystem xmlns="urn:jboss:domain:resource-adapters:1.0">
	<resource-adapters>
		<resource-adapter>
			<archive>mfcobol-notx.rar</archive>
			<transaction-support>NoTransaction</transaction-support>
			<connection-definitions>
				<connection-definition class-name="com.microfocus.cobol.connector.spi.CobolNoTxManagedConnectionFactory" jndi-name="java:/eis/MFCobol_v1.5" pool-name="CobolConnectionFactory">
					<pool>
						<min-pool-size>2</min-pool-size>
						<max-pool-size>10</max-pool-size>
					</pool>
					<security>
						<application/>
					</security>
				</connection-definition>
			</connection-definitions>
		</resource-adapter>
	</resource-adapters>
</subsystem>