Thanks for reporting this, and also find that there is a JIRA GERONIMO-5942<https://issues.apache.org/jira/browse/GERONIMO-5942> opened by other users. It is caused by incorrect bundle is used to load the tag classes from other bundles, just commited some changes, and it should be OK now. Actually, I am still thinking that how tag libraries should work in OSGi environment, In the beginning of the OSGi enablement process, we use TLD registry to register those 'global' libraries, such as standard tag library. So do we need to check those dependent bundles, or wired bundles ? One possible way is to do it like the MyFaces plugins, use a listener to track all the active bundles contains tag libraries.
2011/6/18 Sangjin Lee <[email protected]> > Whenever a web app bundle is started on Geronimo 3, I see tons of console > logging for JspModuleBuilderExtension going by, like the following: > > 2011-06-16 15:02:59,393 WARN [JspModuleBuilderExtension] > JspModuleBuilderExtension: Could not load tag class: > org.apache.myfaces.taglib.core.SubviewTag mentioned in TLD file at > bundleentry://142.fwk2116189730/META-INF/myfaces_core.tld > 2011-06-16 15:02:59,393 WARN [JspModuleBuilderExtension] > JspModuleBuilderExtension: Could not load tag class: > org.apache.myfaces.taglib.core.ViewParamTag mentioned in TLD file at > bundleentry://142.fwk2116189730/META-INF/myfaces_core.tld > 2011-06-16 15:02:59,393 WARN [JspModuleBuilderExtension] > JspModuleBuilderExtension: Could not load tag class: > org.apache.myfaces.taglib.core.ViewTag mentioned in TLD file at > bundleentry://142.fwk2116189730/META-INF/myfaces_core.tld > 2011-06-16 15:02:59,393 WARN [JspModuleBuilderExtension] > JspModuleBuilderExtension: Could not load tag class: > org.apache.myfaces.taglib.core.ParamTag mentioned in TLD file at > bundleentry://142.fwk2116189730/META-INF/myfaces_core.tld > 2011-06-16 15:02:59,393 WARN [JspModuleBuilderExtension] > JspModuleBuilderExtension: Could not load tag class: > org.apache.myfaces.taglib.core.SelectItemTag mentioned in TLD file at > bundleentry://142.fwk2116189730/META-INF/myfaces_core.tld > ... > > Are these logging statements really warnings that need to be paid attention > to? If they're not truly warnings, can they be changed to INFO? Thanks! > > Sangjin > -- Ivan
