3 Replies Latest reply on May 30, 2013 1:49 AM by nickarls

    Migration to Jboss 7 - webapp

    sammie88

      Hi,

       

      I am trying to migrate our web app from Jboss 4.2.3 to Jboss 7.  When trying to display the login page, I get the ff error:  Any help is really appreciated!! Thank you!

       

      java.lang.UnsupportedOperationException

      javax.faces.context.FacesContext.getExceptionHandler(FacesContext.java:280)

      com.sun.faces.lifecycle.Phase.doPhase(Phase.java:119)

      com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:116)

      com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)

      com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:17)

      com.icesoft.faces.context.View$2$1.respond(View.java:41)

      com.icesoft.faces.webapp.http.servlet.ServletRequestResponse.respondWith(ServletRequestResponse.java:167)

      com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet$ThreadBlockingRequestResponse.respondWith(ThreadBlockingAdaptingServlet.java:36)

      com.icesoft.faces.context.View$2.serve(View.java:48)

      com.icesoft.faces.context.View.servePage(View.java:130)

      com.icesoft.faces.webapp.http.core.MultiViewServer.service(MultiViewServer.java:62)

      com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:24)

      com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:160)

      com.icesoft.faces.webapp.http.servlet.SessionDispatcher$1.service(SessionDispatcher.java:38)

      com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet.service(ThreadBlockingAdaptingServlet.java:19)

      com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:63)

      com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:55)

      com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23)

      com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:91)

      javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

        • 1. Re: Migration to Jboss 7 - webapp
          nickarls

          List all the jars in  your deployment.

          • 2. Re: Migration to Jboss 7 - webapp
            sammie88

            here's some of the jars Im using for the front end:

             

            Front.war/WEB-INF/lib

             

            backport-util-concurrent.jar

            commons-fileupload.jar

            commons-httpclient-3.1.jar

            icefaces.jar

            icefaces-comps.jar

            icefaces-facelets.jar

            commons-beanutils.jar

             

             

            I also have another deployment for the back end:

            Back.end/WEB-INF/lib (some of the jars)

            jaxb-api-2.1.jar

            activation.jar

            jaxb-impl-2.1.10.jar

            jersey-core-1.0.3.1.jar

            jersey-server-1.0.3.1.jar

            jsr311-api-1.0.jar

             

             

            When I deploy the back end I get a lot of these:

            Encountered invalid class name 'com.sun.jersey.core.impl.provider.entity.XMLRootElementProvider$App' for service type 'javax.ws.rs.ext.MessageBodyReader'

            ....

             

            I also removed the module jaxrs from standalone.xml

             

            Thank you!

            • 3. Re: Migration to Jboss 7 - webapp
              nickarls

              Probably from the Jersey conflicting with the AS-provided resteasy implementation.