dev@glassfish.java.net

Re: admingui java.lang.NoClassDefFoundError: com/sun/web/security/SSLSocketFactory

From: Anissa Lam <Anissa.Lam_at_Sun.COM>
Date: Thu, 14 Aug 2008 16:43:13 -0700
Hi Amy,

We didn't specify the websecurity module as one of the HK2-Import-Bundles.   It is an easy fix in the pom.xml,  but i don't know if i can checkin change now.
You can edit  v3/admingui/war/pom.xml  by adding this bundle.

<HK2-Import-Bundles>org.glassfish.admingui.console-common,com.sun.enterprise.hk2,org.glassfish.admingui.console-plugin-service, org.glassfish.common.amx-api, org.glassfish.deployment.deployment-client,org.glassfish.registration.registration-api,org.glassfish.registration.registration-impl, org.glassfish.javax.servlet, javax.servlet.jsp, org.glassfish.jsftemplating, org.glassfish.admingui.dataprovider, com.sun.pkg.client,  org.glassfish.seurity.websecurity  </HK2-Import-Bundles>

and then do 'mvn install'  at v3/admingui/war.   You can then deploy  admingui/war/target/admingui.war

thanks
Anissa.

Amy Roh wrote:
I have the latest workspace from this morning with clean build but cannot create http-listener using admingui

Caused by: java.lang.NoClassDefFoundError: com/sun/web/security/SSLSocketFactory
   at org.glassfish.admingui.handlers.SSLHandlers.getSupportedCipherSuites(SSLHandlers.java:541)
   at org.glassfish.admingui.handlers.SSLHandlers.getSSLProperties(SSLHandlers.java:185)
   ... 73 more
|#]

Is this a known issue / workaround?