So I was able to resolve my problem. Here's what worked for me in case it'll help anyone else:
I was developing on a production machine. For whatever reason, Tomcat didn't seem to recognize my META-INF/context.xml file (located at /usr/local/tomcat/webapps/mysqltest/META-INF/context.xml)...
Hi Sedj,
Thanks for replying!
Yes I have mysql-connector-java-3.1.11-bin.jar in common/lib. In fact, I know Tomcat can talk to mysql because I'm able to connect to mysql when I define the datasource within the JSP. So the problem I'm having is with either (a) getting Tomcat to recognize my...
Hi everyone,
I'm trying to get Tomcat 5.0.28 to work with mysql. It works fine if I define the datasource in the actual JSP like this:
<sql:setDataSource var="ADataSource"
url="jdbc:mysql://localhost:3306/javatest" driver="com.mysql.jdbc.Driver" user="myusername"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.