[JBoss JIRA] Created: (JGRP-925) TCPPING: not all nodes have all physical addresses
by Bela Ban (JIRA)
TCPPING: not all nodes have all physical addresses
--------------------------------------------------
Key: JGRP-925
URL: https://jira.jboss.org/jira/browse/JGRP-925
Project: JGroups
Issue Type: Bug
Reporter: Bela Ban
Assignee: Bela Ban
Fix For: 2.8
- We have A and B
- TCPPING for A and B lists A and B as initial_hosts
- C's config lists only A as initial_hosts
- When C joins, it 'll ping only A, so it has information about A's physical address in its cache
- Plus, the discovery response from A also adds information about A to C's cache
- HOWEVER, C does not have the physical address of B, and B doesn't have the physical address of C !
--> When C multicasts a message, B will not receive it
--> When B multicasts a message, C will not receive it
The reason is that a discovery response from a node N only contains the logical-physical mapping for N, but not for other nodes.
SOLUTION: introduce property return_entire_cache. By default, this is false, but TCPPING sets it to true. When A gets the discovery request from C, it'll return information about A *and* B. When B wants to send a multicast, it'll skip C though, but on the next MERGE2, it'll get the physical address of C. Retransmission will then make sure C receives B previously dropped multicast
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 10 months
[JBoss JIRA] Created: (BPEL-304) NullPointerException on ScopeInstance calling process with correlation after restart
by Carlos (JIRA)
NullPointerException on ScopeInstance calling process with correlation after restart
------------------------------------------------------------------------------------
Key: BPEL-304
URL: https://jira.jboss.org/jira/browse/BPEL-304
Project: JBoss jBPM BPEL
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Engine
Affects Versions: jBPM BPEL 1.1.1
Environment: JBoss 4.2.3 + Windows XP and JBoss 4.2.3 para RedHat Linux
Reporter: Carlos
Assignee: Alejandro Guizar
After start a process with correlationIds setted i waited for the process to stop on a receive node, then i stopped jboss normally and started it again. After the restart i called the same process passing the correlationId necessary to continue. Jbpm throwed:
NullPointerException on org.jbpm.bpel.graph.exe.ScopeInstance.completed() (line 140)
because the property state was null. I checked jbpm_scopeinstance and there is a state on it (AP). I debugged, dit some hqls for this ScopeInstance with hibernate on tab display with Eclipse, and it never gets the state property. So i did the following, on Eclipse during debug i executed the following line on display tab.
ScopeState fake = ActiveState.PRIMARY;
After that, executed the hql again, then state property was get. I guess it's a classLoading x Hibernate problem.
If ater restart, a new process is executed and after that execute one process waiting for a correlation, the state property is found
To solve my problem quickyly i did the following on public constructor ScopeInstance
ScopeInstance() {
ScopeState fake = ActiveState.PRIMARY;
fake = CompensatingState.DEFAULT;
fake = CompensatingState.DEFAULT;
fake = EndState.COMPENSATED;
fake = FaultingState.DEFAULT;
fake = TerminatingState.DEFAULT;
fake = CompensatingState.DEFAULT;
}
All the state classes need to be loaded. This is not nice =D, i know i could use a loadClass, but anyway its only a workaround =D
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 10 months