Re: Tomcat: JNDI and Google Webtoolkit

2008-06-26 Thread Christopher Schultz
-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 ;) |> url="jdbc:

RE: Tomcat: JNDI and Google Webtoolkit

2008-06-26 Thread Caldarale, Charles R
> 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

RE: Tomcat: JNDI and Google Webtoolkit

2008-06-26 Thread Caldarale, Charles R
> 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 nee

Re: Tomcat: JNDI and Google Webtoolkit

2008-06-26 Thread Christopher Schultz
-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 =

RE: Tomcat: JNDI and Google Webtoolkit

2008-06-26 Thread nabruphonic
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 = (DataSource)ctx.lookup("java:comp/env/jdbc/eco_t

RE: Tomcat: JNDI and Google Webtoolkit

2008-06-25 Thread Caldarale, Charles R
> From: nabruphonic [mailto:[EMAIL PROTECTED] > Subject: Tomcat: JNDI and Google Webtoolkit > > - copy mysql-connector-java-5.1.6-bin.jar into /server/lib What happens if you put the mysql jar into common/lib as the documentation says to? http://tomcat.apache.org/tomcat-5.5-doc/jnd

Tomcat: JNDI and Google Webtoolkit

2008-06-25 Thread nabruphonic
Hi! I've got a problem with my project. Here a short summary about what it is: I wrote a web application that periodically reads out a database and shows these information in a visual way (on a google map or a chart...). The gwt-project and the mysql-database are on two different virtual machine