myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mconc...@apache.org
Subject svn commit: r965977 - in /myfaces/core/trunk: api/pom.xml impl/pom.xml impl/src/main/java/org/apache/myfaces/webapp/StartupServletContextListener.java
Date Tue, 20 Jul 2010 19:55:59 GMT
Author: mconcini
Date: Tue Jul 20 19:55:58 2010
New Revision: 965977

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

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

Modified: myfaces/core/trunk/api/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/api/pom.xml?rev=965977&r1=965976&r2=965977&view=diff
==============================================================================
--- myfaces/core/trunk/api/pom.xml (original)
+++ myfaces/core/trunk/api/pom.xml Tue Jul 20 19:55:58 2010
@@ -522,7 +522,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/trunk/impl/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/impl/pom.xml?rev=965977&r1=965976&r2=965977&view=diff
==============================================================================
--- myfaces/core/trunk/impl/pom.xml (original)
+++ myfaces/core/trunk/impl/pom.xml Tue Jul 20 19:55:58 2010
@@ -380,7 +380,7 @@
                   javax.servlet.jsp.tagext;version="[2.1.0, 3.1)",
                   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)",
@@ -951,7 +951,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/trunk/impl/src/main/java/org/apache/myfaces/webapp/StartupServletContextListener.java
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/webapp/StartupServletContextListener.java?rev=965977&r1=965976&r2=965977&view=diff
==============================================================================
--- myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/webapp/StartupServletContextListener.java
(original)
+++ myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/webapp/StartupServletContextListener.java
Tue Jul 20 19:55:58 2010
@@ -37,6 +37,7 @@ import javax.servlet.http.HttpSessionBin
 import javax.servlet.http.HttpSessionEvent;
 import javax.servlet.http.HttpSessionListener;
 
+import org.apache.commons.discovery.tools.DiscoverSingleton;
 import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFWebConfigParam;
 import org.apache.myfaces.shared_impl.util.ClassUtils;
 
@@ -145,6 +146,7 @@ public class StartupServletContextListen
         }
         
         FactoryFinder.releaseFactories();
+        DiscoverSingleton.release(); //clears EnvironmentCache and prevents leaking classloader
references
         dispatchInitializationEvent(event, FACES_INIT_PHASE_POSTDESTROY);
 
         _servletContext = null;



Mime
View raw message