My Oracle Support Banner

GlassFish Server - Cannot Start Domain - Caused by: java.lang.IllegalStateException: Invalid keystore format (Doc ID 1933690.1)

Last updated on SEPTEMBER 12, 2022

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:

$ /<glassfish-install-dir>/bin/asadmin start-domain
Starting Domain domain1, please wait.
Default Log location is /<glassfish-install-dir>/domains/domain1/logs/server.log.
Redirecting output to /<glassfish-install-dir>/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)


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.