JMS - Prerequisites (Magic xpi 3.x)
Before you use the Magic xpi JMS component, you should perform these steps:
-
Install the Jre13.exe and J2sdkee-1_3_1-win.exe files.
-
Configure your operating system so that you can test the J2EE environment. Open your machine's System Properties dialog box, click the Advanced tab, and then click the Environment Variables button.
-
You should make these settings in the Environment Variables dialog box:
|
|
%JAVA_HOME%
|
The directory where the JDK is installed.
|
%J2EE_HOME%
|
The directory in where the J2EE product is installed.
|
%CLASSPATH%
|
Add these paths:%J2EE_HOME%\lib\j2ee.jar;%J2EE_HOME%\lib\locale
|
%PATH%
|
Add this path:%J2EE_HOME%\bin
|
-
You should make these settings in the Magic xpi Magic.ini file's [MAGIC_JAVA] section:
|
|
CLASSPATH=
|
.\;.\JAVA_CLASSES
|
JVM_ARGS=
|
-Djms.properties=%J2EE_HOME%\config\jms.client.properties
|
JMS Provider Settings
The J2EE server is the JMS provider. To access the server from the JMS client, you need to make these settings:
-
Open the %J2EE_HOME%config\orb.properties file.
-
Set the J2EE server path and port number.
For example:
%J2EE_HOME% - C:\j2sdkee1.3.1