Previous Topic Next topic Print topic


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 6.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 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 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 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 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\jbossweb.deployer\META-INF 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\Visual COBOL for Visual Studio 2015\javaee\javaee6\jboss6 directory.

To enable tracing, set the trace attribute to true:

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

Previous Topic Next topic Print topic