Prerequisites

Describes the setup requirements and third-party software required to complete the tutorial.
Restriction: This topic applies to Windows environments (local development) only.

Preferences

Before beginning this tutorial, be sure to set up your Enterprise Developer environment as specified in the Set Build and Interface Mapper Preferences topic.

Third-party Software

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, set your system path statement to include the path to your JDK installation's bin directory. For example:

set path=c:\program files\java\jdk1.7\bin;%path%

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>