payara / Payara

Payara Server is an open source middleware platform that supports reliable and secure deployments of Java EE (Jakarta EE) and MicroProfile applications in any environment: on premise, in the cloud or hybrid.
http://www.payara.fish
Other
879 stars 301 forks source link

Unrecognized VM option 'UseOpenJSSE' #4417

Closed nagnathmasali closed 4 years ago

nagnathmasali commented 4 years ago

I am trying to deploy a war file on Payara 5 in Netbeans 8.2. The server doesn't start and displays the following error:

Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. Unrecognized VM option 'UseOpenJSSE'

It always occurs when I create a new domain and try running it.

Environment

chrjohn commented 4 years ago

See https://github.com/payara/Payara/issues/4407#issuecomment-571063823 for workaround.

luis-caamano commented 1 year ago

Solution to Payara 5.184 / Netbeans 8.2 / Java 8 Not launching Payara:

in file:

\payara5\glassfish\domains\domain1\config\domain.xml Search for the unrecognized option **UseOpenJSSE** and comment that tag. Repeat for each occurrence. Repeat as well for subsequent errors might appear. Good Luck!