Configuring TIBCO MDM for WebSphere Application Server

Log in to the Administrative console of WebSphere Application Server to configure the properties.

Prerequisites

Configure the following properties in Configurator:

Configurator Properties for WebSphere Application Server
Property Name Value
JNDI Naming Service URL By default, the value is iiop://localhost:2809. As per your application profile, you need to change the host IP address and port number. For the port number, refer to BOOTSTRAP ADDRESS specified in the WebSphere Application Server. Login to the Administrative console of the WebSphere Application Server console and expand Application Servers > server name > Ports.
Security Provider Type By default, SUN security provider is defined. For WebSphere Application Server, you need to change it to IBM.
Note: For clustered setup, it is recommended that you:
  • Increase the poolsize per server to 100.
  • Increase the transaction timeout of the application server to 36000.

Procedure

  1. Creating a Profile on WebSphere Application Server
    1. Create a profile other than the default using the profile creation wizard.
    2. Start the Administration Server.
    • Go to the $WAS_HOME/profiles/profilename/bin directory.
    • Enter the following command: ./startServer.sh server1
  2. Log in to the Administrative console of WebSphere Application Server.
  3. Specify Servers Details
    1. In the left panel, expand Servers > Server Types and click WebSphere > application servers. The Application servers panel is displayed on the right.
    2. Under Preferences, click servername. The Configuration tab is displayed.
  4. For Transaction Service Details:
    1. Under Container Settings, expand Container Services and click the Transaction Service link. The Configuration tab for the Transaction Service is displayed.
    2. Under General Properties, enter the following values:
      Transaction Service General Properties
      Field / Drop-down List Name Values
      Total transaction lifetime timeout Enter 36000.
      Client inactivity timeout Enter 7200
      Maximum transaction timeout Enter 0.
      Heuristic retry limit Enter 0.
      Heuristic retry wait Enter 0.
      Heuristic completion direction Select ROLLBACK.
    3. Click OK. A message is displayed with the Save and Review options.
    4. Click the Save link to save changes to the master configuration.
  5. For ORB Service Details:
    1. Under Container Settings, expand Container Services and click the ORB service link. The Configuration tab is displayed.
    2. Under General Properties, check the Pass by reference check box.
    3. Click OK. A message is displayed with the Save and Review options.
    4. Click the Save link to save changes to the master configuration.
  6. For Server Infrastructure Details:
    1. Under Server Infrastructure, expand Java and Process Management and click the Process definition link. The Configuration tab is displayed.
    2. Under Additional Properties, click the Java Virtual Machine link. The Configuration tab is displayed.
    3. In the Initial heap size and Maximum heap size fields, enter the heap size to 1024 as the minimum value for both the fields.
    4. In the Generic JVM arguments field, enter the following JVM arguments:
    5. For readability, each entry is listed on a separate line. However, you need to enter these arguments in a single line, separated by a single space.
      -DLANG=en_US.UTF-8
      -DNODE_ID=${NODE_ID}
      -Dclient.encoding.override=UTF-8
      -DMQ_HOME=${MQ_HOME}
      -DMQ_LOG=${MQ_LOG}
      -DMQ_CONFIG_FILE=${MQ_HOME}/config/ConfigValues.xml
      -DMQ_COMMON_DIR=${MQ_COMMON_DIR}
      -DPATH=${PATH}
      -DOS=<OS>
      -DDISPLAY=:1.0
      -Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.TransformerFactoryImpl
      -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
      Note:
      • For Oracle database, enter -DORACLE_HOME=${ORACLE_HOME}
      • If you deploy TIBCO MDM on Solaris Sparc, specify the following JVM parameter: -Djava.io.tmpdir=${TMPDIR}

        Prior to this, add the TMPDIR variable and set it to any directory location.

      • To improve TIBCO MDM performance, enter the following JVM parameter while starting the application server:

        -Dorg.apache.xml.dtm.DTMManager="org.apache.xml.dtm.ref.DTMManagerDefault"

    6. To monitor the JVM application server, enter the following JVM arguments:
      -Dcom.sun.management.jmxremote
       -Dcom.sun.management.jmxremote.authenticate=false
      -Dcom.sun.management.jmxremote.ssl=false
      -Dcom.sun.management.jmxremote.port=9999
       -Djavax.management.builder.initial= 
      The value of Djavax.management.builder.initial argument must be empty.
    7. Click OK. A message is displayed with the Save and Review options.
    8. Click the Save link to save changes to the master configuration.
  7. For Port Details: if multiple servers and clusters are involved while installing TIBCO MDM on the WebSphere Application Server, you need to configure and allocate multiple ports to application.
    1. Under Communications, expand Ports. A list of ports is displayed.
    2. Verify the value of the wc_defaulthost port. The WebSphere Application Server runs on this default port.
    3. Ensure that the port is defined as a domain name system (DNS) alias in the default_host Virtual Host definition.
      Note: The DNS alias by which the virtual host is known is defined through Environment > Virtual Hosts > default_host > Host Aliases. The Virtual host for the Web modules that are contained in application is specified through Applications > WebSphere Enterprise Applications > ECM > Virtual hosts.
  8. Specify Environment Variables
    1. In the left panel, expand Environment and click WebSphere variables > . The WebSphere Variables panel is displayed on the right.
    2. In the Scope drop-down list, select Node=<nodeID>,Server=server1.
    3. Under Preferences, click New. The Configuration tab is displayed.

    4. Under General Properties, type a system variable name in the Name field and its value in the Value field. The Description field is optional.
    5. Click OK. The variable is listed in the table.
      Similarly, create other Environmental Variables. The following table displays a list of all other added environment variables.

  9. Configuring Database Drivers and Data Source
    1. Specify JDBC Details
      1. In the left panel, expand Resources > JDBC, and then click JDBC providers. The JDBC providers panel is displayed on the right.
      2. In the Scope drop-down list, select Node=<nodeID>, Server=server1.
      3. Under Preferences, click New. The Create a new JDBC Provider window is displayed.


      • In the Database type drop-down list, select Oracle. The Provider type is populated with Oracle JDBC Driver.
      • In the Implementation type drop-down list, select Connection pool data source. The Name and Description fields are populated with Oracle JDBC Driver.
      1. Click Next. The Enter database class path information window is displayed.

      2. If you have selected the Oracle database option in the last step, type the location of the ojdbc6.jar file.
      3. Click Next. The Summary window is displayed. Review the information.

      4. Click Finish. The Oracle JDBC Driver is listed under Preferences and a message is displayed with the Save and Review options.
      5. Click the Save link to save changes to the master configuration.
    2. Specify Security Details
      1. In the left panel, expand Security and click Global security. The Global security panel is displayed on the right.
      2. Under Authentication, expand Java Authentication and Authorization Service and click the J2C authentication data link.
      3. Under Preferences, click New. The General Properties window is displayed.


      4. In the Alias, User ID, and Password fields, type the database alias name, its user ID, and password respectively. The Description field is optional.
      5. Click Apply, and then click OK. The database Alias is listed under Preferences and a message is displayed with the Save and Review options.
      6. Click the Save link to save changes to the master configuration.
    3. Specify Data Source Details
      1. In the left panel, expand Resources > JDBC, and then click Data sources. The JDBC providers panel is displayed on the right.
      2. In the Scope drop-down list, select Node=<nodeID>, Server=server1.
      3. Under Preferences, click New. The Create a data source window is displayed.


      4. Enter the Data source name and JNDI name.
      5. Click Next. The Select JDBC provider window is displayed.

      6. Select either of the following two options:
        • Create a new JDBC provider
        • Select an existing JDBC provider: After you select this option, the existing JDBC providers are displayed in the drop-down list. You can select it from the list.
      7. Click New. The Enter database specific properties for the data source window is displayed.

        • In the Value field, enter the database connection URL. For example, for Oracle database: jdbc:oracle:thin:@ machinename or ipaddress:portnumber: INSTANCENAME.
        • In the Data store helper class name drop-down list, select the appropriate data store helper class name. For example, Oracle11g data store helper.
      8. Click Next. The Setup security aliases window is displayed.

        • In the Component-managed authentication alias drop-down list, select the alias.
        • In the Mapping-configuration alias drop-down list, select DefaultPrincipleMapping.
        • In the Container-managed authentication alias drop-down list, select alias.
      9. Click Next. The Summary window is displayed. Review the information.

      10. Click Finish. The data source is listed in the Preferences section and a message is displayed with the Save and Review options.
      11. Click the Save link to save changes to the master configuration.
        Note: You must save the data source name before testing its connection, else an error message is displayed.
      12. Under Preferences, select the Data Source name and click Test Connection to test the connection. A Connection Successful message is displayed.
        Note: Go to Data sources > DataSourceName > Connection pool properties to set the Maximum connections to 50 and the connection timeout to 7200.