1 Reply Latest reply on Feb 3, 2009 3:53 PM by cosmo

    Disable JBPM stuff

    dont

      Hi all,
        I am using seam 1.2.1GA and I don't need to use JBPM. My application is deployed to an oc4j instance. Anything seems to be working fine except the fact that I randomly get Missing Class exceptions for org.jbpm.taskmgmt.exe.TaskInstance (or ProcessInstance).


      I have created an Identity subclass to use with the application and in my template page I use  the identity.username etc in order to display login info. The not found exception takes place when Seam tries to interpret the above el expression (not always).


      In the log i see:


      at org.jboss.seam.contexts.BusinessProcessContext.getTaskInstance (BusinessProcessContext.java:220)
      at org.jboss.seam.contexts.BusinessProcessContext.get (BusinessProcessContext.java:52)
      at org.jboss.seam.contexts.Contexts.lookupInStatefulContexts


      and I wonder why Seam thinks this kind of context is active for the app ???


      How can I disable everything concerning JBPM?
      Any ideas?


      Regards

        • 1. Re: Disable JBPM stuff
          cosmo

          To disable JBPM support, I think you have to remove your
          <component class="org.jboss.seam.core.Jbpm">
          tag, within your components.xml