geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r911665 - in /geronimo/components/txmanager/trunk: geronimo-connector/src/main/java/org/apache/geronimo/connector/outbound/ geronimo-transaction/src/main/java/org/apache/geronimo/transaction/manager/
Date Fri, 19 Feb 2010 00:59:19 GMT
Author: djencks
Date: Fri Feb 19 00:59:18 2010
New Revision: 911665

URL: http://svn.apache.org/viewvc?rev=911665&view=rev
Log:
GERONIMO-5150 don't expand the pool when releasing idle connections.

Modified:
    geronimo/components/txmanager/trunk/geronimo-connector/src/main/java/org/apache/geronimo/connector/outbound/AbstractSinglePoolConnectionInterceptor.java
    geronimo/components/txmanager/trunk/geronimo-transaction/src/main/java/org/apache/geronimo/transaction/manager/WrapperNamedXAResource.java

Modified: geronimo/components/txmanager/trunk/geronimo-connector/src/main/java/org/apache/geronimo/connector/outbound/AbstractSinglePoolConnectionInterceptor.java
URL: http://svn.apache.org/viewvc/geronimo/components/txmanager/trunk/geronimo-connector/src/main/java/org/apache/geronimo/connector/outbound/AbstractSinglePoolConnectionInterceptor.java?rev=911665&r1=911664&r2=911665&view=diff
==============================================================================
--- geronimo/components/txmanager/trunk/geronimo-connector/src/main/java/org/apache/geronimo/connector/outbound/AbstractSinglePoolConnectionInterceptor.java
(original)
+++ geronimo/components/txmanager/trunk/geronimo-connector/src/main/java/org/apache/geronimo/connector/outbound/AbstractSinglePoolConnectionInterceptor.java
Fri Feb 19 00:59:18 2010
@@ -372,7 +372,6 @@
                     ConnectionInfo killInfo = new ConnectionInfo(managedConnectionInfo);
                     interceptor.internalReturn(killInfo, ConnectionReturnAction.DESTROY);
                 }
-                interceptor.permits.release(killList.size());
             } catch (Throwable t) {
                 log.error("Error occurred during execution of ExpirationMonitor TimerTask",
t);
             } finally {

Modified: geronimo/components/txmanager/trunk/geronimo-transaction/src/main/java/org/apache/geronimo/transaction/manager/WrapperNamedXAResource.java
URL: http://svn.apache.org/viewvc/geronimo/components/txmanager/trunk/geronimo-transaction/src/main/java/org/apache/geronimo/transaction/manager/WrapperNamedXAResource.java?rev=911665&r1=911664&r2=911665&view=diff
==============================================================================
--- geronimo/components/txmanager/trunk/geronimo-transaction/src/main/java/org/apache/geronimo/transaction/manager/WrapperNamedXAResource.java
(original)
+++ geronimo/components/txmanager/trunk/geronimo-transaction/src/main/java/org/apache/geronimo/transaction/manager/WrapperNamedXAResource.java
Fri Feb 19 00:59:18 2010
@@ -47,7 +47,7 @@
 
     public void commit(Xid xid, boolean onePhase) throws XAException {
         xaResource.commit(xid, onePhase);
-    }
+    }                                                                                   
                               
 
     public void end(Xid xid, int flags) throws XAException {
         xaResource.end(xid, flags);



Mime
View raw message