Deploying TAFJ Application

This section shows the steps required to deploy TAFJ.

Creating WebSphere Variables

Two WebSphere variables are required for the TAFJ application. TAFJ_HOME points to the TAFJ home directory. T24_MODELBANK_SHAREDLIB points to the Model Bank JAR file.

Procedure

  1. Select scope as server.
  2. Click Environment > WebSphere variables > New.
    1. Name: TAFJ_HOME
    2. Value: The full path to your TAFJ_HOME folder
  3. Click OK and save changes to master configuration.
  4. Repeat steps 1 to 3 with the following details:
    1. Name: T24_MODELBANK_SHAREDLIB
    2. Value: The full path to your MODELBANK_HOME folder where you find the ModelBank.jar file.

  5. Update the tafj.properties file in %TAFJ_HOME%/conf under the key temn.tafj.directory.precompile. This must point to the model bank JAR file. For example,
  6. temn.tafj.directory.precompile = /usr/lpp/WebSphere/AppServer/T24/ModelBank.jar

Creating Shared Libraries

Procedure

  1. Select scope as server.
  2. Click Environment > Shared Libraries > New.
    1. Name : TAFJ shared libraries
    2. Classpath: ${TAFJ_HOME}/dbdrivers/db2/db2jcc4.jar, ${TAFJ_HOME}/dbdrivers/db2/db2jcc_license_cisuz.jar, ${TAFJ_HOME}/ext/TAFJBASIC.jar
  3. File:User:antowilliam/TAFJ_Installation_Guide_for_WebSphere_under_zOS/image036.jpg

  4. Click OK and save changes to master configuration.
  5. Repeat steps 1 to 3 with the following details:
    1. Name : TAFJ shared libraries
    2. Classpath: ${T24_MODELBANK_SHAREDLIB}/R10GA.jar

Deploying the Application

Procedure

  1. Click Applications > New Application > New Enterprise Application.
  2. Select the Remote file system deployment option and specify the full path to the tafj_ear.ear file under the % TAF_HOME%\appserver folder. For example,
  3. /usr/lpp/WebSphere/AppServer/TAFJ/appserver/tafj_ear.ear

  4. Click Next.
  5. Select Detailed - Show all installation options and parameters.
  6. Click Next and perform the following in the next following screen.
    1. Step 1: Select installation options. Let values default and click Next.
    2. Step 2: Map modules to servers. Let values default and click Next.
    3. Step 3: Provide JSP reloading options for Web modules. Let values default and click Next.
    4. Step 4: Map shared libraries.

  7. Select the TAFJJEE_EAR application and click Reference shared libraries.
  8. Click T24 shared library in the Available box and click the right arrow.
  9. Repeat for TAFJ shared libraries.
  10. Click OK.
  11. Repeat the process for the TAFJJEE_WAR_TAFJ application.
  12. Click Next and perform the following in the next following screen.
    1. Step 5: Map shared library relationships. Let values default and click Next.
    2. Step 6: Bind listeners for message-driven beans. Let values default and click Next.
    3. Step 7: Map resource references to resources. Let values default and click Next.
    4. Step 8: Map virtual hosts for Web modules. Let values default and click Next.
    5. Step 9: Map context routes for Web modules. Let values default and click Next.
    6. Step 10: Metadata for modules. Let values default and click Next.
    7. Step 11: Summary.

  13. Click Finish.
  14. The application should now install.

  15. Click Save.

Changing the Class Loader Order

Procedure

  1. In the navigation pane, click Applications > Application Types > WebSphere enterprise applications > TAFJJEE_EAR.
  2. Select Class loading and update detection.
  3. Select Classes loaded with local class loader first (parent last).
  4. Click OK and save settings to master configuration.
  5. Restart the application server to get the TAFJJEE_EAR application to start.
  6. Once the server is up, verify that the application is started:
    1. Click Applications > Application Types > WebSphere enterprise applications.

Copyright © 2020- Temenos Headquarters SA

Published on :
Wednesday, October 12, 2022 7:00:35 PM IST

Feedback
x