tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Gothe <christ...@kapelan.de>
Subject TOMCAT 3.2 -> 4.0, JDBC, MySQL
Date Wed, 31 Oct 2001 14:51:00 GMT
Hi!

Problem:

-[cut]-
Class.forName("org.gjt.mm.mysql.Driver");
Connection con = DriverManager.getConnection(DbURL, DbUser, DbPassword);
-[cut]-

That works fine for TC3.2, but throws an SQLException in TC 4.0.

Exception:

java.sql.SQLException: Server configuration denies access to data source

System:

RedHat 7.2
Tomcat-4.0.1 RPMS
JDK-1.4 RPMS
MM.Mysql JDBC Driver
Apache-1.3.12 RPMS
MySQL-3.23.36 RPMS
webapp_module RPMS (WarpConnector)

  What have to be done to get my servlet work for TC 4.0 w/o use of JNDI 
lookups?


Regards,
Christian


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message