0 Replies Latest reply on Nov 20, 2012 5:45 AM by fischsalat

    JBoss-esb 4.11 "bpm5processor" sample on JBoss AS 6.1 with gwt-console-server 5.2.0

    fischsalat

      Hi folks,

       

      I'm trying to set up the JBoss-esb 4.11 "bpm5processor" sample on a JBoss 6.1 AS.

       

      As an orientation i followed this great work-around to understand the jBPM installing procedure with JBoss AS 5.1:

      https://community.jboss.org/wiki/InstallingJBPM53OnJBossAS51AndChangingDB

       

      So i tried to adapt this work-around on a JBoss AS 6.1.

       

       

      -------------------------------------------

      My configuration:

       

      ubuntu 12.04

      java version 1.6.0_24

      JBoss 6.1.0. Final

      Jboss-esb 4.11

      jBPM 5.2.0 Final full installer

      Maven 3.0.4

      eclipse indigo 3.7

      ------------------------------------------

       

       

      As the "bpm5processor" sample readme.txt says, i'm using the jbpm 5.2.0 Final installer. Via this installer, i did some configurations and installed it successfully without eclipse helios or JBoss AS 7.

      With the jBPM ant build script i'm setting up the Mina human task server and get access to his port on 9123.

      The JBoss AS 6.1 with his jboss-esb 4.11 starts externally.

      With eclipse indigo i have imported the „bpm5processor“ sample, build a esb-project with Maven 3.0.4 and deployed the .esb on the JBoss AS 6.1.

      As far, everything seems to be fine and the class „org.jboss.soa.esb.services.jbpm5.actions.Bpm5Processor“, which i call inside the esb.xml is working correctly on JBoss AS 6.1. So i am able to process my jBPM5-models on a JBoss AS 6.1.

       

      But i want more visual feedback or informations about my deployed jBPM-Processes except some "System.out.println("");"

       

       

      I'm able to deploy the jBPM gwt-console 5.2, but if i try to do the same with the jBPM 5.2 gwt-console-server, i get a lot of error messages on server's start up.

       

      I tried to fix this errors, so i followed this Thread about the persistance issue:

      https://community.jboss.org/message/739278

       

      I also tried the „hard way“ and deleted some lib-files, like it is discussed here:

      https://community.jboss.org/thread/162491

       

      But it doesn't help at all.

      Is it possible, that i have to isolate some classloaders inside the gwt-console-server's jboss-web.xml?

      Does somebody have any experience with deploying the jbpm 5.2.0 gwt-console-server? Or got any ideas how i could deploy the gwt-console-server?

       

       

      Here is the error stack in short, which i get when i try to start the AS6 server.

       

       

      ERROR [[/gwt-console-server]] Exception sending context initialized event to listener instance of class org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap: java.lang.RuntimeException: java.lang.RuntimeException: Unable to instantiate MessageBodyReader

      [..]

       

       

      ERROR [[/gwt-console-server]] Exception sending context initialized event to listener instance of class org.jboss.web.jsf.integration.config.JBossMojarra20ConfigureListener: java.lang.ClassCastException: org.apache.xerces.jaxp.SAXParserFactoryImpl cannot be cast to javax.xml.parsers.SAXParserFactory
      [..]

       

       

      ERROR [StandardContext] Error listenerStart

      ERROR [StandardContext] Context [/gwt-console-server] startup failed due to previous errors

      ERROR [AbstractKernelController] Error installing to Start: name=jboss.web.deployment:war=/gwt-console-server state=Create mode=Manual requiredState=Installed: org.jboss.deployers.spi.DeploymentException: URL file:/home/fischsalat/dev/jboss-6.1.0.Final/server/node1/tmp/vfs/automounta1456e8d80cc4705/jbpm-gwt-console-server-5.2.0.Final.war-93b218be814f9bad/ deployment failed
      [..]


       

      ERROR [AbstractKernelController] Error installing to Real: name=vfs:///home/fischsalat/dev/jboss-6.1.0.Final/server/node1/deploy/jbpm-gwt-console-server-5.2.0.Final.war state=PreReal mode=Manual requiredState=Real: org.jboss.deployers.spi.DeploymentException: URL file:/home/fischsalat/dev/jboss-6.1.0.Final/server/node1/tmp/vfs/automounta1456e8d80cc4705/jbpm-gwt-console-server-5.2.0.Final.war-93b218be814f9bad/ deployment failed

      [..]

       

       

       

      I would appreciate any help or ideas.

       

      Regards,

       

      Eybe