-
Notifications
You must be signed in to change notification settings - Fork 306
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fish-7158: adding warmup option to start domain #6451
Fish-7158: adding warmup option to start domain #6451
Conversation
Do not merge, still testing and documenting |
Verified on Linux, OpenJDK 11 I tried also postbootcommandfile:
With content:
The app was successfully deployed and after normal startup, it was running. After the cosmetic fixes this PR can be approved. |
Jenkins test please |
…warmup-option-to-start-domain
Jenkins test please |
I already tested same on windows 11 with azul JDK 11, and is working fine |
Jenkins test please |
nucleus/admin/launcher/src/main/java/com/sun/enterprise/admin/launcher/GFLauncherInfo.java
Outdated
Show resolved
Hide resolved
nucleus/admin/launcher/src/main/java/com/sun/enterprise/admin/launcher/GFLauncherInfo.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Jenkins test please |
Adding warmup option to stop server after bootstrapping
Description
This is a feature to replicate same functionality from payara micro to payara server with the start-domain command
Important Info
Blockers
Testing
New tests
Testing Performed
Manual testing, the server stops after bootstrapping
message from logs:
`
payara6/bin$ ./asadmin start-domain --warmup
Waiting for domain1 to start .......
Successfully started the domain : domain1
domain Location: /home/alfv83/projects/Payara/appserver/distributions/payara/target/stage/payara6/glassfish/domains/domain1
Log File: /home/alfv83/projects/Payara/appserver/distributions/payara/target/stage/payara6/glassfish/domains/domain1/logs/server.log
Admin Port: 4848
The server stops because warmup option was set to true.
You can reuse configuration because Server finishes after bootstrapping.
Command start-domain executed successfully.
`
Testing Environment
Windows 11 with azul JDK 11, maven 3.8.3 and Ubuntu 20.04 with azul JDK 11, maven 3.8.6
Documentation
Notes for Reviewers