[JBoss JIRA] Created: (JBMETA-215) Allow for configuration of transaction-retry
by Carlo de Wolf (JIRA)
Allow for configuration of transaction-retry
--------------------------------------------
Key: JBMETA-215
URL: https://jira.jboss.org/jira/browse/JBMETA-215
Project: JBoss Metadata
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Reporter: Carlo de Wolf
Assignee: Carlo de Wolf
Fix For: 1.0.2.Beta2, 2.0.0.CR1
The @TransactionRetry annotation must have an equivalent configuration option in descriptors.
@TransactionRetry(numRetries=4, waitTime=1, waitTimeUnit=TimeUnit.SECONDS)
<assembly-descriptor>
<transaction-retry>
<!-- bindings as per spec -->
<method>
<ejb-name>*</ejb-name>
<method-name>...</method-name>
</method>
...
<num-retries>4</num-retries>
<wait-time>1</wait-time>
<wait-time-unit>SECONDS</wait-time-unit>
</transaction-retry>
</assembly-descriptor>
--
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
16 years, 4 months
[JBoss JIRA] Created: (JGRP-1164) TCPGOSSIP doesn't maintain the Gossip Router state correctly
by vivek v (JIRA)
TCPGOSSIP doesn't maintain the Gossip Router state correctly
------------------------------------------------------------
Key: JGRP-1164
URL: https://jira.jboss.org/jira/browse/JGRP-1164
Project: JGroups
Issue Type: Bug
Affects Versions: 2.9, 2.8
Reporter: vivek v
Assignee: Bela Ban
This came out of discussion /w Vladimir on jira# 1162 (https://jira.jboss.org/jira/browse/JGRP-1162). Basically, the problem is currently TCPGossip.connect(..) calls RouterStubs.connect(..). The connect at router stub simply makes the socket connection /w Gossip Router and then sends the "Connect" command without waiting for the response from GR. The socket creation creates the Connection Handler on the Gossip Router. The problem is in a very lossy network we might lose the "Connect" command and thus GR will not add the node (RouterStub node) in its list. Since, the socket connection is established (and won't disconnect due keep alive even in lossy network), the router stub would assume it is connected (would set to CONNECTED if the socket is good), but will not get itself from GR when asking for nodes in the group.
Theoretically in TCP connection we shouldn't lose the packets, but in our experiments we did. I tried the test with WANem setting 50% packet loss and was able to create the situation where the socket was created, but no CONNECT. This caused Gossip Router to publish wrong node list.
Two possibles fixes,
1) When we make the socket connection assume CONNECTED - so we don't have to send a separate CONNECT command.
- This is not a good design as the STATE should be kept by the application layer
2) Wait for the response from Gossip Router for CONNECT (same for DISCONNECT as well) before setting TCPGOSSIP to CONNECTED state
--
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
16 years, 4 months
[JBoss JIRA] Created: (JBAS-7327) Connection validation should return valid connections to the pool when an invalid connection is found
by Borja Ruiz (JIRA)
Connection validation should return valid connections to the pool when an invalid connection is found
-----------------------------------------------------------------------------------------------------
Key: JBAS-7327
URL: https://jira.jboss.org/jira/browse/JBAS-7327
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: JCA service
Affects Versions: JBossAS-4.2.3.GA
Environment: unix, hp-ux
Reporter: Borja Ruiz
Assignee: Jesper Pedersen
There is a bug in validation code, in org.jboss.resource.connectionmanager.InternalManagedConnectionPool class validateConnections method. It is easily reproducible by the following example. You have a set of 3 connections in the pool, and when you run this validation code, the fist one is not valid and the following 2 are valid. As you do not update "destroyed" variable to "false" on every iteraion, those 2 valid connections do not return to the pool, resulting in two ESTABLISHED connections going out of pool control. Also, resource adapter counters don't get updated, resulting in an inconsistent status.
In JBoss forum reference I have provided affected code and a solution developed by me as a suggestion
--
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
16 years, 4 months