geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shiv...@apache.org
Subject svn commit: r583872 - /geronimo/server/trunk/plugins/plancreator/plancreator-portlets/src/main/java/org/apache/geronimo/console/configcreator/JSR88_Util.java
Date Thu, 11 Oct 2007 16:39:08 GMT
Author: shivahr
Date: Thu Oct 11 09:39:04 2007
New Revision: 583872

URL: http://svn.apache.org/viewvc?rev=583872&view=rev
Log:
Exception thrown by AbstractWebModuleBuilder.createWebAppClassFinder() altered by GERONIMO-3421

Modified:
    geronimo/server/trunk/plugins/plancreator/plancreator-portlets/src/main/java/org/apache/geronimo/console/configcreator/JSR88_Util.java

Modified: geronimo/server/trunk/plugins/plancreator/plancreator-portlets/src/main/java/org/apache/geronimo/console/configcreator/JSR88_Util.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/plancreator/plancreator-portlets/src/main/java/org/apache/geronimo/console/configcreator/JSR88_Util.java?rev=583872&r1=583871&r2=583872&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/plancreator/plancreator-portlets/src/main/java/org/apache/geronimo/console/configcreator/JSR88_Util.java
(original)
+++ geronimo/server/trunk/plugins/plancreator/plancreator-portlets/src/main/java/org/apache/geronimo/console/configcreator/JSR88_Util.java
Thu Oct 11 09:39:04 2007
@@ -37,6 +37,7 @@
 import javax.portlet.PortletException;
 import javax.portlet.PortletRequest;
 
+import org.apache.geronimo.common.DeploymentException;
 import org.apache.geronimo.connector.deployment.AdminObjectRefBuilder.AdminObjectRefProcessor;
 import org.apache.geronimo.connector.deployment.ResourceRefBuilder.ResourceRefProcessor;
 import org.apache.geronimo.console.configcreator.AbstractHandler.ReferenceData;
@@ -141,7 +142,7 @@
         try {
             classFinder = AbstractWebModuleBuilder.createWebAppClassFinder(webApp, classLoader);
             // classFinder = new ClassFinder(classLoader);
-        } catch (NoClassDefFoundError e1) {
+        } catch (DeploymentException e1) {
             // Some of the class types referred in the WAR cannot be resolved.
             // A typical case would be references to EJBs already deployed into the system,
and
             // hence not packaged inside WEB-INF/lib directory of WAR.
@@ -151,7 +152,7 @@
             classLoader = new WebDeployable(warUrl, getEjbClassLoaders(request)).getModuleLoader();
             try {
                 classFinder = AbstractWebModuleBuilder.createWebAppClassFinder(webApp, classLoader);
-            } catch (NoClassDefFoundError e2) {
+            } catch (DeploymentException e2) {
                 return;
             }
         }



Mime
View raw message