[JBoss JIRA] Moved: (GPD-194) CLONE -JBDS - cannot generate a form for a task via (jBPM) GPD
by Koen Aers (JIRA)
[ http://jira.jboss.com/jira/browse/GPD-194?page=all ]
Koen Aers moved JBIDE-1589 to GPD-194:
--------------------------------------
Project: JBoss jBPM GPD (was: Tools (JBoss Tools))
Key: GPD-194 (was: JBIDE-1589)
Affects Version/s: jBPM jPDL Designer 3.1.1
(was: 2.0.0.GA)
> CLONE -JBDS - cannot generate a form for a task via (jBPM) GPD
> --------------------------------------------------------------
>
> Key: GPD-194
> URL: http://jira.jboss.com/jira/browse/GPD-194
> Project: JBoss jBPM GPD
> Issue Type: Bug
> Affects Versions: jBPM jPDL Designer 3.1.1
> Environment: JBoss Developer Studio, Build id: 200712091205-nightly
> and
> Eclipse Europa + jbpm-jpdl-designer-3.0.13 Stable 9.2 MB 2007-01-25
> Reporter: Koen Aers
> Assigned To: Koen Aers
> Fix For: jBPM jPDL Designer 3.2.0.alpha1, jBPM jPDL Designer 3.1.2
>
>
> I'm unable to generate a new form for a task with either the 1.0 JBDS bits or Eclipse Europa + jbpm-jpdl-designer-3.0.13 Stable 9.2 MB 2007-01-25
> To recreate the problem - using the attached jBPM process project - it's based on the 'holiday request' jBPM demo - at the start task node, attempt to generate a form.
> The screen displayed in the screenshot attachment is brought up - pressing OK has no effect. The form xhtml file is not created - and no error/sttaus message is displayed.
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 5 months
[JBoss JIRA] Updated: (GPD-194) CLONE -JBDS - cannot generate a form for a task via (jBPM) GPD
by Koen Aers (JIRA)
[ http://jira.jboss.com/jira/browse/GPD-194?page=all ]
Koen Aers updated GPD-194:
--------------------------
Fix Version/s: jBPM jPDL Designer 3.2.0.alpha1
jBPM jPDL Designer 3.1.2
> CLONE -JBDS - cannot generate a form for a task via (jBPM) GPD
> --------------------------------------------------------------
>
> Key: GPD-194
> URL: http://jira.jboss.com/jira/browse/GPD-194
> Project: JBoss jBPM GPD
> Issue Type: Bug
> Affects Versions: jBPM jPDL Designer 3.1.1
> Environment: JBoss Developer Studio, Build id: 200712091205-nightly
> and
> Eclipse Europa + jbpm-jpdl-designer-3.0.13 Stable 9.2 MB 2007-01-25
> Reporter: Koen Aers
> Assigned To: Koen Aers
> Fix For: jBPM jPDL Designer 3.2.0.alpha1, jBPM jPDL Designer 3.1.2
>
>
> I'm unable to generate a new form for a task with either the 1.0 JBDS bits or Eclipse Europa + jbpm-jpdl-designer-3.0.13 Stable 9.2 MB 2007-01-25
> To recreate the problem - using the attached jBPM process project - it's based on the 'holiday request' jBPM demo - at the start task node, attempt to generate a form.
> The screen displayed in the screenshot attachment is brought up - pressing OK has no effect. The form xhtml file is not created - and no error/sttaus message is displayed.
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 5 months
[JBoss JIRA] Commented: (JBAS-2647) Remove potential deadlock condition from HASingletonSupport
by Dimitris Andreadis (JIRA)
[ http://jira.jboss.com/jira/browse/JBAS-2647?page=comments#action_12393951 ]
Dimitris Andreadis commented on JBAS-2647:
------------------------------------------
Brian, can you please update this dated task (and the parent task)?
> Remove potential deadlock condition from HASingletonSupport
> -----------------------------------------------------------
>
> Key: JBAS-2647
> URL: http://jira.jboss.com/jira/browse/JBAS-2647
> Project: JBoss Application Server
> Issue Type: Sub-task
> Security Level: Public(Everyone can see)
> Components: Clustering
> Reporter: Brian Stansberry
> Assigned To: Brian Stansberry
> Fix For: JBossAS-5.0.0.Beta4
>
>
> The startService() implementation HASingletonSupport inherits from HAServiceMBeanSupport has a slight potential for deadlock is a cluster topology change occurs while the singleton service itself is being deployed. The only known use case where this would occur is with the HASingletonDeployer service.
> Details:
> In Thread A
> 1) HASingletonDeployerServices is being deployed, and therefore has synchronized on org.jboss.system.ServiceController.
> 2) Calls DRM.registerListener()
> 3) Call DRM.add() (this is the next line of code)
> 4) As part of add processing, DRM callsback to the HASingleton.
> 5) Inside a synchronized block in the callback method, singleton determines if it is the master node, goes on to do its work.
> Problem occurs if a cluster topology change occurs between steps 2 and 3. In that case, the following would happen in another thread, Thread B.
> 1) Topology changes, so DRM notifies listeners.
> 2) Our HASingleton is registered as a listener, so step 5 above occurs.
> 3) Since its the master, goes and tries to deploy things in deploy-hasingleton.
> 4) Deployment can't proceed because Thread A has synchronized on org.jboss.system.ServiceController.
> 5) Thread A can't proceed because Thread B is stuck inside the synchronized block in the callback method. Deadlock.
> This is an unlikely scenario, but I'm marking this issue as major since if it does occur it deadlocks the node.
> A likely fix will involve overriding the startService() implemetation so it doesn't rely on the callback to determine whether or not its the master node. Instead it directly does what the callback code does, and then registers as a listener. Have to be careful not to drop any topology changes in the middle.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 5 months
[JBoss JIRA] Commented: (JGRP-129) Logical addresses
by Bela Ban (JIRA)
[ http://jira.jboss.com/jira/browse/JGRP-129?page=comments#action_12393932 ]
Bela Ban commented on JGRP-129:
-------------------------------
Optimization: we could shorts which are indicex into a hashmap of logical addresses (which in turn map to physical addresses), and only send around the shorts. Need to make sure those are unique across the cluster though, probably via a short voting/election phase on startup in TP...
> Logical addresses
> -----------------
>
> Key: JGRP-129
> URL: http://jira.jboss.com/jira/browse/JGRP-129
> Project: JGroups
> Issue Type: Feature Request
> Affects Versions: 2.2.9
> Reporter: Bela Ban
> Assigned To: Bela Ban
> Fix For: 2.x
>
>
> The address chosen by each node is essentially the IP address and port of the receiver socket. However, for the following reasons, this is not good enough:
> - The node is shunned (excluded) and re-joins after leaving. We'd like to have the same logical address, although the physical address changed. This is already done in JBoss code, should be available in JGroups proper
> - NIC failover: a NIC goes down, we want to continue sending/receiving on a different NIC
> - The sender sends on all available NICs (send_on_all_interfaces="true"). This means that -if we take the receiver's datagram packet's address to be the identity of the sender - we get N different identities; 1 for each interface the message is sent on
> - Network Address Translation: the sender's address might get changed by the NAT
> DESIGN:
> - A logical address is picked, either by JGroups, or set by a user on channel creation. The lifetime of this address is the lifetime of the process in which the channel is created, or until channel.close() or disconnect() is called.
> - Each member as a small cache, in which it associates the logical addresses for messages received with the sender's address. When a message is to be sent to a logical address (unicast message), the corresponding physical address is looked up from the cache. Note that there maybe multiple physical addresses if the same message was sent on different interfaces (send_on_all_interfaces="true").
> - The logical addresses must be picked such that they cannot be reused after disconnect()/close().
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 6 months
[JBoss JIRA] Created: (JGRP-628) Discovery: add cluster name to discovery request to be able to discard responses from different clusters
by Bela Ban (JIRA)
Discovery: add cluster name to discovery request to be able to discard responses from different clusters
--------------------------------------------------------------------------------------------------------
Key: JGRP-628
URL: http://jira.jboss.com/jira/browse/JGRP-628
Project: JGroups
Issue Type: Feature Request
Reporter: Bela Ban
Assigned To: Bela Ban
Fix For: 2.6.1, 2.7
When we have 2 groups ONE and TWO:
ONE: 228.8.8.8:7500 and
TWO: 228.1.2.3:7500
In some cases, they will receive each other's traffic (http://wiki.jboss.org/wiki/Wiki.jsp?page=PromiscuousTraffic).
Assume ONE has members {A,B,C} and TWO has no members yet. When D (in cluster TWO) starts up and sends out a discovery request, it might also receive discovery responses from ONE (A,B,C). D might now identify A as coordinator and send a JOIN-REQ to A. However, A will discard that request as the group name of D's request is TWO rather than ONE !
Result: D's JOIN-REQ will hang !
Note that the transport (TP) does drop messages from different clusters, but this happens only after the new member has joined the group, so discovery requests/responses from different groups are *not* discarded.
Tasks:
- Verify that the transport-name matching algorithm in TP is correct
- Confirm that - on initial discovery - discovery requests and responses are not matched
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 6 months
[JBoss JIRA] Created: (JGRP-656) Flag to determine when a message is considered delivered
by Bela Ban (JIRA)
Flag to determine when a message is considered delivered
--------------------------------------------------------
Key: JGRP-656
URL: http://jira.jboss.com/jira/browse/JGRP-656
Project: JGroups
Issue Type: Feature Request
Reporter: Bela Ban
Assigned To: Bela Ban
Fix For: 2.7
Attachments: tmp.java
Okay, I know what the problem is.
When a multicast message is received from sender A, then a lock is acquired for A (or we block until A's done processing the message and releases the lock).
When the receive() method would send more messages down the stack, that lock might get held for potentially a long time. So I made the following change: I assume that calling down() from within receive() means that the message has been *delivered*, so I release the lock held for A and someone else can now acquire that lock. If you comment the lines of ProtocolStack.down() and recompile JGroups, then you will always see a count of 1:
public Object down(Event evt) {
ReentrantLock lock=locks.remove(Thread.currentThread());
//if(lock != null && lock.isHeldByCurrentThread()) {
// lock.unlock();
//if(log.isTraceEnabled())
// log.trace("released lock held by " + Thread.currentThread());
//}
if(top_prot != null)
return top_prot.down(evt);
return null;
}
The issue here is that I don't want to block incoming calls just because the receive() method sends other messages. This is described in http://jira.jboss.com/jira/browse/JGRP-535.
I might introduce a flag in ProtocolStack to configure this behavior...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 6 months