[jboss-user] [JBoss jBPM] - No using SeamVariableResolver inside seam

arussel do-not-reply at jboss.com
Fri Sep 28 02:37:13 EDT 2007


Hi, I have a seam application inside an ear in JBoss 4.0.5. I uses jbpm and everything works fine.
Inside the ear I also have a MBean. I need this MBean to "talk" with the jbpm process.
The error I get is the following:
Caused by: java.lang.IllegalStateException: No application context active
at org.jboss.seam.Component.forName(Component.java:1577)
        at org.jboss.seam.Component.getInstance(Component.java:1627)
        at org.jboss.seam.Component.getInstance(Component.java:1610)
        at org.jboss.seam.jbpm.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:12)
        at org.jbpm.jpdl.el.impl.NamedValue.evaluate(NamedValue.java:124)
        at org.jbpm.jpdl.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:264)
        at org.jbpm.jpdl.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:191)
        at org.jbpm.jpdl.el.impl.JbpmExpressionEvaluator.evaluate(JbpmExpressionEvaluator.java:34)
        at org.jbpm.taskmgmt.exe.TaskMgmtInstance.performAssignmentActorIdExpr(TaskMgmtInstance.java:224)
        at org.jbpm.taskmgmt.exe.TaskMgmtInstance.performAssignment(TaskMgmtInstance.java:196)

Is there a way to tell the jbpmContext or task manager not to use SeamVariableResolver when I am inside the MBean ? 
alex

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089564#4089564

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4089564



More information about the jboss-user mailing list