0 Replies Latest reply on Dec 5, 2008 10:45 AM by Roland Wiesemann

    Coexistence from JBPM and SEAM

    Roland Wiesemann Newbie

      i have a question about the coexistence from JBPM and SEAM applications.
      I'm using
      - JBoss AS 4.2.3 with java 1.6.07.
      - JBpm 3.2.3
      - Seam 2.0.2

      I have an application A.ear including JBPM. If i deploy this application alone, it works fine.
      Than i have an application B.war including SEAM. This application has no relations to the application A.ear. If i deploy the application B.war alone, it works fine.
      Both applications are including her own java lib jpdl.jar.
      If i deploy the applications A.ear and B.war together, the first application A.ear throws following Exception by evaluating the expression



            [exec]    at org.jbpm.graph.exe.Token.signal(Token.java:195)
            [exec]    at org.jbpm.graph.exe.Token.signal(Token.java:140)
            [exec]    at org.jbpm.graph.exe.ProcessInstance.signal(ProcessInstance.java:271)
            [exec]    at com.psilog.brs.ejb.ProcessDragonBean.execute(ProcessDragonBean.java:72)
            [exec]    ... 61 more
            [exec] Caused by: javax.el.PropertyNotFoundException: Target Unreachable, identifier 'context' resolved to null
            [exec]    at org.jboss.el.parser.AstValue.getTarget(AstValue.java:38)
            [exec]    at org.jboss.el.parser.AstValue.invoke(AstValue.java:95)
            [exec]    at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
            [exec]    at org.jboss.seam.bpm.SeamExpressionEvaluator$1.evaluate(SeamExpressionEvaluator.java:97)
            [exec]    at org.jboss.seam.bpm.SeamExpressionEvaluator.evaluate(SeamExpressionEvaluator.java:45)
            [exec]    at org.jbpm.jpdl.el.impl.JbpmExpressionEvaluator.evaluate(JbpmExpressionEvaluator.java:39)
            [exec]    at org.jbpm.jpdl.el.impl.JbpmExpressionEvaluator.evaluate(JbpmExpressionEvaluator.java:30)
            [exec]    at org.jbpm.graph.node.Decision.execute(Decision.java:95)
            [exec]    ... 81 more
            [exec] 14:44:39,298 WARN  [AbstractDLQHandler] Message redelivered=1 max=0 sending it to the dlq org.jboss.mq.SpyObjectMessage {
            [exec] Header { 
            [exec]    jmsDestination  : TOPIC.psilog-brslh-iface/dragonMessage
            [exec]    jmsDeliveryMode : 2
            [exec]    jmsExpiration   : 0

      It is fixed by restarting JBoss, without the application B.war.

      Can You help me?
      How can i preserve the application A.ear from the SeamExpressionEvaluator? used in application B.war (in the event that is the problem)
      Thanks for your investigation
      Roland Wiesemann