geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r500424 - /geronimo/server/trunk/modules/geronimo-jetty6/src/main/java/org/apache/geronimo/jetty6/InjectionServletHandler.java
Date Sat, 27 Jan 2007 00:17:38 GMT
Author: dain
Date: Fri Jan 26 16:17:38 2007
New Revision: 500424

URL: http://svn.apache.org/viewvc?view=rev&rev=500424
Log:
Catch all exceptions when looking up

Modified:
    geronimo/server/trunk/modules/geronimo-jetty6/src/main/java/org/apache/geronimo/jetty6/InjectionServletHandler.java

Modified: geronimo/server/trunk/modules/geronimo-jetty6/src/main/java/org/apache/geronimo/jetty6/InjectionServletHandler.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-jetty6/src/main/java/org/apache/geronimo/jetty6/InjectionServletHandler.java?view=diff&rev=500424&r1=500423&r2=500424
==============================================================================
--- geronimo/server/trunk/modules/geronimo-jetty6/src/main/java/org/apache/geronimo/jetty6/InjectionServletHandler.java
(original)
+++ geronimo/server/trunk/modules/geronimo-jetty6/src/main/java/org/apache/geronimo/jetty6/InjectionServletHandler.java
Fri Jan 26 16:17:38 2007
@@ -46,7 +46,7 @@
         Context context = null;
         try {
             context = (Context) new InitialContext().lookup("java:comp/env");
-        } catch (NamingException e) {
+        } catch (Exception e) {
             return;
         }
         if (context == null) {



Mime
View raw message