Change database passwords that are used by WebSphere Portal
If database passwords are modified or expired, the new passwords must be updated in WAS so that WebSphere Portal can access them. Follow these steps to update the database passwords using the WAS Administrative console.
The WAS administrive server must be running for these tasks.
- Update version 5 data sources.
- Go to...
WAS_administrative_console | Security | JAAS Configurations | J2C Authentication Data- Select the alias that you want to change. Some examples are listed here.
- fbkDBAuth
- wmmDBAuth
- wpsDBAuth
- Update the password accordingly.
- Click Apply, and click Save to save the configuration. You are informed that security.xml has been changed.
- Update Version 4 data sources (required for version 5).
- Click Resources, then JDBC Providers.
- Select the wpcp50JDBC resource.
- Under Additional Properties select Data Sources (version 4.0).
- Select the data source that you want to change. Some examples are listed here:
- feedbackDS
- persDS
- wcmDS
- Update the password accordingly.
- Click Apply, and click Save to save the configuration. You are informed that security.xml has been changed.
- Update the file WCM.properties with the updated password.
- Locate the file in the following directory:
/QIBM/UserData/WebAS5/Base/<instance>/wpcp/config/<instance>/author/WCM.properties- Locate the wcm.database.password property, and update the password.
- Update the wpconfig.properties file to reflect the changed values.
- Check if the database user has become disabled due to invalid login attempts. Re-enable the database user if necessary.
- Restart WAS administrative server.
Repeat for each JDBC Provider, data source, and alias that is affected.
Be sure to update wpconfig.properties with the correct settings for all database users and passwords, as these may be used in the future during updates.
Results
WAS and WebSphere Portal have been updated to use the new database passwords. Verify that the WebSphere Portal application server is running by opening the following URL in a browser: http://<hostname.yourco.com>:<port_number>/wps/portal, where <hostname.yourco.com> is the fully qualified host name of the machine where WebSphere Portal is running and <port_number> is the transport port that is created by WAS.
Related information