GlassFish Server - Cannot Start Domain - Caused by: java.lang.IllegalStateException: Invalid keystore format

(Doc ID 1933690.1)

Last updated on APRIL 04, 2017

Applies to:

Oracle GlassFish Server - Version 2.1.1 and later
Information in this document applies to any platform.


Cannot start domain.

Seeing below error:

$ /opt/glassfishv2/bin/asadmin start-domain
Starting Domain domain1, please wait.
Default Log location is /opt/glassfishv2/domains/domain1/logs/server.log.
Redirecting output to /opt/domains/domain1/logs/server.log
Domain domain1 failed to startup. Please check the server log for more details.
CLI156 Could not start the domain domain1.

Getting the below error in the server log.

Caused by: java.lang.IllegalStateException: Invalid keystore format
       at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
       at sun.reflect.NativeConstructorAccessorImpl.newInstance(
       at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
       at java.lang.reflect.Constructor.newInstance(
       at java.lang.Class.newInstance0(
       at java.lang.Class.newInstance(
       at com.sun.enterprise.pluggable.PluggableFeatureFactoryBaseImpl.invoke(
       at $Proxy0.getSecuritySupport(Unknown Source)


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms