That would be a serious spec violation, don't you think? Are there any
non-trivial webapps that don't use this capability?
And yes, classloading from WEB-INF/lib does appear to work in TP2. How
well, I don't know.
-Peter
Sahoo wrote:
> Are you saying that it is a regression since TP2? AFAIK, v3 never
> supported WEB-INF/lib/*.jar.
>
> Thanks,
> Sahoo
>
> Peter Williams wrote:
>> I checked hk2 mode, happens there too. Maybe web container just
>> broke loading jars from app lib folder since TP2. Pretty serious, if
>> true. Is there a quicklook test for something like that?
>>
>> I filed https://glassfish.dev.java.net/issues/show_bug.cgi?id=5212
>>
>> -Peter
>>
>> Sahoo wrote:
>>> I can't see any connection with OSGi. The webappclassloader is
>>> supposed to load it.
>>>
>>> Thanks,
>>> Sahoo
>>>
>>> Peter Williams wrote:
>>>> webui-jsf.jar which is in the deployed application's WEB-INF/lib
>>>> folder.
>>>>
>>>> -Peter
>>>>
>>>> Sahoo wrote:
>>>>> Which jar file contains com.sun.webui.jsf.util.UploadFilter.class?
>>>>>
>>>>> Thanks,
>>>>> Sahoo
>>>>>
>>>>> Peter Williams wrote:
>>>>>> I took a generic Visual JSF web project from NetBeans (uses
>>>>>> woodstock components) and tried to run it against both TP2 and a
>>>>>> V3 build from yesterday.
>>>>>>
>>>>>> This project runs fine on V3 TP2 (hk2 kernel), but fails on my
>>>>>> Jun24 build (OSGi kernel) with 4 ClassNotFoundExceptions as shown
>>>>>> below. Is this a server bug? Is there a way to work around it?
>>>>>>
>>>>>> -Peter
>>>>>>
>>>>>> [#|2008-06-25T12:22:11.425-0700|WARNING|GlassFish10.0|global|_ThreadID=11;_ThreadName=Thread-4;|Cannot
>>>>>> load com.sun.webui.jsf.util.UploadFilter reason :
>>>>>> com.sun.webui.jsf.util.UploadFilter
>>>>>> java.lang.ClassNotFoundException:
>>>>>> com.sun.webui.jsf.util.UploadFilter
>>>>>> at
>>>>>> org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1503)
>>>>>>
>>>>>> at
>>>>>> com.sun.enterprise.deployment.annotation.impl.ModuleScanner.getElements(ModuleScanner.java:189)
>>>>>>
>>>>>> at
>>>>>> com.sun.enterprise.deployment.archivist.Archivist.processAnnotations(Archivist.java:435)
>>>>>>
>>>>>> at
>>>>>> com.sun.enterprise.deployment.archivist.Archivist.readAnnotations(Archivist.java:347)
>>>>>>
>>>>>> at
>>>>>> com.sun.enterprise.deployment.archivist.Archivist.readDeploymentDescriptors(Archivist.java:319)
>>>>>>
>>>>>> at
>>>>>> com.sun.enterprise.deployment.archivist.Archivist.open(Archivist.java:210)
>>>>>>
>>>>>> at
>>>>>> com.sun.enterprise.deployment.archivist.ApplicationFactory.openArchive(ApplicationFactory.java:142)
>>>>>>
>>>>>> at
>>>>>> org.glassfish.javaee.core.deployment.JavaEEDeployer.parseModuleMetaData(JavaEEDeployer.java:243)
>>>>>>
>>>>>> at
>>>>>> com.sun.enterprise.web.WebDeployer.parseModuleMetaData(WebDeployer.java:131)
>>>>>>
>>>>>> at
>>>>>> org.glassfish.javaee.core.deployment.JavaEEDeployer.loadMetaData(JavaEEDeployer.java:169)
>>>>>>
>>>>>> at
>>>>>> com.sun.enterprise.v3.server.ApplicationLifecycle.prepare(ApplicationLifecycle.java:503)
>>>>>>
>>>>>> at
>>>>>> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:255)
>>>>>>
>>>>>> at
>>>>>> com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderService.java:219)
>>>>>>
>>>>>> at
>>>>>> com.sun.enterprise.v3.server.ApplicationLoaderService.postConstruct(ApplicationLoaderService.java:97)
>>>>>>
>>>>>> at
>>>>>> com.sun.enterprise.v3.server.ApplicationLoaderInjector.postConstruct(ApplicationLoaderInjector.java:55)
>>>>>>
>>>>>> at
>>>>>> com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:150)
>>>>>>
>>>>>> at
>>>>>> com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:86)
>>>>>>
>>>>>> at
>>>>>> com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:75)
>>>>>> at
>>>>>> com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58)
>>>>>>
>>>>>> at
>>>>>> com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
>>>>>> at
>>>>>> com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
>>>>>>
>>>>>> at
>>>>>> com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:123)
>>>>>>
>>>>>> at
>>>>>> com.sun.enterprise.module.bootstrap.Main.launch(Main.java:431)
>>>>>> at
>>>>>> com.sun.enterprise.module.bootstrap.Main.launch(Main.java:376)
>>>>>> at org.jvnet.hk2.osgiadapter.HK2Main.start(HK2Main.java:116)
>>>>>> at
>>>>>> org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:591)
>>>>>>
>>>>>> at
>>>>>> org.apache.felix.framework.Felix._startBundle(Felix.java:1610)
>>>>>> at
>>>>>> org.apache.felix.framework.Felix.startBundle(Felix.java:1544)
>>>>>> at
>>>>>> org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:1125)
>>>>>>
>>>>>> at
>>>>>> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:258)
>>>>>>
>>>>>> at java.lang.Thread.run(Thread.java:619)
>>>>>> |#]
>>>>>>
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>>
>>>>>> 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
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> 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
>>>
>>
>> ---------------------------------------------------------------------
>> 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
>