0 Replies Latest reply on Feb 16, 2012 4:12 PM by Juan Carlos Marin Rincon

    Problem deploying Richfaces 3.3.2.SR1 application

    Juan Carlos Marin Rincon Newbie

      Hi everyone,

       

      I hope somebody can help me with this problem

       

      I have an application developed in Richfaces 3.3.2.SR1 in a jboss 4.3.2.GA server, that works fine.

       

      When I try to deploy another application developed in the same Richfaces as the other, the deploy process goes fine, but when I try to use the application previously deployed I recieve the next exception:

       

       

       ERROR [org.apache.catalina.core.StandardWrapperValve] Servlet.service() for servlet Faces Servlet threw exception
      org.ajax4jsf.xml.serializer.utils.WrappedRuntimeException: org.ajax4jsf.xml.serializer.ToXMLSAXHandler cannot be cast to org.ajax4jsf.xml.serializer.SerializationHandler
              at org.ajax4jsf.xml.serializer.SerializerFactory.getSerializer(SerializerFactory.java:178)
              at org.ajax4jsf.io.parser.FastHtmlParser.writeToHead(FastHtmlParser.java:196)
              at org.ajax4jsf.io.parser.FastHtmlParser.parse(FastHtmlParser.java:158)
              at org.ajax4jsf.io.parser.FastHtmlParser.parseHtml(FastHtmlParser.java:230)
              at org.ajax4jsf.webapp.FilterServletResponseWrapper.parseContent(FilterServletResponseWrapper.java:594)
              at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:367)
              at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
              at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)
              at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
              at org.colfuturo.web.filter.UsuarioSesionFilter.doFilter(UsuarioSesionFilter.java:118)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
              at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
              at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
              at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
              at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
              at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
              at java.lang.Thread.run(Thread.java:636)
      
      

       

      The application recently deployed works fine but the previously dont.

       

      If I try to deploy both applications at the same time, they work fine

       

      I don't have any idea what could it be.

       

      Thanks for your help