[JBoss jBPM] - Re: Custom Authentication/Identity Module
by salaboy21
I was looking for your answer (in jbpm 3.2.3) and I find this block of code:
| if (expression!=null){
| assignmentDelegation.setProcessDefinition(processDefinition);
| assignmentDelegation.setClassName("org.jbpm.identity.assignment.ExpressionAssignmentHandler");
| assignmentDelegation.setConfiguration("<expression>"+expression+"</expression>");
|
| }
|
This code is in the JpdlXmlReader.java, that is a core class that take the XML and create the processDefinition Object. The method is:
| protected Delegation readAssignmentDelegation(Element assignmentElement)
|
So I think that you must recompile the entire jbpm-jpdl.jar to change this Handler, with your extended handler implementation.
This is really a bad news for me.. because there is no other way to set it.. (someone know another??) but I think is right because is a core property, but there are no really flexible way to change it.. I hope to be wrong about that.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4194119#4194119
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4194119
17 years, 4 months
[JBoss jBPM] - JBPM and SEAM
by rwiesemann
Hi,
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)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4194059#4194059
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4194059
17 years, 4 months