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?
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.
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
All those who have not found yet should check at cluster level
/$WAS_HOME/profiles/dmgr/cells/cell_name/clusters/cluster_name/resources.xml
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.