Minimal changes including the following changes to run with JDK 11.
 - Remove JVM options (java.ext.dirs and java.endorsed.dirs) from domain template and osgi.properties.
 - Move the packages from modules/endorsed/ to modules/ or lib/.
 - Add -Xbootclasspath option to load grizzly-npn-bootstrap.jar.
 - Add JVM options for reference to internal APIs and enable to add long JVM options (such as --add-opens).

Signed-off-by: hs536 <sawamura.hiroki@fujitsu.com>
8 files changed
tree: 6b40ef9c94d3d1f28f73f610c00c3d09d0e11046
  1. .github/
  2. appserver/
  3. etc/
  4. nucleus/
  5. .gitignore
  6. CONTRIBUTING.md
  7. gfbuild.sh
  8. Jenkinsfile
  9. LICENSE.md
  10. NOTICE.md
  11. pom.xml
  12. README.md
README.md

GlassFish Server

GlassFish is the reference implementation of Java EE.

Building

Prerequisites:

  • JDK8+
  • Maven 3.0.3+

Currently in the EE4J_8 branch artifacts are being pulled from OSSRH staging.

Run the full build:

mvn -Pstaging install

Locate the Zip distributions:

  • appserver/distributions/glassfish/target/glassfish.zip
  • appserver/distributions/web/target/web.zip

Locate staged distributions:

  • appserver/distributions/glassfish/target/stage
  • appserver/distributions/web/target/stage

Testing

Running GlassFish QuickLook tests:

mvn -f appserver/tests/quicklook/pom.xml test -Dglassfish.home=appserver/distributions/glassfish/target/stage/glassfish5/glassfish

For more details, see QuickLook_Test_Instructions

Starting GlassFish

glassfish5/bin/asadmin start-domain

Stopping GlassFish

glassfish5/bin/asadmin stop-domain