You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2004/06/19 01:22:31 UTC

cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/realm JNDIRealm.java

markt       2004/06/18 16:22:31

  Modified:    catalina/src/share/org/apache/catalina/realm JNDIRealm.java
  Log:
  Fix bug 23572. The alternateURL should be used in more cases than just
  a naming excetion (eg network error)
    - Patch provided by Jean-Yves Collot
    - Ported from TC4
  
  Revision  Changes    Path
  1.13      +2 -2      jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/realm/JNDIRealm.java
  
  Index: JNDIRealm.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/realm/JNDIRealm.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- JNDIRealm.java	26 May 2004 15:51:14 -0000	1.12
  +++ JNDIRealm.java	18 Jun 2004 23:22:31 -0000	1.13
  @@ -1473,7 +1473,7 @@
               // Ensure that we have a directory context available
               context = new InitialDirContext(getDirectoryContextEnvironment());
   
  -        } catch (NamingException e) {
  +        } catch (Exception e) {
   
               connectionAttempt = 1;
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org