In this section you will configure the test environment server
on which you will test the adapter/mediation flow and the monitor model.
- In the Servers view, right-click WebSphere Business
Monitor Server v6.1 for WebSphere ESB server and select Start.
- Right-click on the started WebSphere Monitor Server
for WebSphere ESB and select Run administrative console.
- Type in the user ID admin and password admin,
and click Log In.
- Create a J2C Authentication Alias.
- In the left hand window, expand Security and
click Secure administration, application infrastructure.
Expand Java Authentication and Authorization Service in
the right window.
- Click J2C authentication data.
- Click New. Type DB2 for
Alias and your DB2 userid and password.
- Click OK.
- Click Save to save the
changes directly to the master configuration.
- Repeat steps 4.a through 4.e for J2C authentication alias
JDBCAdapter/inbound. Scroll down to verify the new entries you added.
- Create a JDBC Provider for DB2.
- Expand Resources on the left hand window.
- Expand JDBC. Click JDBC Providers.
- Set the scope to Node=WBMonSrv_esb_Node.
- Click New. For Database type, select DB2,
for Provider type select, DB2 Universal JDBC Driver Provider,
and for Implementation type, select XA data source.
- Click Next. Type the directory location
for the indicated jar files.
- Click Next.
- Click Finish.
- Click Save to save the changes directly
to the master configuration.
- Create a data source for the provider just created.
- Click the DB2 Universal JDB Driver Provider (XA).
- Click Data sources.
- Click New.
- Type jdbc/DB2XA for JNDI name. This matches
the JNDI name you used when configuring the JDBC adapter. Select WBMonSrv_esb_Node/DB2 as
the authentication alias and then click Next.
- Type ADAPTER for Database name and localhost for
Server name.
- Click Next and then click Finish.
- Click Save to save the changes directly
to the master configuration.
- Select the box under Select and click Test
connection. Ensure that the test connection is successful.
- Restart the WebSphere Business Monitor Server v6.1 on
WebSphere ESB server.