[JBoss jBPM] - Re: jBPM or pages.xml overloading / extending / composition
by kukeltje
if you want it now, apply this patch to the source of 3.2.1
| ### Eclipse Workspace Patch 1.0
| #P jbpm.3-clean
| Index: jpdl/jar/src/main/java/org/jbpm/graph/node/ProcessState.java
| ===================================================================
| RCS file: /cvsroot/jbpm/jbpm.3/jpdl/jar/src/main/java/org/jbpm/graph/node/ProcessState.java,v
| retrieving revision 1.3
| diff -u -r1.3 ProcessState.java
| --- jpdl/jar/src/main/java/org/jbpm/graph/node/ProcessState.java 15 Nov 2006 12:51:07 -0000 1.3
| +++ jpdl/jar/src/main/java/org/jbpm/graph/node/ProcessState.java 28 Jun 2007 13:04:57 -0000
| @@ -62,6 +62,7 @@
| import org.jbpm.graph.exe.Token;
| import org.jbpm.graph.log.NodeLog;
| import org.jbpm.graph.log.ProcessStateLog;
| +import org.jbpm.jpdl.el.impl.JbpmExpressionEvaluator;
| import org.jbpm.jpdl.xml.JpdlXmlReader;
| import org.jbpm.jpdl.xml.Parsable;
|
| @@ -147,9 +148,14 @@
| ) {
| SubProcessResolver subProcessResolver = getSubProcessResolver();
| List attributes = new ArrayList();
| - attributes.add(new FlyweightAttribute("name", subProcessName));
| + String subProcessNameResolved = (String) JbpmExpressionEvaluator.evaluate(subProcessName, executionContext);
| + if (log.isDebugEnabled()) {
| + log.debug("SubProcessName after eval: " + subProcessNameResolved);
| + }
| + attributes.add(new FlyweightAttribute("name", subProcessNameResolved));
| Element subProcessElement = new DefaultElement("sub-process");
| subProcessElement.setAttributes(attributes);
| +
| usedSubProcessDefinition = subProcessResolver.findSubProcess(subProcessElement);
| }
|
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058718#4058718
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4058718
18Â years, 9Â months
[JBoss Seam] - Dispatcher not bound
by Phantom
Good day,
I cann't run my application due to this excaption:
| 16:25:23,866 ERROR [DebugPageHandler] redirecting to debug page
| javax.naming.NameNotFoundException: Dispatcher not bound
| at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
| at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
| at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
| at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
| at org.jnp.server.NamingServer.lookup(NamingServer.java:270)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
| at javax.naming.InitialContext.lookup(InitialContext.java:351)
| at org.jboss.seam.Component.instantiateSessionBean(Component.java:1107)
| at org.jboss.seam.Component.instantiate(Component.java:1093)
| at org.jboss.seam.Component.newInstance(Component.java:1736)
| at org.jboss.seam.Component.getInstance(Component.java:1643)
| at org.jboss.seam.Component.getInstance(Component.java:1610)
| at org.jboss.seam.Component.getInstance(Component.java:1589)
| at org.jboss.seam.Component.getInstance(Component.java:1584)
| at org.jboss.seam.core.Dispatcher.instance(Dispatcher.java:238)
| at org.jboss.seam.interceptors.AsynchronousInterceptor.aroundInvoke(Asyn
| chronousInterceptor.java:26)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocation
| Context.java:69)
|
I read this
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=97033
But I use Jboss AS and my application packaged as EAR. That is mean, that I have one submodule for EJBs and one for WAR. I can't understand what is the problem in. May be I switched off something important in config?
Please help me!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058713#4058713
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4058713
18Â years, 9Â months