Lesson 4 leads you through the steps to configure WebSphere® Application Server
and add your IMS™ inbound project
to the server
In this lesson, you
- Start WebSphere Application
Server
- Configure WebSphere Application Server
- Install resource adapter on server
- Configure resource adapter
- Add your IMS inbound project
to the server
- Click Servers view.
Note: If you do not see the Servers view, you must open the Servers
view, select .
- In the Servers view, right click WebSphere Application Server v7.0 and select Start.
- Once the server is started, right click WebSphere Application Server v7.0 and select . The administrative console appears
in the Editor area of your workspace.
- Select .
- On the Resource Adapters page, click Install
RAR.
- On the Resource Adapters page, in the path field, click Browse to locate the RAR file.
This file is located in your install directory, under <install_dir>/IBM/SDP/ResourceAdapters/ims15. Select imsico1030.rar, and click Open.
- On the Install RAR page, click Next.
- On the Resource Adapters page, provide a name for this
resource adapter (IMS TM Resource
Adapter) and click OK.
- On the Resource Adapters page, click Save.
- On the Resource Adapters page, click your new resource
adapter (IMS TM Resource Adapter).
On the IMS TM Resource Adapter
page, in the Additional Properties field, click J2C activation specifications.
- On the J2C activation specifications page, click New.
- In the Name field, type a name for the activation specifications,
for example, Test.
- In the JNDI name field, type a JNDI name, for example, IMSInbound:
Click Apply.
- On the Resource Adapters page, click Save.
- On the J2C activation specifications page, click your activation
specification resource (IMSInbound).
- On the J2C activation specifications page, in the Additional properties field, click J2C activation
specification custom properties. Set the custom properties
(You can obtain these values from your IMS administrator):
- Click dataStoreName, and provide
a value for the IMS datastore
name. Click Apply, and on the Resource Adapters
page, click Save.
- Click hostName, and provide a
value for the host name. Click Apply, and on
the Resource Adapters page, click Save.
- Click portNumber, and provide
a value for the port number. Click Apply, and
on the Resource Adapters page, click Save.
- Click queueNames, and type IVPPIPE4 for the Queue name, click Apply, and on the Resource Adapters page, click Save.
- In the Servers view, right click WebSphere Application Server v7.0 and select Add and remove projects. Select IMSInboundEar, and click Add. Click Finish. Your application is now published to the server.
Once the event is triggered from the IMS server, the following output displays on
the console:
[2/17/09 13:52:11:787 EST] 00000015 SystemOut O Synchronous callout request from IMS to WebSphere MDB
[2/17/09 13:52:11:787 EST] 00000015 SystemOut O HELLO FROM IMS
[2/17/09 13:52:11:787 EST] 00000015 SystemOut O Synchronous callout response from WebSphere MDB to IMS