Re: TOMCAT 3.2 -> 4.0, JDBC, MySQL

2001-10-31 Thread David Smith
I didn't install from RPM, so I don't know what the init script looks like. It might or might not start the security manager. If Reid's suggestion to check the MySQL permissions doesn't help, check out the comments at the bottom of catalina.policy for how to set security permissions for the

Re: TOMCAT 3.2 -> 4.0, JDBC, MySQL

2001-10-31 Thread Christian Gothe
e 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 PROTE

Re: TOMCAT 3.2 -> 4.0, JDBC, MySQL

2001-10-31 Thread Christian Gothe
Hi David, I've started tc 4.0 with the init script. I'm not sure whether tomcat is started with -security or not. Which modifications are needed? How do these look like? Christian David Smith wrote: > There's not enough info to tell, but it looks like the MySQL driver and TC > 4.0.1 are wor

RE: TOMCAT 3.2 -> 4.0, JDBC, MySQL

2001-10-31 Thread Reid Beckett
dress. -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.g

Re: TOMCAT 3.2 -> 4.0, JDBC, MySQL

2001-10-31 Thread David Smith
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 wrot

TOMCAT 3.2 -> 4.0, JDBC, MySQL

2001-10-31 Thread Christian Gothe
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