BEA Home | Events | Solutions | Partners | Products | Services | Download | Developer Center | WebSUPPORT
WebLogic Java Adapter for Mainframe Documentation | BEA WebLogic Java Adapter for Mainframe Migration | Previous Topic |

Migrating from Previous Versions of BEA WebLogic Java Adapter for Mainframe

If you are using a previous version of BEA WebLogic Java Adapter for Mainframe (WebLogic JAM), you need to understand the changes that have been made to WebLogic JAM 5.0 and determine how these changes will affect the way you use the new product. The components of previous versions of WebLogic JAM will not run with the components of WebLogic JAM 5.0. The following sections contain migration information that you should consider as you prepare to use WebLogic JAM 5.0. Migration considerations include:

- Converting Your jcrmgw.cfg File

- Changing VTAM Definitions for Transaction Support

- Defining the WebLogic JAM Startup Class

- Using WebLogic JAM Command-Line Options

- Other Migration Considerations

Converting Your jcrmgw.cfg File

If you want to use the configuration you set up in a previous version of WebLogic JAM, you must complete the following steps to convert the jcrmgw.cfg file. You must also enter additional information required for configuration by WebLogic JAM 5.0.

Previous versions of WebLogic JAM were configured by creating a text file named jcrmgw.cfg. WebLogic JAM 5.0 configuration is now integrated with the WebLogic Administration Console. To import configuration information from an existing jcrmgw.cfg file, WebLogic JAM uses a command line utility called ConfigConverter.

After installing WebLogic JAM 5.0, convert your jcrmgw.cfg by completing the following tasks:

1. Copy the jcrmgw.cfg file from its current location to the desired WebLogic JAM 5.0 domain.

2. Convert the jcrmgw.cfg file to a WebLogic JAM 5.0 configuration by using the ConfigConverter utility included during installation of the WebLogic JAM 5.0 product in the following way:

1. Set your CLASSPATH to include jam.jar in which the ConfigConverter is packaged.

2. Invoke the utility by typing the following command on the command line:

>     java com.bea.sna.config.ConfigConverter

The ConfigConverter will parse a single jcrmgw.cfg file located in the current directory. It will validate the contents of the file, translate the information contained in the file, and write it to a WebLogic JAM configuration file (jamconfig.xml) in the same directory.

Because of differences between the configuration for the current and previous version of WebLogic JAM, a jcrmgw.cfg file does not contain enough information to create a valid WebLogic JAM configuration. The ConfigConverter utility will prompt you to input the necessary additional information on the command line. The following information will be required:

- The target name in the Gateway section will default to myserver, but you will be prompted with the option to specify a different name.

Note: When using ConfigConverter, make sure that you enter the server name, not the domain name.

- The JC_REMOTE_DOMAINS section of the jcrmgw.cfg does not contain entries that differentiate between CICS, IMS, or Batch region. You will be prompted to identify each remote domains as a CICS, IMS, or Batch regions.

3. Restart WebLogic Server after you have entered the required information.

Changing VTAM Definitions for Transaction Support

WebLogic JAM 5.0 provides support for transactions. If you are migrating from a previous version of WebLogic JAM, you must change your VTAM definitions. In previous versions, SYNCLVL was set to NONE. To enable WebLogic JAM 5.0 to support transactions, SYNCLVL must be set to SYNCPT.

For more information about VTAM definitions, refer to the BEA WebLogic Java Adapter for Mainframe Configuration and Administration Guide.

Performing Other Configuration and Administration Tasks

The following sections describe other configuration considerations that are important when migrating from previous versions of WebLogic JAM.

Defining the WebLogic JAM Startup Class

When creating the WebLogic JAM startup class in WebLogic Server, note that the name of the startup class has changed from com.bea.sna.jcrmgw.gwBoot to com.bea.jam.GatewayStartup.

You can manually create this startup class or it will automatically be done for you when you run the Installation Verification Sample. For information about the Installation Verification Sample, refer to the BEA WebLogic Java Adapter for Mainframe Installation Guide.

Using WebLogic JAM Command-Line Options

Startup command-line options that were used in previous versions of WebLogic JAM are not used for configuration in WebLogic JAM 5.0. These options are now configured using the WebLogic Administration Console or are no longer used.

Former command-line options are listed below with corresponding WebLogic JAM 5.0 information:

Command-line Options from Previous Releases | WebLogic JAM 5.0
--- | ---
Local CRM (-r) | This option allowed the WebLogic JAM Gateway to start a CRM on the local platform as part of its initialization. | This functionality is not supported in WebLogic JAM 5.0.
Trace option (-t) | This option allowed the trace level of the CRM to be set when it is initialized. | This functionality can be accomplished by using the -t option on the CRM command line. The trace level can also be changed dynamically on the CRM page of the WebLogic Administration Console. Refer to the BEA WebLogic Java Adapter for Mainframe Configuration and Administration Guide for additional information about trace levels.
Default user option (-u) | This option allowed the WebLogic JAM Gateway to assign a default user ID to all requests passing through the Gateway. | This option has been changed for WebLogic JAM 5.0 to assign a default user ID to all requests for a specific link on a CRM. This option can be set on the CRM Link configuration page in the WebLogic Administration Console. Refer to the BEA WebLogic Java Adapter for Mainframe Configuration and Administration Guide for additional information about user IDs.
No exit option (-noexit) | This option allowed the WebLogic JAM 4.2 Gateway to terminate its WebLogic Server instance when the Gateway stopped. | This feature is not available in WebLogic JAM 5.0.

Other Migration Considerations

WebLogic JAM 5.0 handles the following functions differently than previous versions This change will impact the way you use the product.

- WebLogic JAM Admin Servlet

The functions of the WebLogic JAM Admin Servlet have been migrated to the WebLogic Administration Console. The ability to start and stop the WebLogic JAM Gateway is available on the JAM Gateway page of the WebLogic Administration Console on the Start/Stop tab. The setting of the WebLogic JAM command-line option is no longer relevant. Functions of the command-line options have been changed as described in previous table.

- CRM Monitor

The functions of the CRM Monitor have been moved to the WebLogic Administration Console. The ability to set the CRM trace levels is now available on the CRM page of the WebLogic Administration Console. Request logging information from the CRM can now be viewed on the CRM page of the WebLogic Administration Console on the Monitoring tab.

- CRM startup command

In previous versions, the CRM startup command required a GROUPNAME. This GROUPNAME associated the CRM to a group name in the jcrmgw.cfg file. In this release, the startup command must specify the CRM name. This name associates the CRM to its configuration entry in the new WebLogic JAM configuration. All Gateways that connect to this CRM also reference this CRM name. Refer to the BEA WebLogic Java Adapter for Mainframe Configuration and Administration Guide for additional information.

Copyright © 2002 BEA Systems, Inc. All rights reserved. Required browser: Netscape 4.0 or higher, or Microsoft Internet Explorer 4.0 or higher.