[JBoss jBPM] - Re: JBPM 3 or 4
by kukeltje
anonymous wrote : I know jBPM 4 will have a new API, so I isolated all API code and I should be able to migrate fairly easy.
Always a good choice
anonymous wrote : My questions:
| - Will jBPM 4.0 still be able to interprete the 3.2.3 XML process definitions?
No, but a conversion that will yield between 80-100% (depending on what you use) will be provided.
anonymous wrote : - How stable is the 4.0 alpha? Can I migrate and demo?
|
Depends on what you want to demo...lots of things do not work yet, so I personally would not. What you can do is mention that jBPM is moving in the direction of taking the best of BPMN (e.g. graphical notation, terminology) and combine that with what jBPM is good at (flexible language under the hood in xml)
[anonymous wrote :
| - Is jBPM 4.0 getting along quickly enough to left me hold off on this until it is stable? (Are we talking weeks or months?)
|
Weeks? No... hahaha... there are fixed releasecycles of 8 weeks, so expect alpha2 in 8, maybe a beta1 in 16, then another beta, a cr or 2 and final. So don't expect a GA release before summerhollidays...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4201543#4201543
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4201543
17 years, 6 months
[JBoss jBPM] - Re: ProcessInstance ending changed
by kukeltje
I tried this and was able to run it inspite of a small error in your processdefinition (task2 is in the processstate ;-) )
You signal the 'child-token' which is in the proces-state node, not in the subprocess itself. So to me ending that does not signal any parent node. It does transition this specific token to the next one. I think that should maybe not happen but still...
If you want the subprocess to end and not signal the parent token, then end the rootToken of the subprocess with end(false) like
processInstance.getRootToken().getChild("transition1").getSubProcessInstance().getRootToken().end(false);
If I adapt the unittest this does exactely what you want
ProcessInstance processInstance = jbpmContext.newProcessInstance("MainProcess");
| processInstance.signal();
|
| assertNull(processInstance.getTaskMgmtInstance().getTaskInstances());
|
| assertEquals("subProcess1", processInstance.getRootToken().getChild("transition1").getNode().getName());
|
| // Abort one of the subprocesses
| processInstance.getRootToken().getChild("transition1").getSubProcessInstance().getRootToken().end(false);
|
| assertNull(processInstance.getTaskMgmtInstance().getTaskInstances());
| assertTrue(processInstance.getRootToken().getChild("transition1").getSubProcessInstance().getRootToken().hasEnded());
| assertFalse(processInstance.getRootToken().getChild("transition1").hasEnded());
| assertEquals("subProcess1", processInstance.getRootToken().getChild("transition1").getNode().getName());
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4201537#4201537
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4201537
17 years, 6 months
[Remoting] - Re: With SSLBisocket is there is java.rmi.server.hostname or
by TheNelson
Now I have a legitimate question:
I have a dual homed server with 10.12.2.8 and 10.12.2.50 as it's IP addresses. I create a bisocket connector with the following URI:
sslbisocket://multihome:7777/foobar/services?datatype=serializablehomes=10.12.2.50:7777!10.12.2.8:7777&serializationtype=jboss
and I get an Index exception:
java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
at java.util.ArrayList.RangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at org.jboss.remoting.transport.bisocket.BisocketServerInvoker.start(BisocketServerInvoker.java:285)
at org.jboss.remoting.transport.Connector.start(Connector.java:340)
at com.rovingplanet.npe.server.NPEManager.remoteConnectorSetup(NPEManager.java:851)
at com.rovingplanet.npe.server.NPEManager.startService(NPEManager.java:929)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
It's looking through the secondary port list. If I add a connect_home then it works but I can only connect to the connect_home. If I add both IPs to the connect_home then I get the same exception. How can I make it able to connect to both IPs? What's with the secondary port list?
thanks,
Ian
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4201530#4201530
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4201530
17 years, 6 months