sun.security.ssl.SSLSessionImpl not found
EDIT: since this is the "correct answer" and Java 1.8.0-151 will potentialy lack security patches. I can't recommend to downgrade to a such an old Java version.
Please take a look at Payara project or new releases of Glassfish.
--
Try to downgrade the Java version to Java 1.8.0-151. It should work.
There's an issue in glassfish 5 with Java 8 161, there's an issue created, but no changes in nightly builds regarding the issue, I checked yesterday (19th march).
The issue appears because Glassfish embeds native sun.*
classes into [glassfish5_home]/glassfish/modules/endorsed/grizzly-npn-bootstrap.jar
, so it conflicts with others classes included into [JDK_HOME]/jre/lib/jsse.jar
So edit the grizzly-npn-bootstrap.jar
(make a copy before) file and remove the sun folder.
The above Error could result to this displaying in your browser:
The connection was reset The connection to the server was reset while the page was loading. The site could be temporarily unavailable or too busy. Try again in a few moments. If you are unable to load any pages, check your computer’s network connection. If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web.
SOLUTION Download: http://central.maven.org/maven2/org/glassfish/grizzly/grizzly-npn-bootstrap/1.8.1/grizzly-npn-bootstrap-1.8.1.jar and Replace your galssfish/payara grizzly-npn-bootstrap.jar.
mv grizzly-npn-bootstrap-1.8.1.jar glassfish5/glassfish/modules/endorsed/grizzly-npn-bootstrap.jar