Repeat the following instructions for each portal in your environment. Replace the <portal-ID> string with actual portalid (for example, portal1, portal2, and so on).
Restart the Java DB.
Use Derby CLI or any other equivalent tool to change the password for default user portal by connecting to the communitymc_portal-ID database. If you are using a GUI like SQuirrel-j, use the sql editor to execute the following command after connecting to the PS's Java DB database.CALL SYSCS_UTIL.SYSCS_SET_DATABASE_PROPERTY('derby.user.portal', 'your-new-password');
Restart Java DB.
Use Java DB command line or any other equivalent tool to connect to the communitymc_portalID database with new password to verify that the password was set correctly.
For each portal instance do the following.
Refer to the Web container's administrator guide and change the password for the jdbc/communitymc datasource to the new password that was set in step 2.
Open the PortalServer-data-dir/portals/portal-ID/config/portal.dbadmin file and change the password for the property community.db.password to the new password that you set using the Java DB CLI or any other equivalent tool in step 2.
Change permission of the PortalServer-DataDir/portals/portal-ID/config/portal.dbadmin file so that it is readable and writable only by the owner (for example, chmod 600 portal.dbadmin).
Restart the web container.