portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r643122 - /portals/jetspeed-2/portal/trunk/components/jetspeed-rdbms/src/main/java/org/apache/jetspeed/components/datasource/BoundDBCPDatasourceComponent.java
Date Mon, 31 Mar 2008 20:07:55 GMT
Author: ate
Date: Mon Mar 31 13:07:49 2008
New Revision: 643122

URL: http://svn.apache.org/viewvc?rev=643122&view=rev
Log:
Fixing a very nasty bug where a (separate) finalizer thread tried to stop (again) an datasource.
This isn't needed (and definitely wanted) as this class has a proper stop() method itself
which already will be called when the Spring container is stopped. 

Modified:
    portals/jetspeed-2/portal/trunk/components/jetspeed-rdbms/src/main/java/org/apache/jetspeed/components/datasource/BoundDBCPDatasourceComponent.java

Modified: portals/jetspeed-2/portal/trunk/components/jetspeed-rdbms/src/main/java/org/apache/jetspeed/components/datasource/BoundDBCPDatasourceComponent.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/components/jetspeed-rdbms/src/main/java/org/apache/jetspeed/components/datasource/BoundDBCPDatasourceComponent.java?rev=643122&r1=643121&r2=643122&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/components/jetspeed-rdbms/src/main/java/org/apache/jetspeed/components/datasource/BoundDBCPDatasourceComponent.java
(original)
+++ portals/jetspeed-2/portal/trunk/components/jetspeed-rdbms/src/main/java/org/apache/jetspeed/components/datasource/BoundDBCPDatasourceComponent.java
Mon Mar 31 13:07:49 2008
@@ -32,15 +32,6 @@
     private JNDIComponent jndi;
     private String bindName;
 
-    
-    /* (non-Javadoc)
-     * @see java.lang.Object#finalize()
-     */
-    protected void finalize() throws Throwable
-    {
-        stop();
-        super.finalize();
-    }
     /**
      * 
      * @param user



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message