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