0 Replies Latest reply on Nov 9, 2006 1:18 PM by Joerg Glandorf

    JBOSS Messaging 1.0 GA and JBPM 3.1.2 deployment issues

    Joerg Glandorf Newbie

      I'm trying to use JBPM in combination with JBOSS Messaging under JBOSS 4.0.5.
      Depending on whether I have jbpm deployed scoped or not I get different errors during/after deployment of the MDBs jar package:

      With jbpm unscoped directly during startup:
      [org.jboss.jms.client.container.ExceptionInterceptor] Caught RuntimeException
      java.lang.ClassCastException: org.jboss.jms.destination.JBossQueue

      With jbpm scoped:
      The server starts fine but I get an error within the MDB, which attempts to access JBPM:
      java.lang.ClassCastException: org.jbpm.JbpmConfiguration

      I guess I'd have to use the same classloader for the MDB jar as for jbpm.sar. (I use the jar just for testing purposes now, likely becomes an ear in future)

      I wonder if there is somebody who has already figured out the right setup (e.g. I also don't have jbpm.3.1.2.jar not in the sar but in deploy/xxx/lib) for this combination.
      Any comments/hints are highly appreciated.