3 Replies Latest reply on May 12, 2010 7:45 AM by jaikiran pai

    Problem deploying jBPM 4.3 on JBoss 6.0.0.M3

    Heiko Tappe Newbie

      I am trying to deploy jBPM 4.3 on JBoss 6.0.0.M3

      One problem is described here: Hornet / JbpmCommandQueue problem with 6.0.0.M3

      But now I would like to talk about another problem that occurs later in the deployment process.

      The following exception is thrown (complete log as attachment):

       

      ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/gwt-console-server]] Exception sending context initialized event to listener instance of class org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap: java.lang.ClassCastException: org.jboss.resteasy.plugins.providers.jaxb.JAXBXmlSeeAlsoProvider cannot be cast to javax.ws.rs.ext.MessageBodyReader

       

      Any idea what goes wrong here?

       

      --Heiko

        • 1. Re: Problem deploying jBPM 4.3 on JBoss 6.0.0.M3
          jaikiran pai Master

          11:51:24,321 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/gwt-console-server]]

          Exception sending context initialized event to listener instance of class org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap:

          java.lang.ClassCastException: org.jboss.resteasy.plugins.providers.jaxb.JAXBXmlSeeAlsoProvider cannot be cast to

          javax.ws.rs.ext.MessageBodyReader

          Are you packaging any jar files containing javax.ws.rs.* packages/classes in your application? If yes, try removing those jars from the application packaging (or alternately, configure the application for classloader isolation  http://community.jboss.org/wiki/classloadingconfiguration )

          • 2. Re: Problem deploying jBPM 4.3 on JBoss 6.0.0.M3
            Heiko Tappe Newbie

            jbpm comes along with a gwt-console-server-jbpm.war which contains a jaxrs-api-1.0.2.GA.jar

            Removing it throws the following error:

             

            13:27:23,341 INFO  [org.jboss.bootstrap.impl.base.server.AbstractServer] JBossAS [6.0.0.20100429-M3 "Neo"] Started in 30s:438ms
            13:27:59,528 INFO  [org.jboss.deployment.dependency.ContainerDependencyMetaData] addJndiDependency, JndiDependencyMetaData@1c68a0{queue/DLQ}
            13:28:15,622 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to PostClassLoader: name=vfs:///C:/Programme/jboss-6.0.0-M3/server/transdata/deploy/jbpm/gwt-console-server-jbpm.war state=ClassLoader mode=Manual requiredState=PostClassLoader: org.jboss.deployers.spi.DeploymentException: Exception visiting module
                at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49) [:2.2.0.Alpha4]
                at org.jboss.deployers.vfs.plugins.annotations.AnnotationRepositoryDeployer.visitModule(AnnotationRepositoryDeployer.java:109) [:2.2.0.Alpha4]
                at org.jboss.deployers.vfs.plugins.annotations.AnnotationRepositoryDeployer.deploy(AnnotationRepositoryDeployer.java:154) [:2.2.0.Alpha4]
                at org.jboss.deployers.vfs.plugins.annotations.AnnotationRepositoryDeployer.deploy(AnnotationRepositoryDeployer.java:47) [:2.2.0.Alpha4]
                at org.jboss.deployers.vfs.spi.deployer.AbstractOptionalVFSRealDeployer.deploy(AbstractOptionalVFSRealDeployer.java:57) [:2.2.0.Alpha4]
                at org.jboss.deployers.spi.deployer.helpers.AbstractOptionalRealDeployer.internalDeploy(AbstractOptionalRealDeployer.java:74) [:2.2.0.Alpha4]
                at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55) [:2.2.0.Alpha4]
                at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179) [:2.2.0.Alpha4]
                at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1857) [:2.2.0.Alpha4]
                at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1575) [:2.2.0.Alpha4]
                at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1516) [:2.2.0.Alpha4]
                at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:377) [jboss-dependency.jar:2.2.0.Alpha9]
                at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2042) [jboss-dependency.jar:2.2.0.Alpha9]
                at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1081) [jboss-dependency.jar:2.2.0.Alpha9]
                at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1320) [jboss-dependency.jar:2.2.0.Alpha9]
                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1244) [jboss-dependency.jar:2.2.0.Alpha9]
                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1137) [jboss-dependency.jar:2.2.0.Alpha9]
                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:937) [jboss-dependency.jar:2.2.0.Alpha9]
                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:652) [jboss-dependency.jar:2.2.0.Alpha9]
                at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:2008) [:2.2.0.Alpha4]
                at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:1101) [:2.2.0.Alpha4]
                at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679) [:2.2.0.Alpha4]
                at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117) [:6.0.0.20100429-M3]
                at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:409) [:6.0.0.20100429-M3]
                at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:294) [:6.0.0.20100429-M3]
                at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) [:1.6.0_16]
                at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) [:1.6.0_16]
                at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) [:1.6.0_16]
                at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) [:1.6.0_16]
                at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181) [:1.6.0_16]
                at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205) [:1.6.0_16]
                at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_16]
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_16]
                at java.lang.Thread.run(Thread.java:619) [:1.6.0_16]
            Caused by: java.io.EOFException
                at java.util.zip.GZIPInputStream.readUByte(GZIPInputStream.java:207) [:1.6.0_16]
                at java.util.zip.GZIPInputStream.readUShort(GZIPInputStream.java:197) [:1.6.0_16]
                at java.util.zip.GZIPInputStream.readHeader(GZIPInputStream.java:136) [:1.6.0_16]
                at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:58) [:1.6.0_16]
                at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:68) [:1.6.0_16]
                at org.jboss.mcann.scanner.AbstractAnnotationScanner.reattach(AbstractAnnotationScanner.java:120) [:1.0.0.Alpha2]
                at org.jboss.mcann.scanner.AbstractAnnotationScanner.scan(AbstractAnnotationScanner.java:74) [:1.0.0.Alpha2]
                at org.jboss.deployers.vfs.plugins.annotations.AnnotationRepositoryDeployer.visitModule(AnnotationRepositoryDeployer.java:104) [:2.2.0.Alpha4]
                ... 32 more

             

            13:28:15,637 INFO  [org.jboss.ejb3.deployers.Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@10296791{vfs:///C:/Programme/jboss-6.0.0-M3/server/transdata/deploy/jbpm/jbpm-enterprise.jar}

            • 3. Re: Problem deploying jBPM 4.3 on JBoss 6.0.0.M3
              jaikiran pai Master

              Heiko Tappe wrote:

               

               

              Removing it throws the following error:

               

              Caused by: java.io.EOFException
                  at java.util.zip.GZIPInputStream.readUByte(GZIPInputStream.java:207) [:1.6.0_16]
                  at java.util.zip.GZIPInputStream.readUShort(GZIPInputStream.java:197) [:1.6.0_16]
                  at java.util.zip.GZIPInputStream.readHeader(GZIPInputStream.java:136) [:1.6.0_16]
                  at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:58) [:1.6.0_16]
                  at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:68) [:1.6.0_16]
                  at org.jboss.mcann.scanner.AbstractAnnotationScanner.reattach(AbstractAnnotationScanner.java:120) [:1.0.0.Alpha2]
                  at org.jboss.mcann.scanner.AbstractAnnotationScanner.scan(AbstractAnnotationScanner.java:74) [:1.0.0.Alpha2]
                  at org.jboss.deployers.vfs.plugins.annotations.AnnotationRepositoryDeployer.visitModule(AnnotationRepositoryDeployer.java:104) [:2.2.0.Alpha4]
                  ... 32 more

               

              13:28:15,637 INFO  [org.jboss.ejb3.deployers.Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@10296791{vfs:///C:/Programme/jboss-6.0.0-M3/server/transdata/deploy/jbpm/jbpm-enterprise.jar}

               

              More fun!   That exact error was reported yesterday here http://community.jboss.org/thread/151821. Let's see what comes of that discussion.