Step 8: Add a J2C Connection Factory to the installed IMS TM resource adapter

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.

Before you begin

Before adding the J2C connection factory, ensure that the IMS™ TM resource adapter has been installed.

About this task

The IMS TM Resource Adapter displays in the list of resource RAR files on the Resource Adapters page of the Administrative Console.
Complete the following steps to add a J2C connection factory:

Procedure

  1. In the left frame of the IBM® WebSphere® Application Server administrative console, expand Resources > Resource Adapters and click Resource adapters.
  2. Click the link for the IMS TM resource adapter.
  3. Under the Additional Properties section, click J2C connection factories. You might need to scroll down to see this link.
  4. Click New to add a new J2C connection factory for this resource adapter.
  5. In the Name field, enter mfs_cf or other names as the name of this new connection factory for the IMS TM resource adapter.
  6. In the JNDI name field, enter myJNDI. Click Apply to apply your changes.
    Important: This value should match the JNDI name of the managed connection factory setting that was specified during the Phonebook MFS J2C service creation.
  7. Next, under Additional Properties, click Custom properties and specify the connection properties for the connection factory. You must specify the values for HostName, PortNumber, and DataStoreName.
    The Connection Properties
    After setting the value for each property, click OK.
  8. When you are finished entering values for connection properties, click Save in the Message(s) box at the top of the Custom Properties page.
    Important: if you made any changes to the IMS TM resource adapter, you must restart WebSphere Application Server.

Feedback