[JBoss jBPM] - Concurrent childnodes: how to create multithreaded nodes in
by Rasun
Hi there,
As I'm kinda new on this jBPM happening, I'm struggling with a specific way of implementation. I'm not using the GPD, only the PVM. The processdefinition is build in a Java file, no XML.
This is the situation: currently I'm trying to create a multithreaded process. That is, a node (A) that splits as a fork in three sub-nodes (A1, A2 and A3). All three childnodes need to run at the same time.
After that they need to merge into one node (B), which is the last node of the process.
Now I've been trying to implement the examples I've seen here and there online (forEachForkActionHandler and other global documentation). But they don't seem to work out as I want: no concurrency to be detected (every node has a random generated variable time-out, so childnode A2 could display a message before A1). Every node is executed in the order it is implemented, sequentially not concurrent.
So, now the issue: it looks like PVM doesn't support concurrency threads, which means I have to create my own threads per process by creating Threadable classes the usual way. Is this correct? Doesn't PVM create it's own executable threads when splitting/forking?
If not, anyone got a simple code example of above? I think I've read all possible documentation online about jBPM, but haven't found any solution. And code examples are so much clearer, from time to time :).
Thanks in advance for the help!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159960#4159960
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159960
17 years, 10 months
[JBoss Cache: Core Edition] - Re: Exception when a cluster node joins under load
by manik.surtani@jboss.com
"kringdahl" wrote : Just to loop back on my efforts to integrate JBoss Cache 2.1.1.GA with AS 4.2.2.GA. I have this mostly working. It required upgrading the AOP deployer in the AS to JBoss AOP 2.0.0 (I used CR8) and also using the new pluggable-instrumentor.jar as the javaagent.
Great. Perhaps you could document what you did on this wiki page to help others who would like to do the same? Would be much appreciated. :-)
"kringdahl" wrote :
| 1) Is 2.1.0.GA the latest Pojo Cache release? Right now, I have taken Pojo Cache 2.1.0.GA and Core Cache 2.1.1.GA. I do not see any newer releases in the SF downloads page or the maven repositories, not even for 2.2.0.
|
Yes, 2.1.0 is the latest. The reason being we didn't want to make another GA release on POJO Cache with a CR of JBoss AOP. Both jbosscache-core and jbosscache-pojo will go GA with 2.2.0 though.
"kringdahl" wrote : 2) (Maybe this should go to the Pojo Cache forum but it's all sort of related) We are seeing a new problem where Lists and Sets are not working properly following the upgrade. Specifically, we use a JDBC cache loader. The lists work fine until we bring the cluster down and back up again. When we do, all of the lists and sets appear as empty. What's weirder, if we execute .size() or take some other action on the collection, the list attributes come in. Has anyone seen this before? I'm fairly certain this is related to the AOP switch. I've triple checked that the aop config file is correct.
Yes - could you please raise this on the POJO Cache forums and we'll attend to it there.
Thanks!
Manik
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159956#4159956
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159956
17 years, 10 months