dev@glassfish.java.net

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

From: Jerome Dochez <Jerome.Dochez_at_Sun.COM>
Date: Fri, 15 Aug 2008 09:26:13 -0700

the bigger question is why do you have to access this class all
together ? is SSL not configured though AMX like the rest of of the
configuration ?

jerome

On Aug 15, 2008, at 8:44 AM, Anissa Lam wrote:

> Hi Sahoo,
>
> Sahoo wrote:
>> You should be knowing whether path was working earlier or not. If
>> not, can't you test with with an older version to figure out
>> whether it's a regression or not?
> Yes, i know this SSL tab hasn't been worked for a long time, at
> least more than a month ago. An issue has been filed before. https://glassfish.dev.java.net/issues/show_bug.cgi?id=5328
> Summary: http 500 error for SSL page under HTTP listeners treenode
>
> Just that i haven't have time to look at fixing bugs due to SCF. I
> believe this was broken ever since we started packaging our jars and
> war file as OSGi bundle and introduce this bug by not specifying
> this in HK2-import-bundle. Thats what i proposed as a fix.
>
> thanks
> Anissa
>>
>> Thanks,
>> Sahoo
>>
>> Anissa Lam wrote:
>>>
>>> Hi Sahoo,
>>> No, I haven't committed the change. I just thought that because
>>> i didn't specify this package, that is why the class is not
>>> accessible. This is inside the admingui war, I thought i need
>>> to specify all the bundle that i need to access.
>>> Why do you think this is a regression ? Can you elaborate ?
>>>
>>> thanks
>>> Anissa
>>>
>>> Sahoo wrote:
>>>> Anissa,
>>>>
>>>> I hope you have not made the proposed change yet. Before you make
>>>> the change, have you analysed if this is a *regression* or not? I
>>>> do think so. Pl. don't use HK2-Import-Bundles for fixing
>>>> NoClassdefFoundError.
>>>>
>>>> Thanks,
>>>> Sahoo
>>>>
>>>> Anissa Lam wrote:
>>>>> 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?
>>>>>
>>>>> --------------------------------------------------------------------- To
>>>>> unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net For
>>>>> additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>