Creating a connection factory for the IMS resource adapter

After you have installed the IMS resource adapter on your server, you need to create a connection factory for the IMS resource adapter, if it does not already exist. The connection factory is used by one or more application to create connections between IMS and IMS Connect.

To create a connection factory to for the IMS resource adapter, complete the following steps:
  1. On the welcome page of WebSphere Application Server, expand Resources > Resource Adapters.
  2. Scroll to the bottom of the page and click the name of the RAR file for which you want to create a connection factory. For example, select IMSRAR9102. The General Properties page will appear.
  3. In the General Properties page, in the right-hand column under Additional Properties, select J2C Connection Factories.
  4. Click the New button and in the Name field type a name for the connection factory. For example, myIMSA.
  5. In the JNDI name field, accept the default.
  6. Click OK.
  7. Click the name of the connection factory that you just created, myIMSA. The configuration page opens.
  8. On the configuration page, in the right-hand column under Additional Properties, click Custom properties.
  9. Click on each of the fields below to fill in the values to configure your connection factory. For example:
    • In the HostName row, click on the existing value. In the configuration page that comes up, type MYHOST.MYCOMPANYNAME.COM in the Value field and then click OK.
    • In the PortNumber row, click on the existing value. In the configuration page that comes up, type 9999 in the Value field and then click OK.
    • In the DataStoreName row, click on the existing vaule. In the configuration page that comes up, type MYDSTOR in the Value field and then click OK.
  10. Click Save at the top.
  11. Click Save again when prompted to save your workspace to the master configuration.
  12. Stop the server and then restart it to see the new connection factory.
You now have created a connection factory for your RAR file.
Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.