dev@glassfish.java.net

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

From: Sahoo <Sahoo_at_Sun.COM>
Date: Sat, 16 Aug 2008 00:41:00 +0530

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.
>
I thought it was a regression because Kumar (copied here) removed
com.sun.web.security from exported package list a couple of days back.
With my recent class loader change, if a module exports a package, then
an application can load it using application class loader without using
HK2-Import-Bundles attribute.

First check with Kumar as to whether he expects that package to be
directly used by others or not. Looking at your discussion with Jerome
in this thread, I get the impression that it should not be directly
referenced.

Thanks,
Sahoo