users@glassfish.java.net

Re: ClassLoading problem while migrating application from GF v2 to GF v3

From: Sanjeeb Sahoo <Sahoo_at_Sun.COM>
Date: Tue, 29 Jun 2010 18:00:41 +0530

On Tuesday 29 June 2010 04:12 PM, glassfish_at_javadesktop.org wrote:
>
>>> What makes you think they get resolved
>>> only after the web app is initialized? Did you actually see this behavior?
>>>
> Yes, I have described the behavior. For example there is a bundle that exports some servlet class. I deploy webapp that has defined that servlet, whose implementation is in some bundle. It can be easily deployed, but after server restart this web application cannot be initialized, because it cannot find servlet implementation class. But this were normal web application, not WAB.
>
I understand you are not dealing with WAB, but still I can't see why
something like this should not work. Did you clear the OSGi cache by any
chance? If not, then file a bug with a reproducible test case in osgi
subcategory.

Sahoo