[JBoss Messaging] - Re: fails to start: IllegalStateException: Router already ha
by bartvh
It is rather big. Here's a subselect:
mysql> select * from JBM_POSTOFFICE where JBM_POSTOFFICE.QUEUE_NAME = 'TraceListener.TraceListener';
| +-----------------+---------+-----------------------------+----------------+----------+------------+-----------+
| | POSTOFFICE_NAME | NODE_ID | QUEUE_NAME | COND | SELECTOR | CHANNEL_ID | CLUSTERED |
| +-----------------+---------+-----------------------------+----------------+----------+------------+-----------+
| | Clustered JMS | 2 | TraceListener.TraceListener | topic.Tracking | NULL | 1018 | Y |
| | Clustered JMS | 0 | TraceListener.TraceListener | topic.Tracking | NULL | 1053 | Y |
| | Clustered JMS | 0 | TraceListener.TraceListener | topic.Tracking | NULL | 1083 | Y |
| +-----------------+---------+-----------------------------+----------------+----------+------------+-----------+
In this case, I first started node 0, and then node 2. I even deleted all of JBM_POSTOFFICE before restarting the two servers.
Additional notes:
- I am using RoundRobin post office.
- I am currently using svn trunk version 2779, because of a bug in the .GA version.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059170#4059170
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059170
17Â years, 5Â months
[JBoss jBPM] - jBPM 3.2.1 and Sub-Process
by drashmi30
Hi,
I am presently working on the stable version of jbpm-jpdl-3.2.1 and have downloaded the jbpm-jpdl-suite-3.2.1.zip.
While trying to test for a process having a sub-process, I am getting an error:
Error starting process: An exception of type "org.jbpm.JbpmException" was thrown. The message is: can't create a process instance when processDefinition is null
The process followed by me for testing is that I deploy the sub-process first and then the main process.
Please find the main process and the sub-process definitions below:
simpleSubProcess1.par
| <?xml version="1.0" encoding="UTF-8"?>
|
| <process-definition
| xmlns="urn:jbpm.org:jpdl-3.2"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xsi:schemaLocation="urn:jbpm.org:jpdl-3.2 http://docs.jboss.org/jbpm/xsd/jpdl-3.2.xsd" name="simpleSubProcess1">
|
| <start-state name="start">
|
| <transition name="" to="state1"></transition>
|
| </start-state>
|
| <state name="state1">
|
| <transition name="" to="node1"></transition>
|
| </state>
|
| <node name="node1">
| <action class="org.jbpm.tutorial.action.SimpleActionHandler"/>
|
| <transition name="" to="state2"></transition>
|
| </node>
|
| <state name="state2">
|
| <transition name="" to="end1"></transition>
|
| </state>
|
| <end-state name="end1"></end-state>
| </process-definition>
|
simpleMainProcess1.par
| <?xml version="1.0" encoding="UTF-8"?>
|
| <process-definition
| xmlns="urn:jbpm.org:jpdl-3.2"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xsi:schemaLocation="urn:jbpm.org:jpdl-3.2 http://docs.jboss.org/jbpm/xsd/jpdl-3.2.xsd" name="simpleMainProcess1">
| <start-state name="start">
| <transition name="" to="process1"></transition>
| </start-state>
| <process-state name="process1">
| <sub-process name="simpleSubProcess1"></sub-process>
| <transition name="" to="end1"></transition>
| </process-state>
| <end-state name="end1"></end-state>
| </process-definition>
|
Any help in this regard will be very useful for me. Kindly share your experiences and knowledge and help me to solve this problem.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059156#4059156
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059156
17Â years, 5Â months