This doesn't sound like a problem with Tomcat configuration.  It has
something to do with the mysql user privileges.  Assuming the dbURL,
username, and password are correct, the user may not have access to the
particular database, or the user may not have access from that
particular ip address.

-----Original Message-----
From: Christian Gothe [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 31, 2001 9:51 AM
To: [EMAIL PROTECTED]
Subject: TOMCAT 3.2 -> 4.0, JDBC, MySQL


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:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to