Re: JDBC Policy connection problem

2002-11-15 Thread Trevor MacPhail
Yeah. I can. The code I have does connect to the database. Both when I start the code using the java command or when I use it as a servlet with tomcat running without the -security option so that it doesnt need any policies set. -- Trevor MacPhail Jacob Kjome wrote: Can you connect to your M

AW: JDBC Policy connection problem

2002-11-15 Thread Torsten Fohrer
> -Ursprüngliche Nachricht- > Von: Jacob Kjome [mailto:hoju@;visi.com] > Gesendet: Freitag, 15. November 2002 15:16 > An: Tomcat Users List > Betreff: Re: JDBC Policy connection problem > > > > Can you connect to your MySQL server via a basic application

Re: JDBC Policy connection problem

2002-11-15 Thread Jacob Kjome
Can you connect to your MySQL server via a basic application started with the "java" command rather than trying to do it within the container? You should do this to make sure it works first. Jake At 12:21 AM 11/15/2002 -0800, you wrote: I am having some issues with trying to use my JDBC drive

Re: JDBC Policy connection problem

2002-11-15 Thread Kwok Peng Tuck
Normaly if I use a jdbc driver in tomcat I put it in $CATALINA_HOME/common/lib & configure a jndi resource for that. Trevor MacPhail wrote: I am having some issues with trying to use my JDBC driver to connect to a mySQL server. I get the following error in my catalina.out file: java.sql.SQLEx

JDBC Policy connection problem

2002-11-15 Thread Trevor MacPhail
I am having some issues with trying to use my JDBC driver to connect to a mySQL server. I get the following error in my catalina.out file: java.sql.SQLException: Cannot connect to MySQL server on dbox.dnsalias.net:3306. Is there a MySQL server running on the machine/port you are trying to conne