Hi Gerhard, thanks a lot for follow up. Somehow this problem disappeared, and here's what I did: - changed slf4j version from 1.6.x to 1.5.11 which is shipped with IBM
and the problem simply vanished. I'm still not convinced if that was really a fix or something magically happened in the meantime but what I have noticed before is that due to slf4j binding issues sometimes bean validation support in myfaces was turned off (even though extval was included in WAR file). Somehow I can redeploy the app now without ClassCastException. However I will let you know if this stuff re-appear. Cheers, Bartosz Gerhard Petracek wrote: > > hi, > > that might happen due to the missing shared-lib-support. > (it wasn't done so far because there are also other basic issues related > to > it (with some servers).) > > regards, > gerhard > > http://www.irian.at > > Your JSF/JavaEE powerhouse - > JavaEE Consulting, Development and > Courses in English and German > > Professional Support for Apache MyFaces > > > > 2012/7/2 bmajsak <[email protected]> > >> >> Have you managed to find the solution? I'm using ExtVal 2.0.5 with CODI >> 1.0.5 >> on WAS 8.0.0.2 and suddenly this problem appeared. As described in the >> original message - it works nice after server restart but every >> redeployment >> is causing this error. >> >> >> Gerhard Petracek wrote: >> > >> > hi markus, >> > >> > it looks like an issue with your environment (see [1]). however, please >> > try >> > the current snapshot of extval. >> > >> > regards, >> > gerhard >> > >> > [1] http://goo.gl/cfS7m >> > >> > http://www.irian.at >> > >> > Your JSF/JavaEE powerhouse - >> > JavaEE Consulting, Development and >> > Courses in English and German >> > >> > Professional Support for Apache MyFaces >> > >> > >> > 2011/12/12 markuslachat <[email protected]> >> > >> >> >> >> Hi! >> >> >> >> I am using CODI Snapshot 1.0.3 and ExtVal 2.0.4 on IBM Websphere v8 >> >> >> >> Everything works as expected, but when I do a clean on the server >> within >> >> RAD >> >> (version 8.0.3), the following exception message shows up. >> >> >> >> Original Exception: >> >> Error Message: javax.servlet.ServletException: >> >> >> >> >> org.apache.myfaces.extensions.validator.core.storage.DefaultRendererInterceptorPropertyStorage >> >> incompatible with >> >> >> >> >> org.apache.myfaces.extensions.validator.core.storage.RendererInterceptorPropertyStorage >> >> Error Code: 500 >> >> Target Servlet: Faces Servlet >> >> Error Stack: >> >> java.lang.ClassCastException: >> >> >> >> >> org.apache.myfaces.extensions.validator.core.storage.DefaultRendererInterceptorPropertyStorage >> >> incompatible with >> >> >> >> >> org.apache.myfaces.extensions.validator.core.storage.RendererInterceptorPropertyStorage >> >> at >> >> >> >> >> org.apache.myfaces.extensions.validator.core.interceptor.AbstractValidationInterceptor.getRendererInterceptorPropertyStorage(AbstractValidationInterceptor.java:477) >> >> at >> >> >> >> >> org.apache.myfaces.extensions.validator.core.interceptor.AbstractValidationInterceptor.setRendererInterceptorProperties(AbstractValidationInterceptor.java:456) >> >> at >> >> >> >> >> org.apache.myfaces.extensions.validator.core.interceptor.AbstractValidationInterceptor.beforeGetConvertedValue(AbstractValidationInterceptor.java:166) >> >> at >> >> >> >> >> org.apache.myfaces.extensions.validator.core.renderkit.ExtValRendererWrapper.getConvertedValue(ExtValRendererWrapper.java:361) >> >> at >> >> >> >> >> org.apache.myfaces.extensions.validator.generic.renderkit.ExtValGenericRendererWrapper.intercept(ExtValGenericRendererWrapper.java:64) >> >> at >> >> >> >> >> org.apache.myfaces.renderkit.html.HtmlTextRenderer$$EnhancerByCGLIB$$63f007d7.getConvertedValue(<generated>) >> >> at >> >> >> >> >> javax.faces.component.UIViewParameter.getConvertedValue(UIViewParameter.java:248) >> >> at javax.faces.component.UIInput.validate(UIInput.java:556) >> >> at >> javax.faces.component.UIInput.processValidators(UIInput.java:247) >> >> at >> >> >> >> >> javax.faces.component.UIViewParameter.processValidators(UIViewParameter.java:218) >> >> at >> >> >> >> >> javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1218) >> >> at >> >> >> >> >> javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1218) >> >> at >> >> >> >> >> javax.faces.component.UIViewRoot._processValidatorsDefault(UIViewRoot.java:1326) >> >> at javax.faces.component.UIViewRoot.access$500(UIViewRoot.java:75) >> >> at >> >> >> >> >> javax.faces.component.UIViewRoot$ProcessValidatorPhaseProcessor.process(UIViewRoot.java:1401) >> >> at javax.faces.component.UIViewRoot._process(UIViewRoot.java:1282) >> >> at >> >> >> javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:758) >> >> at >> >> >> >> >> org.apache.myfaces.lifecycle.ProcessValidationsExecutor.execute(ProcessValidationsExecutor.java:34) >> >> at >> >> >> >> >> org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:171) >> >> at >> >> >> org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) >> >> at >> >> >> >> >> org.apache.myfaces.extensions.cdi.jsf2.impl.listener.phase.CodiLifecycleWrapper.execute(CodiLifecycleWrapper.java:95) >> >> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:189) >> >> at >> >> >> >> >> com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1147) >> >> at >> >> >> >> >> com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:722) >> >> at >> >> >> >> >> com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:449) >> >> at >> >> >> >> >> com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178) >> >> at >> >> >> >> >> com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:125) >> >> at >> >> >> >> >> com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:92) >> >> >> >> >> >> This does never happen on server restart. Did anyone ever experience >> this >> >> behavior? I have not the smallest clue why this happens, so any kind >> of >> >> help/hint is greatly appreciated! >> >> -- >> >> View this message in context: >> >> >> http://old.nabble.com/Extval-ClassCastException-when-displaying-entities-tp32958427p32958427.html >> >> Sent from the MyFaces - Users mailing list archive at Nabble.com. >> >> >> >> >> > >> > >> >> -- >> View this message in context: >> http://old.nabble.com/Extval-ClassCastException-when-displaying-entities-tp32958426p34100945.html >> Sent from the MyFaces - Users mailing list archive at Nabble.com. >> >> > > -- View this message in context: http://old.nabble.com/Extval-ClassCastException-when-displaying-entities-tp32958426p34107287.html Sent from the MyFaces - Users mailing list archive at Nabble.com.

