Network Deployment (Distributed operating systems), v8.0 > Administer applications and their environment > Administer Data access resources > Administer data access applications > Configure a JDBC provider and data source


Verify a data source connection

Many connection problems can be easily fixed by verifying configuration parameters. There are steps that complete to enable a successful connection.

If your connection is still not successful after completing these steps and reviewing the applicable information, check the SystemOut.log for warning or exception messages. Then use the technical support search function to find known problems. See the IBM Suggests section of this topic for a link to the IBM support and downloads page, which contains the search function.


Procedure

  1. Create the authentication data alias. See the topic, Managing Java 2 Connector Architecture authentication data entries.

  2. Create the JDBC provider. See the topic, Configuring JDBC providers .

  3. Create a data source. See the topic, Configuring a data source

  4. Save the data source.

  5. Verify the connectivity if you created an authentication alias.

    To verify connectivity, restart the server for which verify connectivity.

    If you are using scripting or JMX to create the authentication alias, you can use the updateAuthDataCfg MBean. We can use this MBean method to refresh the authentication data in each server where it is needed. When you create a data source and the data source has not been used, you can use the updateAuthDataCfg MBean method. After a data source is used, its contents are instantiated in the server memory and generally cannot be changed.

    For more information about the updateAuthDataCfg MBean method, see the SecurityAdmin MBean documentation under Reference > Programming interfaces > Mbean interfaces.

  6. Test the connection.

    We can test your connection from the data source collection view or the data source details view. Access either view in the administrative console, and then select a connection from the list. Click Test Connection on the connection. See the topic, Test the connection service.


Test connection service
JDBC providers
Data sources
Resource reference benefits
Data source lookups for enterprise beans and web modules
Use HPEL to troubleshoot applications
Configure a JDBC provider
Configure a data source
Configure a JDBC provider for a clustered environment
Configure a JDBC provider and data source using the JMX API
Manage Java 2 Connector Architecture authentication data entries for JAAS


Related


Data source collection
Data source (WAS V4) collection
JDBC provider collection
Support and downloads: Technical support search function

+

Search Tips   |   Advanced Search