You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by at...@apache.org on 2008/03/31 22:07:55 UTC
svn commit: r643122 -
/portals/jetspeed-2/portal/trunk/components/jetspeed-rdbms/src/main/java/org/apache/jetspeed/components/datasource/BoundDBCPDatasourceComponent.java
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