

Pre-Generation Tasks › CA Gen Java Runtime/User Exits › Deploy the CA Gen Java Runtimes
Deploy the CA Gen Java Runtimes
If you choose to deploy the CA Gen Java Runtime to the application server rather than in the application's EAR file, the following procedure shows how to perform the deployment.
Follow these steps:
- Install and configure the application server in accordance with the documentation provided by the vendor.
- On the Windows system, open a Command Prompt window.
- Set the environment variable JAVA_HOME to the disk and directory where Java SE is located:
set JAVA_HOME C:\Program Files\Java\jre#.#.#_##\
- Change to the <CA-Gen-root>\GEN\CLASSES directory:
cd "%Genxx%"
cd gen\classes
Note: xx refers to the current release of CA Gen. For the current release number, see the Release Notes.
- Execute the batch file MKJAVART with the appropriate case-sensitive parameters exactly as described below.
Note: It is good practice to put the CA Gen product version number in the JAR file's name.
- If the application server executes only CA Gen generated EJBs, enter the following command:
MKJAVART genrt.xx.jar EJB EJBRMI WS
- If the application server executes both CA Gen generated Java Web Clients and CA Gen generated EJBs, enter the following command:
MKJAVART genrt.xx.jar WCE EJB EJBRMI WS
Note: xx refers to the current release of CA Gen. For the current release number, see the Release Notes.
- If CA Gen generated EJBs are to participate in flows to and from CA Gen generated non-EJBs servers, additional communication types are needed. Use the USAGE parameter to display the full list of supported parameters and cooperative flow runtimes:
MKJAVART USAGE
- When the batch file has completed, copy the JAR file to the appropriate directory for the target application server. The directory is different for each application server. Review the documentation for your application server to determine the best location for additional JAR files to be installed.
Copyright © 2013 CA.
All rights reserved.
 
|
|