Cannot connect to database using DataSource

2005-09-14 Thread Michael Lai
I have a MySQL database in which I created a database named, javatest, and I am using Tomcat 5.5.9. I have unable to connect my database using Java's DataSource method. Here is my ROOT.xml setup for my application context: Context path= docBase=/home/tomcat/applications/ debug=0

Re: Cannot connect to database using DataSource

2005-09-14 Thread Sonja Löhr
Hi! For TC 5.5.x, put the name-value-pairs of all parameter elements inside the Resource start tag as attributes. Good luck! Am Mittwoch, den 14.09.2005, 16:30 +0800 schrieb Michael Lai: I have a MySQL database in which I created a database named, javatest, and I am using Tomcat 5.5.9. I