Step 3: Add a J2C connection factory to the IMS TM resource adapter installed on WebSphere Application Server

You add a connection factory to the J2C resource adapter. Web applications request functions from J2C style connectors by first performing a lookup of its associated connection factory using a specific JNDI name.

About this task

This task begins at the IBM® WebSphere® Application Server Administrative console.

To add a J2C connection factory to the IMS™ TM resource adapter:

Procedure

  1. From the WebSphere Application Server administrative console contents pane, expand Resources and then click Resource Adapters > Resource Adapters.
  2. Click IMS TM resource adapter.
  3. Under the Additional Properties heading, click J2C connection factories.
  4. Click New. Enter a name for the connection and a name for the JNDI.
    Tip: You can name the connection factory anything, but give the connection and corresponding JNDI the same name.
  5. For the Provider field, ensure that the IMS TM resource adapter is selected.
  6. Click OK and then Save in the Messages box at the top of the pane.
  7. Click the name of connection factory you created.
  8. Under Additional Properties, select Custom properties. Click the HostName, PortNumber, and DataStoreName property names and change their values to reflect your environment. Click OK and then click Save.

Feedback