websphere 4.3.0.Final ElResolver problem
erdemyilmaz Feb 15, 2013 2:40 AMHi,
We have tried to use 4.3.0.Final with Websphere 8.0.0.3 and 8.0.0.5 versions. We have problem with El Resolvers. By the way richfaces 4.2.3.Final works perfect. We also changed amm.filter.properties file that ignores scanning of or.richfaces packages.
when we add custom el resolver in faces-config.xml, 4.3.0.Final works like a charm. But in 4.2.3.Final, two same el resolvers exists but still working.
faces-config.xml
<el-resolver>org.apache.webbeans.el.WebBeansELResolver</el-resolver>
is there any part that richfaces changes ElResolvers from javax.faces.application.Application? because websphere adds its el resolvers, view handlers programaticly like:
private void setMyFacesApplicationCallbacks()
{
try
{
ApplicationFactory factory = (ApplicationFactory)FactoryFinder.getFactory("javax.faces.application.ApplicationFactory");
Application a = factory.getApplication();
if(a != null)
{
a.addELResolver(new WebBeansELResolver());
a.setViewHandler(new ConversationAwareViewHandler(a.getViewHandler()));
if(TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, "Created OWB JSF ELResolver, View Handler, and ELContextListener");
} else
if(TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, "Application=null");
}
catch(Throwable e)
{
if(TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
Tr.debug(tc, (new StringBuilder()).append("problems setting elresolver/handler/elContextListener: ").append(e.getMessage()).toString());
Ffdc ffdc = Manager.Ffdc.getFfdc(e, this, (new StringBuilder()).append(getClass().getName()).append(".setMyFacesApplicationCallbacks()").toString(), "45");
if(ffdc.isLoggable())
ffdc.log(new Object[0]);
}
}
and in 4.3.0.Final version, this El resolver is not in the ElResolver list. Someone is removing it from the list.
kind regards,
Erdem