It's fixed in CVS for 3.2.2.. and 3.3, i dont remember if for 4.0 if
it's done,if not it will be ..
Tomcat will start with or without DB server..., It will try to access DB
the first time a user it's authenticated , not at tomcat start..
Saludos ,
Ignacio J. Ortega
> -----Mensaje original-----
> De: Gilles Laborderie [mailto:[EMAIL PROTECTED]]
> Enviado el: martes 30 de enero de 2001 7:45
> Para: [EMAIL PROTECTED]
> Asunto: Tomcat3.2 MySql and JDBC-ODBC bridge
>
>
> Hi,
>
> Basically Tomcat refuses to start when mysql is not already launched.
>
> My Config:
> on Win32
> Tomcat 3.2
> MySql 3.23.11 using MyOBDC 2.50.36
>
> I added the following to server.xml:
> <RequestInterceptor
> className="org.apache.tomcat.request.JDBCRealm"
> debug="99"
> driverName="sun.jdbc.odbc.JdbcOdbcDriver"
> connectionURL="jdbc:odbc:****"
> connectionName="****"
> connectionPassword="****"
> />
>
> When I try to start Tomcat WHITOUT staring mySQL before, I receive the
> following error:
>
> FATAL:java.lang.RuntimeException: JDBCRealm.start.readXml:
> java.sql.SQLException: [TCX][MyODBC]Can't connect to MySQL
> server on '127.0.0.1' (10061)
> java.lang.RuntimeException: JDBCRealm.start.readXml:
> java.sql.SQLException: [TCX][MyODBC]Can't connect to MySQL
> server on '127.0.0.1' (10061)
> at
> org.apache.tomcat.request.JDBCRealm.contextInit(JDBCRealm.java:439)
> at
> org.apache.tomcat.core.ContextManager.initContext(ContextManag
> er.java:491)
> at
> org.apache.tomcat.core.ContextManager.init(ContextManager.java:453)
> at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
> at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
>
>
> Of course, if I start mySQL before, everything goes fine. However, I'd
> like to know if there is anyway to start Tomcat even when mySQL is not
> started.
>
> Thanks
>
> Gilles
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]