

CA RiskMinder Windows Installation Guide › Configuring Application Server for Database Connection Pooling › Enabling Database Connection Pooling › IBM WebSphere
IBM WebSphere
This section provides the steps to enable IBM WebSphere for JNDI-based database operations. To configure an IBM WebSphere instance for deploying Java-dependent components of RiskMinder:
- Log in to WebSphere Administration Console.
- Select Resources and expand the JDBC node.
- Click JDBC Providers.
The JDBC Providers page appears.
- In the Preferences section, click New to create an appropriate JDBC provider based on the database that you are using.
The Create a new JDBC Provider page appears.
- Perform the following tasks to create the JDBC Provider.
Note: For more information, refer to:
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/topic/com.ibm.websphere.base.iseries.doc/info/iseries/ae/tdat_ccrtprov.html
- Specify the Database Type and Provider Type.
Select Connection pool data source from the Implementation Type drop-down list.
- Enter a Name for the JDBC provider. You can also enter a Description for the JDBC Provider.
- Click Next.
The Enter database class path information screen appears.
- Enter the absolute path for the JAR file.
- Click Next.
The Summary screen appears.
- After reviewing the summary of the information that you have entered, click Finish to complete the JDBC provider configuration.
- Set the CLASSPATH for the JDBC provider that you created in Step 5.
- Click Resources and expand the JDBC node.
- Click JDBC Providers.
The JDBC Providers page appears.
- Click the JDBC Provider that you created in Step 5.
- Set the Class Path for the JDBC JAR.
- Click Apply to save the changes.
- Create a Data Source, as follows:
- Go to Resources, and then click JDBC.
- Under JDBC, open Data Sources and click New. Perform the following steps to create a data source:
- Specify the Data source name.
- Specify the JNDI name.
Note: This name must match with the value of AppServerConnection PoolName.N in arcotcommon.ini.
- Click Next.
- Select an existing JDBC provider created in Step 3.
- Click Next.
The Enter database specific properties for the data source screen appears.
- Depending on the database, enter the following information:
- For Oracle:
Specify the Value for JDBC URL. This URL would be of the following type:
jdbc:oracle:thin:@<server>:<oracle_port>:<sid>
Select the Data store helper class name.
- For MS SQL Server:
jdbc:sqlserver://<server>:<sql_port>;databaseName=<databasename>;selectMethod=cursor
- For MySQL:
jdbc:mysql://<server>:<port-number>/<database>
- Click Next.
The Setup Security aliases screen appears.
- Click Next to view the Summary screen, and then click Finish.
- Click the data source created in Step 8.
- In the Related Items section, click JAAS - J2C authentication data.
- Click New to create a new credential.
- Enter login credentials that are used to connect to the database and save the credential.
- Click Apply, and then click OK to save the changes made.
- Click Data Sources and select the data source that you created in Step 8.
- Under Security Settings -> Component-managed authentication alias, select the JAAS credential that you created in Step 12 and click Apply, and then OK.
- Click Data Sources and select the check box for the data source you created in Step 8.
- Click Test connection to verify that you have specified the connection correctly.
Note: This test only checks the connection to the database server, not necessarily the correct definition of the data source.
Copyright © 2013 CA.
All rights reserved.
 
|
|