users@glassfish.java.net

Re: OpenJDK / Glassfish Client

From: Shreedhar Ganapathy <Shreedhar.Ganapathy_at_Sun.COM>
Date: Wed, 28 May 2008 10:09:01 -0700

Hi Torben
This is a known issue. An issue has been filed both in GlassFish and
with IcedTea to get fixes on either side. IcedTea introduced privileged
location to a default keystore that GlassFish is not designed to
override. A fix is being integrated in the upcoming update in Hardy.
As a workaround, you can use the sun-java6 jdk and you should be good to
go.

hth
Shreedhar


glassfish_at_javadesktop.org wrote:
> Hi all,
> I'm trying to run my EJB-Client within OpenJDK 1.6 on ubuntu. However it stops with an exception:
> 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:57)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
> at java.lang.Class.newInstance0(Class.java:372)
> at java.lang.Class.newInstance(Class.java:325)
> at com.sun.enterprise.pluggable.PluggableFeatureFactoryBaseImpl.invoke(PluggableFeatureFactoryBaseImpl.java:84)
> at $Proxy0.getSecuritySupport(Unknown Source)
> at com.sun.enterprise.security.SecurityUtil.getSecuritySupport(SecurityUtil.java:365)
> at com.sun.enterprise.security.SSLUtils.<clinit>(SSLUtils.java:102)
> ... 27 more
>
> Is it impossible to run my client on OpenJDK? It looks like there is a similar problem with running Glassfish on OpenJDK.. (http://forums.java.net/jive/message.jspa?messageID=271690)
>
> Thanks for help
>
> Torben
> [Message sent by forum member 'ttretau' (ttretau)]
>
> http://forums.java.net/jive/thread.jspa?messageID=276997
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>