Skip to content

Conversation

@OndroMih
Copy link
Contributor

@OndroMih OndroMih commented Dec 28, 2024

Read changes in content.md for description.

Fixes #9.

In short:

The following environment variables can be set to configure GlassFish Server:

  • AS_ADMIN_MASTERPASSWORD - to change the default master password
  • AS_ADMIN_PASSWORD - to change the default admin password

It's possible to specify custom commands to run before GlassFish server starts. Just create a Bash script ${PATH_GF_HOME}/custom/init.sh (/opt/glassfish7/custom/init.sh), it will be executed before GlassFish server starts.

@OndroMih OndroMih requested a review from dmatej December 28, 2024 09:15
@OndroMih OndroMih force-pushed the ondromih-change-passwords branch from f6f4fd6 to c8bbe0b Compare January 17, 2025 13:33
Make /password.txt writable so that it can be changed when admin password changes.
Change both admin and master password in one asadmin execution.
Remove file with underscore and apply changes to the original file.
Refactor tests - use Java Http client instead of HttpURLConnection.
Bring back startserv test, create a new test for default command.
@dmatej dmatej merged commit 2a6bd31 into main Jan 21, 2025
2 checks passed
@dmatej dmatej deleted the ondromih-change-passwords branch January 21, 2025 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Doc to introduce Admin/password support

3 participants