tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Smith <d...@cornell.edu>
Subject Re: TOMCAT 3.2 -> 4.0, JDBC, MySQL
Date Wed, 31 Oct 2001 16:28:23 GMT
There's not enough info to tell, but it looks like the MySQL driver and TC 
4.0.1 are working correctly.  Are you using the security manager that comes 
with TC 4??  If so, you need to modify catalina.policy to allow this 
connection.

--David Smith

On Wednesday 31 October 2001 09:51 am, you wrote:
> 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>

--
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