1 Reply Latest reply on Dec 4, 2008 6:53 AM by Ronald van Kuijk

    JBPM and SEAM

    Roland Wiesemann Newbie

      i'm using JBoss AS 4.2.2 with java 1.6.07.

      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.

      If i deploy the applications A.ear and B.war together, the first application A.ear throws following Exception by evaluating the expression '#{context.transitionValidateFlight}'.

       [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.

      Anyone can help?
      How can i preserve the application A.ear from the SeamExpressionEvaluator? used in application B.war (in the event that is the problem)