Skip to content

Commit

Permalink
Set embedded server runtime type
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Pinčuk <alexander.v.pinchuk@gmail.com>
  • Loading branch information
avpinchuk committed Sep 29, 2023
1 parent 7dcdb4d commit 472bfac
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ private void setEnv(GlassFishProperties gfProps) throws Exception {
String installRootValue = System.getProperty("org.glassfish.embeddable.installRoot");
if (installRootValue == null) {
installRootValue = instanceRoot.getAbsolutePath();
gfProps.setProperty("-type", "EMBEDDED");
JarUtil.extractRars(installRootValue);
}
JarUtil.setEnv(installRootValue);
Expand Down

0 comments on commit 472bfac

Please sign in to comment.