You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by mc...@apache.org on 2010/07/20 21:47:40 UTC

svn commit: r965971 - in /myfaces/core/branches/1.2.x: api/pom.xml impl/pom.xml impl/src/main/java/org/apache/myfaces/webapp/StartupServletContextListener.java

Author: mconcini
Date: Tue Jul 20 19:47:39 2010
New Revision: 965971

URL: http://svn.apache.org/viewvc?rev=965971&view=rev
Log:
MYFACES-2832 - pom and context listener changes for 1.2

Modified:
    myfaces/core/branches/1.2.x/api/pom.xml
    myfaces/core/branches/1.2.x/impl/pom.xml
    myfaces/core/branches/1.2.x/impl/src/main/java/org/apache/myfaces/webapp/StartupServletContextListener.java

Modified: myfaces/core/branches/1.2.x/api/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/core/branches/1.2.x/api/pom.xml?rev=965971&r1=965970&r2=965971&view=diff
==============================================================================
--- myfaces/core/branches/1.2.x/api/pom.xml (original)
+++ myfaces/core/branches/1.2.x/api/pom.xml Tue Jul 20 19:47:39 2010
@@ -287,7 +287,7 @@
     <dependency>
       <groupId>commons-beanutils</groupId>
       <artifactId>commons-beanutils</artifactId>
-      <version>1.7.0</version>
+      <version>1.8.3</version>
       <scope>test</scope>
     </dependency>
     <dependency>

Modified: myfaces/core/branches/1.2.x/impl/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/core/branches/1.2.x/impl/pom.xml?rev=965971&r1=965970&r2=965971&view=diff
==============================================================================
--- myfaces/core/branches/1.2.x/impl/pom.xml (original)
+++ myfaces/core/branches/1.2.x/impl/pom.xml Tue Jul 20 19:47:39 2010
@@ -229,7 +229,7 @@
                   javax.servlet.jsp.tagext;version="[2.1.0, 3.0.0)",
                   javax.xml.parsers,
                   org.apache;resolution:=optional,
-                  org.apache.commons.beanutils;version="[1.7.0, 2.0.0)",
+                  org.apache.commons.beanutils;version="[1.8.3, 2.0.0)",
                   org.apache.commons.codec.binary;version="[1.3.0, 2.0.0)",
                   org.apache.commons.collections.map;version="[3.2.0, 4.0.0)",
                   org.apache.commons.digester;version="[1.8.0, 2.0.0)",
@@ -614,7 +614,7 @@
     <dependency>
       <groupId>commons-beanutils</groupId>
       <artifactId>commons-beanutils</artifactId>
-      <version>1.7.0</version>
+      <version>1.8.3</version>
     </dependency>
     <dependency>
       <groupId>commons-digester</groupId>

Modified: myfaces/core/branches/1.2.x/impl/src/main/java/org/apache/myfaces/webapp/StartupServletContextListener.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/1.2.x/impl/src/main/java/org/apache/myfaces/webapp/StartupServletContextListener.java?rev=965971&r1=965970&r2=965971&view=diff
==============================================================================
--- myfaces/core/branches/1.2.x/impl/src/main/java/org/apache/myfaces/webapp/StartupServletContextListener.java (original)
+++ myfaces/core/branches/1.2.x/impl/src/main/java/org/apache/myfaces/webapp/StartupServletContextListener.java Tue Jul 20 19:47:39 2010
@@ -20,6 +20,7 @@ package org.apache.myfaces.webapp;
 
 import java.util.Enumeration;
 
+import org.apache.commons.discovery.tools.DiscoverSingleton;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.apache.myfaces.config.ManagedBeanBuilder;
@@ -194,6 +195,7 @@ public class StartupServletContextListen
             _facesInitializer.destroyFaces(_servletContext);
         }
         FactoryFinder.releaseFactories();
+        DiscoverSingleton.release(); //clears EnvironmentCache and prevents leaking classloader references
         dispatchInitializationEvent(event, FACES_INIT_PHASE_POSTDESTROY);
 
         _servletContext = null;