Change database passwords used by WebSphere Portal
If database passwords are modified or expired, we must specify the new passwords on the WAS and on the IBM DB2 Universal Databaseā¢ Enterprise Server Edition server so that IBM WebSphere Portal can access them.
- Verify the administrative server for WebSphere Application Server is running.
- If this server is a clustered environment, we must have the Deployment Manager and the nodes up and the WebSphere Portal server stopped.
- If the VMM is using the database, see Change the password for a repository under a federated repositories configuration in the related links for instructions on updating the VMM database password.
- Check whether the database user was disabled because of invalid login attempts.
Re-enable the database user if necessary.
- Update the data sources for WebSphere Portal:
- Log in to the WAS admin console.
- Click...
Security | Global security | Java Authentication and Authorization Service | J2C Authentication Data
- Select the alias that we want to change; for example:
- wpsDBAuth
- jcrDBAuth
- fbkDBAuth
- lmDBAuth
- wcmDBAuth
- Update the password accordingly.
- Click Apply, and then click Save to save the configuration. We are informed that security.xml was changed.
- If we are an administrator and must change the DB2 password, we must change the database administrator user password on the system.
- Stop the DB2 server.
- Use the passwd command to change the password.
- Restart the DB2 server. We can verify the new password by running the db2 CONNECT TO WPSDB user db2admin using password task.
- Restart the WAS admin console.
- On the DB2 server, complete the following steps:
If we do not change the DB2 administrator's user name and password in the properties of each DB2 service, the DB2 database application does not start.
- Click Administrative Tools > Services.
- Stop all running DB2 services.
- For each service the DB2 instance uses, display the menu and select Properties.
- Select the Log On tab and change the DB2 administrator's user name and password.
Results
Repeat for each JDBC Provider, data source, and alias that is affected.
Results:
WebSphere Application Server and WebSphere Portal were updated to use your new database passwords. Verify the WebSphere Portal application server is running by opening the following URL in a browser:
http://hostname.example.com:10039/wps/porta
Parent Update user ID and passwords
Related information
Change the password for a repository under a federated repositories configuration