InfoCenter Home >
6: Administer applications >
6.6: Tools and resources quick reference >
6.6.14: Administering database connections (overview) >
6.6.14.11: Recovering from data source configuration problems using the XAResources file

6.6.14.11: Recovering from data source configuration problems using the XAResources file

When a WebSphere application server starts, the product stores information about any JTA-enabled data sources used by the server. This information is needed to recover from server failures. The information is kept in the file:

product_installation_root/properties/application_server_nameXAResources

Every time the server comes up, the server runtime examines this file and attempts any needed recovery on the resources described in this file.

In the event that a JTA-enabled DataSource is configured incorrectly, you might see server startup failures or warning messages due to the incorrectly-configured resources.

For example, you might see the warning message:

WTRN0025W: Can not create XAResource object

There is a work-around for this problem, if you are sure that you do not have other JTA-enabled data sources on this server for which recovery needs to be driven. You can simply remove the application_server_nameXAResources file from the properties directory, correct the configuration error, and attempt to start the server again. The XAResources file will be re-created when the server starts.

Go to previous article: Failover support with HACMP Go to next article: Administering virtual hosts (overview)

 

 
Go to previous article: Failover support with HACMP Go to next article: Administering virtual hosts (overview)