Hi,
I moved the driver to the common-directory. Unfortunately it still does not
work. In my Java-Code, do I have to write only the following code to connect
with the connection pool?
Code:
InitialContext ctx = new InitialContext();
DataSource ds =
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
nabruphonic,
nabruphonic wrote:
| I moved the driver to the common-directory. Unfortunately it still
does not
| work. In my Java-Code, do I have to write only the following code to
connect
| with the connection pool?
| Code:
|
| InitialContext ctx =
From: nabruphonic [mailto:[EMAIL PROTECTED]
Subject: RE: Tomcat: JNDI and Google Webtoolkit
I moved the driver to the common-directory. Unfortunately it
still does not work.
I doubt that whatever error message you're getting says does not work; you
need to be specific. Look in the Tomcat
From: Caldarale, Charles R
Subject: RE: Tomcat: JNDI and Google Webtoolkit
Is it valid to use the 5.1 JDBC driver with the 4.1 server?
Scratch that question - I see from the Connector/J doc that 5.1.6 does work
with a 4.1 server.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
Caldarale, Charles R wrote:
| Is it valid to use the 5.1 JDBC driver with the 4.1 server?
Yeah. The driver and server negotiate the capabilities at connection
time. Connector/J is pretty good about that -- it's mix-and-match ;)
|
From: nabruphonic [mailto:[EMAIL PROTECTED]
Subject: Tomcat: JNDI and Google Webtoolkit
- copy mysql-connector-java-5.1.6-bin.jar into TOMCAT/server/lib
What happens if you put the mysql jar into common/lib as the documentation says
to?