[jBPM] - jbpm5 scale out reference architecture..
by Affan Dar
Affan Dar [https://community.jboss.org/people/affandar] created the discussion
"jbpm5 scale out reference architecture.."
To view the discussion, visit: https://community.jboss.org/message/717611#717611
--------------------------------------------------------------
After scavenging the forums and docs for jbpm 5 over the last week, I have drafted up the attached 'reference architecture' for a scalable jBPM 5 deployment. Would love to get feedback (aka ripped apart :) ).
Here are the key pieces:
1. A shared KnowlegeBase which acts as a repository of processes across the whole deployment (master-slave replicated with writes-to-master and reads-from-slaves etc etc)
2. There are a fixed number of KnowledgeSessions spread across DBs in a DB farm (DB1, DB2)
3. A table contains the mapping between these sessions, the database that they are stored in and the node that is assigned to these sessions. Management of the data in this table is an admin config operation (either automatic or manual).
4. A number of worker nodes which load the KnowledgeSessions that belong to them (as per the table above)
5. Another table that has mapping of processes-to-sessions. This table is updated by the worker nodes when a new process is created.
6. A router or client proxy that routes process instance managment requests as per the following rules:
- For process instance creation requests, round robin to any node
- For requests pertaining to a specific process instance, consult the table in (5) & (6) and route to appropriate node
Now how to scale out:
- If the bottleneck is the CPU/memory of the worker nodes then add more nodes and rebalance the session distribution in table (3)
- If the bottleneck is the DB capacity or disk then add a database, migrate processes/session data to the new database and update table (3)
Of course the resharding above is crude and manual and can probably be more sophisticated but would love to hear thoughts/comments on the basic idea.
Also practically speaking, I hope it is possible to migrate a session and processes to a different DB at all?
Thanks
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/717611#717611]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years
[Beginner's Corner] - java.io.InvalidClassException: org.jboss.ejb3.remoting.BaseRemoteProxy; local class incompatible
by ifteqar ahmed
ifteqar ahmed [https://community.jboss.org/people/ifteqar2011] created the discussion
"java.io.InvalidClassException: org.jboss.ejb3.remoting.BaseRemoteProxy; local class incompatible"
To view the discussion, visit: https://community.jboss.org/message/725008#725008
--------------------------------------------------------------
Hi,
I am using Jboss-5.1.0 GA on client side and JBoss-EAP 4.3 as Remote Server.
First I brought up Jboss-4.3 EAP Remote Server and while bringing up the Client JBoss-5.1.0 GA i am getting the below ERROR Please help
1. Caused by: java.io.InvalidClassException: org.jboss.ejb3.remoting.BaseRemoteProxy; local class incompatible: stream classdesc serialVersionUID = 1126421850898582900, local cl
2. ass serialVersionUID = -2711693270411201590
3. at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:546)
4. at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552)
5. at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
6. at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552)
7. at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
8. at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
9. at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
10. at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)
11. at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)
12. at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
13. at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
14. at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
15. at java.rmi.MarshalledObject.get(MarshalledObject.java:135)
16. at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:72)
17. at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:769)
18. ... 90 more
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/725008#725008]
Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years
[jBPM] - Question about how to add user to assign and execute human task
by Jimmy dong
Jimmy dong [https://community.jboss.org/people/jimmy.dongjia] created the discussion
"Question about how to add user to assign and execute human task"
To view the discussion, visit: https://community.jboss.org/message/717004#717004
--------------------------------------------------------------
Dear all:
I created a jbpm project only include .bpmn file and .ftl file, I start and execute process by jbpm console. At first, a user task node 's +ActorId+ I fill in "john",
and I can use john login console and see personal task. But when I fill in the user task node 's +ActorId as "jimmy" or other name which I set in+
+/jbpm-installer/jboss-5.1.0.GA/server/default/conf/users.properties, I only can login the console ,and start a process,but can't be assigned a personal task.+
+My question is : why only set+ user task node 's +ActorId as "krisv","john",or "mary" can be assigned task, if set+ user task node 's +ActorId as other names in "users.properties",+
+only can login console,but can't assign personal task?+
the content of file users.properties:
admin=admin
krisv=krisv
john=john
mary=mary
jimmy=jimmy
hawis=hawis
marvin=marvin
william=william
daniel=daniel
kim=kim
jason=jason
yuri=yuri
devin=devin
sales-rep=sales-rep
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/717004#717004]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 1 month