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 13, 2023

Applies to:

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

Symptoms

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 com.sun.enterprise.security.SecuritySupportImpl.loadStores(SecuritySupportImpl.java:114)
       at com.sun.enterprise.security.SecuritySupportImpl.initJKS(SecuritySupportImpl.java:82)
       at com.sun.enterprise.security.SecuritySupportImpl.<init>(SecuritySupportImpl.java:76)
       at com.sun.enterprise.security.SecuritySupportImpl.<init>(SecuritySupportImpl.java:71)
       at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
       at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
       at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
       at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
       at java.lang.Class.newInstance0(Class.java:355)
       at java.lang.Class.newInstance(Class.java:308)
       at com.sun.enterprise.pluggable.PluggableFeatureFactoryBaseImpl.invoke(PluggableFeatureFactoryBaseImpl.java:84)
       at $Proxy0.getSecuritySupport(Unknown Source)
       at com.sun.enterprise.security.SecurityUtil.getSecuritySupport(SecurityUtil.java:364)
       at com.sun.enterprise.security.SSLUtils.<clinit>(SSLUtils.java:102)

Cause

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
Symptoms
Cause
Solution


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