developer
developer

Reputation: 9478

Where are Websphere database configuration files saved?

When we create a configuration from Admin Console for database configuration, those details will be saved in resource.xml (i think).

What is path of the that configuration file?

Upvotes: 5

Views: 42696

Answers (3)

user666
user666

Reputation: 1172

All those who have not found yet should check at cluster level

/$WAS_HOME/profiles/dmgr/cells/cell_name/clusters/cluster_name/resources.xml

Upvotes: 0

Bilkov
Bilkov

Reputation: 71

In addition to the previous answer keep in mind that resources.xml exist on each of the three levels of configuration: Cell level, node level and server level. Database connection can be defined on all of those levels, according to your design:

$WAS_HOME\profiles\PROFILE_NAME\config\cells\CELL_NAME\resources.xml

$WAS_HOME\profiles\PROFILE_NAME\config\cells\CELL_NAME\nodes\NODE_NAME\resources.xml

$WAS_HOME\profiles\PROFILE_NAME\config\cells\CELL_NAME\nodes\NODE_NAME\servers\SERVER_NAME\resources.xml

Upvotes: 6

Terrell Plotzki
Terrell Plotzki

Reputation: 2034

Close, "resources.xml" is what you are looking for. If you are using a standalone Websphere instance, it is likely something close to this:

$WAS_HOME\profiles\PROFILE_NAME\config\cells\CELL_NAME\nodes\NODE_NAME\servers\SERVER_NAME\resources.xml

PROFILE_NAME, CELL_NAME, NODE_NAME, should all have your machine name in them by default. SERVER_NAME is configurable but I believe is 'server1' by default.

Sorry I could not be more definite, but it there are a lot of variables at play in websphere configurations.

Upvotes: 11

Related Questions