![]() |
![]() |
|
|
Deploying Your Configuration
After you create your JAM gateway configuration file, you need to deploy it, set the WebLogic Server CLASSPATH, and add your JAM startup class to the WebLogic Server configuration file. Then you can verify that your JAM system is running. The topics in this section cover the steps you need to complete to start your JAM system.
Action List
Before you deploy your configuration and start the JAM system, see the following action list and refer to the appropriate information sources.
Prerequisites
Before you deploy your configuration and start the JAM system, you should complete the following tasks.
Placing the Gateway Configuration File in the WebLogic Server Start Directory
WebLogic Server supports multiple configured server domains.
Place the jcrmgw.cfg file in the top-level WebLogic directory similar to the following example:
<bea_home>/<install_dir>/config/<domain_name>
In this example, the directory resolves to the resources for one started instance of a WebLogic Server.
Setting the WebLogic Server CLASSPATH for the JAM.JAR File
When you installed your JAM product, you should have already set your WebLogic Server CLASSPATH as described in the BEA WebLogic Java Adapter for Mainframe Installation Guide.
If you have not already done so, use the following command to place the jam.jar file in your CLASSPATH:
<JAM 42 installation directory>/lib/jam.jar
Adding the JAM Startup Class to the WebLogic Server Configuration File
The JAM startup class, com.bea.jcrmgw.gwboot, must be added to the WebLogic Server configuration file called config.xml to start the JAM gateway. The JAM gateway is then automatically started when you start WebLogic Server. The startup class can be added through the WebLogic Server Administration Console. Refer to the BEA WebLogic Server Administration Guide for specific instructions on adding a Startup Class to the configuration using the WebLogic Server Administration Console.
Note: Be sure to set the CLASSPATH as described in Setting the WebLogic Server CLASSPATH for the JAM.JAR File before you start WebLogic Server.
Figure 5-1 shows an example of the WebLogic Server Administration Console displaying the settings for a JAM gateway that communicates with a distributed CRM that is started in a remote environment. The console indicates that WebLogic Server will not stop if the JAM gateway fails to start because the Abort startup on failure option is not checked.
Refer to the following general tips for adding the JAM startup class through the WebLogic Server Administration Console.
Figure 5-1 Details of the jcrmgw Startup Class
The following arguments can be used with JAM:
Verifying that the JAM Gateway is Ready
After you deploy the configuration file, set the WebLogic Server CLASSPATH, and add your JAM startup class to the WebLogic Server configuration file, you are ready to verify that the gateway is ready.
Then, you can verify that your JAM gateway is ready by performing the following checks:
<(Date) (Time)> <Notice> <jcrmgw> <JAM gateway ready for use>
What Do I Do Next?
After you deploy your JAM configuration and start the system, you are ready to learn how to use the JAM Administration utilities, the CRM Monitor and JAM Administration Servlet. You will use the CRM Monitor to verify that your JAM gateway is running properly. Refer to Using JAM Administration Utilities for more information.
![]() |
![]() |
![]() |
|
Copyright © 2001 BEA Systems, Inc. All rights reserved.
|