nacho 01/10/05 14:41:20 Modified: src/share/org/apache/tomcat/modules/aaa JDBCRealm.java Log: Was not initting or stopping the JDBC connection at Tomcat init or shutdown Revision Changes Path 1.8 +5 -5 jakarta-tomcat/src/share/org/apache/tomcat/modules/aaa/JDBCRealm.java Index: JDBCRealm.java =================================================================== RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/modules/aaa/JDBCRealm.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- JDBCRealm.java 2001/07/14 03:20:37 1.7 +++ JDBCRealm.java 2001/10/05 21:41:20 1.8 @@ -1,7 +1,7 @@ /* - * $Header: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/modules/aaa/JDBCRealm.java,v 1.7 2001/07/14 03:20:37 nacho Exp $ - * $Revision: 1.7 $ - * $Date: 2001/07/14 03:20:37 $ + * $Header: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/modules/aaa/JDBCRealm.java,v 1.8 2001/10/05 21:41:20 nacho Exp $ + * $Revision: 1.8 $ + * $Date: 2001/10/05 21:41:20 $ * * The Apache Software License, Version 1.1 * @@ -371,11 +371,11 @@ } } - protected void ContextShutdown(Context ctx) throws TomcatException { + public void contextShutdown(Context ctx) throws TomcatException { if (started && JDBCStarted) close(); } - protected void ContextInit(Context ctx) throws TomcatException { + public void contextInit(Context ctx) throws TomcatException { if (!started) { if (connectOnInit && !checkConnection()) { throw new RuntimeException("JDBCRealm cannot be started");