Previous Topic Next topic Print topic


Prerequisites

Describes the setup requirements and third-party software required to complete the tutorial.

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 6.1. Therefore, to complete the tutorial successfully, install and configure the JDK and JBoss software as required.

JDK 1.6
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.6\bin;%path%

JBoss 6.1
Using any text editor, edit the following JBoss files as specified here:
naming-jboss-beans.xml
Located in your JBoss installation's server\default\deploy (Windows) or server/default/deploy (UNIX) directory.

Set the CallByValue property to true:

<property name="CallByValue">true</property>

ear-deployer-jboss-beans.xml
Located in your JBoss installation's server\default\deployers (Windows) or server/default/deploy (UNIX) directory.

Set the Isolated property to false:

<property name="Isolated">false</property>

Set the CallByValue property to true:

<property name="CallByValue">true</property>

ejb-deployer-jboss-beans.xml
Located in your JBoss installation's server\default\deployers (Windows) or server/default/deploy (UNIX) directory.

Set the CallByValue property to true:

<property name="CallByValue">true</property>

war-deployers-jboss-beans.xml
Located in your JBoss installation's server\default\deployers\jboss-web.deployer\META-INF (Windows) or server/default/deployers/jboss-web.deployer/META-INF (UNIX) directory.

Set the java2ClassLoadingCompliance property to true:

<property name="java2ClassLoadingCompliance">true</property>

jboss-ra.xml (optional)
Included in the mfcobol-notx.rar archive file located by default in the %ProgramFiles(x86)%\Micro Focus\Enterprise Developer\javaee\javaee6\jboss6 (Windows) or $COBDIR/javaee/javaee6/jboss6 (UNIX) directory.

To enable tracing, set the trace attribute to true:

<attribute name="trace">true</attribute>

Previous Topic Next topic Print topic