tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From na...@apache.org
Subject cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/request JDBCRealm.java
Date Fri, 23 Feb 2001 22:07:57 GMT
nacho       01/02/23 14:07:57

  Modified:    src/share/org/apache/tomcat/request Tag: tomcat_32
                        JDBCRealm.java
  Log:
  More on the same little thing a bit better now
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.9.2.8   +2 -2      jakarta-tomcat/src/share/org/apache/tomcat/request/Attic/JDBCRealm.java
  
  Index: JDBCRealm.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/request/Attic/JDBCRealm.java,v
  retrieving revision 1.9.2.7
  retrieving revision 1.9.2.8
  diff -u -r1.9.2.7 -r1.9.2.8
  --- JDBCRealm.java	2001/02/23 22:02:50	1.9.2.7
  +++ JDBCRealm.java	2001/02/23 22:07:55	1.9.2.8
  @@ -504,11 +504,11 @@
       }
   
       private boolean checkConnection(){
  +        if (started) log(sm.getString("jdbcRealm.checkConnectionDBClosed"));
  +        else log(sm.getString("jdbcRealm.starting"));
           try {
               if( (dbConnection == null) || dbConnection.isClosed() ) {
                   Class.forName(driverName);
  -                if (started) log(sm.getString("jdbcRealm.checkConnectionDBClosed"));
  -                else log(sm.getString("jdbcRealm.starting"));
                   if ((connectionName == null || connectionName.equals("")) ||
                           (connectionPassword == null || connectionPassword.equals("")))
{
                           dbConnection = DriverManager.getConnection(connectionURL);
  
  
  

Mime
View raw message