...
The files mentioned in this sections along with the all the security configuration in addition to user names and passwords are defined in the geronimo-properties-realm security realm covered in the Adminstering security realms section.
Changing the password for derby Admin
Starting from G217, a new user group derbyadmin is defined to manage all connections to the embedded Derby server. By default, the user name is dbadmin and defined in the /var/security/users.properties
file. You can easily update the default password manager to any other combinations you like. However, you must follow the steps below to make sure the whole server and relevant database pools work well even after you updated the password.
- Start Geronimo server
- Update the password of dbadmin via console >security > Users and Groups portlet
- Edit the user password in existing datasources via console > Services > Database pools portlet
- Shutdown Geronimo server
- Update the userPassword attribute of
DerbyNetwork
GBean invar\config\config.xml
with the new password - Restart Geronimo server