bea.com | products | dev2dev | support | askBEA
 Download Docs 
 Search 

Migration Guide

 Previous Next Contents View as PDF  

Migrating from BEA WebLogic Java Adapter for Mainframe Version 4.x to 5.x

If you are using BEA WebLogic Java Adapter for Mainframe (WebLogic JAM) version 4.x, you need to understand the changes that have been made to WebLogic JAM 5.x 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.x. The following sections contain migration information that you should consider as you prepare to use WebLogic JAM 5.x. Migration considerations include:

 


Converting Your jcrmgw.cfg File

If you want to use the configuration you set up in WebLogic JAM 4.x, 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.x.

WebLogic JAM 4.x was configured by creating a text file named jcrmgw.cfg. WebLogic JAM 5.x 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.x, 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.x domain.

  2. Convert the jcrmgw.cfg file to a WebLogic JAM 5.x configuration by using the ConfigConverter utility included during installation of the WebLogic JAM 5.x 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 5.x version and 4.x 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:

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

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

Changing VTAM Definitions for Transaction Support

WebLogic JAM 5.x provides support for transactions. If you are migrating from WebLogic JAM 4.x, you must change your VTAM definitions. In WebLogic JAM 4.x SYNCLVL was set to NONE. To enable WebLogic JAM 5.x 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 4.x to 5.x 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 WebLogic JAM 4.x are not used for configuration in WebLogic JAM 5.x. 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.x information:

Command-line Options from Previous Releases

WebLogic JAM 5.x

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.x.

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.x 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.x.

Other Migration Considerations

WebLogic JAM 5.x handles the following functions differently than version 4.x. This change will impact the way you use the product.

 

Back to Top Previous Next