RE: Cannot create JDBC driver of class error occurs when upgrading from tomcat-6.0.33 to tomcat 6.0.35

2011-12-13 Thread Charlotte Binns
Thanks Mark, That was it - very basic mistake. Thanks for spotting that. Charlotte Binns IS Technical Architect -Original Message- From: Mark Eggers [mailto:its_toas...@yahoo.com] Sent: 13 December 2011 03:19 To: Tomcat Users List Subject: Re: Cannot create JDBC driver of class

Re: Cannot create JDBC driver of class error occurs when upgrading from tomcat-6.0.33 to tomcat 6.0.35

2011-12-12 Thread Mark Eggers
> > From: Charlotte Binns >To: Tomcat Users List >Sent: Monday, December 12, 2011 7:16 AM >Subject: RE: Cannot create JDBC driver of class error occurs when upgrading >from tomcat-6.0.33 to tomcat 6.0.35 > >Hi Chuck, > >Thank you

RE: Cannot create JDBC driver of class error occurs when upgrading from tomcat-6.0.33 to tomcat 6.0.35

2011-12-12 Thread Charlotte Binns
8622 -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: 12 December 2011 14:49 To: Tomcat Users List Subject: RE: Cannot create JDBC driver of class error occurs when upgrading from tomcat-6.0.33 to tomcat 6.0.35 > From: Charlotte Bi

RE: Cannot create JDBC driver of class error occurs when upgrading from tomcat-6.0.33 to tomcat 6.0.35

2011-12-12 Thread Caldarale, Charles R
> From: Charlotte Binns [mailto:charlotte.bi...@tate.org.uk] > Subject: Cannot create JDBC driver of class error occurs when upgrading from > tomcat-6.0.33 to tomcat 6.0.35 > I added all my configuration to server.xml/web.xml Exactly what did you change there? > and tomcat-users.xml Not suita

RE: Cannot create JDBC driver tomcat-6.0.26

2011-11-14 Thread Propes, Barry L
And maybe use a different driver? Or ensure you have the correct one? Okay, I'm going to ignore your first report, then, since this one seems more plausible. > Caused by: java.lang.NullPointerException at > sun.jdbc.odbc.JdbcOdbcDriver.getProtocol(JdbcOdbcDriver.java:507) > at sun.jdbc.odbc.Jd

Re: Cannot create JDBC driver tomcat-6.0.26

2011-11-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Micheal, On 11/14/11 9:17 AM, Michael Strupp wrote: > I'm using Tomcat 6.0.26 on Windows 7 and want to establish > database access with jdbc to a mysql-DB. There is another servlet > project running in the same tomcat using the same DB Connection and

RE: Cannot create JDBC driver of class '' for connect URL 'null'

2009-03-09 Thread Stanley Wong
provide good examples. Stanley -Original Message- From: Martin Gainty [mailto:mgai...@hotmail.com] Sent: Saturday, March 07, 2009 10:06 AM To: Tomcat Users List Subject: RE: Cannot create JDBC driver of class '' for connect URL 'null' Hello Wong- Now that your Po

RE: Cannot create JDBC driver of class '' for connect URL 'null'

2009-03-07 Thread Martin Gainty
Hello Wong- Now that your PostGIS Datasource and JDBCRealm configurations are correct..a few questions do you prefer GoogleEarth over the UMinn MapServer? Can you use GWT Ajax tools to construct pages to interact with GoogleEarth Server? Does GoogleEarth have any tutorials available? Thanks Ma

RE: Cannot create JDBC driver of class '' for connect URL 'null'

2009-03-04 Thread Stanley Wong
ainty [mailto:mgai...@hotmail.com] Sent: Wednesday, March 04, 2009 12:12 PM To: Tomcat Users List Subject: RE: Cannot create JDBC driver of class '' for connect URL 'null' at last count there are 16 different supported drivers for Postgres http://jdbc.postgresql.org/download.html#curr

RE: Cannot create JDBC driver of class '' for connect URL 'null'

2009-03-04 Thread Martin Gainty
at last count there are 16 different supported drivers for Postgres http://jdbc.postgresql.org/download.html#current which driver are you implementing? BTW here the url should be jdbc:postgresql://host:port/database contents of %POSTGRES_HOME%/data/postgresql.conf: listen_addresses = 'localhos

Re: Cannot create JDBC driver of class '' for connect URL 'null'Causedby: java.lang.NullPointerException at sun.jdbc.odbc.JdbcOdbcDriver.getProtocol(JdbcOdbcDriver.java:507)

2009-03-03 Thread Pid
Christopher Schultz wrote: > Paul, > > On 3/3/2009 11:49 AM, Paul Maxted wrote: >> Good call P! I tried connecting to the database from the command line >> and was not able to. > > I'm surprised that this was the error. Usually, you'll get a message > like "SQLException: Cannot connect to databas

Re: Cannot create JDBC driver of class '' for connect URL 'null'Causedby: java.lang.NullPointerException at sun.jdbc.odbc.JdbcOdbcDriver.getProtocol(JdbcOdbcDriver.java:507)

2009-03-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul, On 3/3/2009 11:49 AM, Paul Maxted wrote: > Good call P! I tried connecting to the database from the command line > and was not able to. I'm surprised that this was the error. Usually, you'll get a message like "SQLException: Cannot connect to d

RE: Cannot create JDBC driver of class '' for connect URL 'null'Causedby: java.lang.NullPointerException at sun.jdbc.odbc.JdbcOdbcDriver.getProtocol(JdbcOdbcDriver.java:507)

2009-03-03 Thread Paul Maxted
I have to say that the exception thrown is just a little misleading (typical British understatement there!) ThanKs, Paul From: Pid [...@pidster.com] Sent: 03 March 2009 16:26 To: Tomcat Users List Subject: Re: Cannot create JDBC driver of clas

Re: Cannot create JDBC driver of class '' for connect URL 'null'Caused by: java.lang.NullPointerException at sun.jdbc.odbc.JdbcOdbcDriver.getProtocol(JdbcOdbcDriver.java:507)

2009-03-03 Thread Pid
m an earlier deployment. Delete the war, remove the copied context.xml from conf & trying putting a freshly built war back. p > Regards, Paul > > From: Pid [...@pidster.com] > Sent: 03 March 2009 15:02 > To: Tomcat Users Li

Re: Cannot create JDBC driver of class '' for connect URL 'null'Caused by: java.lang.NullPointerException at sun.jdbc.odbc.JdbcOdbcDriver.getProtocol(JdbcOdbcDriver.java:507)

2009-03-03 Thread David Smith
Paul Maxted wrote: > Hello again, > > Thanks for your swift responses - apologies for the length of the original, > but I see so many posts where people immediately ask for more details! > > David, I have tried dropping the validation query and I also tried rolling > back the version of mysql-c

Re: Cannot create JDBC driver of class '' for connect URL 'null'Caused by: java.lang.NullPointerException at sun.jdbc.odbc.JdbcOdbcDriver.getProtocol(JdbcOdbcDriver.java:507)

2009-03-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul, On 3/3/2009 11:00 AM, Paul Maxted wrote: > David, I have tried dropping the validation query and I also tried > rolling back the version of mysql-connector-java to 5.0.8 in case > the mismatch between that and the MySQL version was relevant. Ne

RE: Cannot create JDBC driver of class '' for connect URL 'null'Caused by: java.lang.NullPointerException at sun.jdbc.odbc.JdbcOdbcDriver.getProtocol(JdbcOdbcDriver.java:507)

2009-03-03 Thread Paul Maxted
the mismatch between that and the MySQL version was relevant. Neither has changed the outcome. Any further thoughts? Regards, Paul From: Pid [...@pidster.com] Sent: 03 March 2009 15:02 To: Tomcat Users List Subject: Re: Cannot create JDBC driver of class

Re: Cannot create JDBC driver of class '' for connect URL 'null' Caused by: java.lang.NullPointerException at sun.jdbc.odbc.JdbcOdbcDriver.getProtocol(JdbcOdbcDriver.java:507)

2009-03-03 Thread Pid
David Smith wrote: > Pid wrote: >> Paul Maxted wrote: >> >>> Hello, I need some help with my database access application. >>> >>> I am running Tomcat 6.0.16-6.4 installed from the OpenSUSE repositories. I >>> am trying to connect to MySQL 5.0.51a-27.2. >>> I have mysql-connector-java-5.1.7-bin.

Re: Cannot create JDBC driver of class '' for connect URL 'null' Caused by: java.lang.NullPointerException at sun.jdbc.odbc.JdbcOdbcDriver.getProtocol(JdbcOdbcDriver.java:507)

2009-03-03 Thread David Smith
Pid wrote: > Paul Maxted wrote: > >> Hello, I need some help with my database access application. >> >> I am running Tomcat 6.0.16-6.4 installed from the OpenSUSE repositories. I >> am trying to connect to MySQL 5.0.51a-27.2. >> I have mysql-connector-java-5.1.7-bin.jar in the tomcat6/lib direc

Re: Cannot create JDBC driver of class '' for connect URL 'null' Caused by: java.lang.NullPointerException at sun.jdbc.odbc.JdbcOdbcDriver.getProtocol(JdbcOdbcDriver.java:507)

2009-03-03 Thread Pid
Paul Maxted wrote: > Hello, I need some help with my database access application. > > I am running Tomcat 6.0.16-6.4 installed from the OpenSUSE repositories. I am > trying to connect to MySQL 5.0.51a-27.2. > I have mysql-connector-java-5.1.7-bin.jar in the tomcat6/lib directory. > > I have not

Re: Cannot create JDBC driver of class '' for connect URL 'null' Caused by: java.lang.NullPointerException at sun.jdbc.odbc.JdbcOdbcDriver.getProtocol(JdbcOdbcDriver.java:507)

2009-03-03 Thread David Smith
Paul Maxted wrote: > Hello, I need some help with my database access application. > > I am running Tomcat 6.0.16-6.4 installed from the OpenSUSE repositories. I am > trying to connect to MySQL 5.0.51a-27.2. > I have mysql-connector-java-5.1.7-bin.jar in the tomcat6/lib directory. > > I have not mo

Re: Cannot create JDBC driver of class '' for connect URL 'null'

2007-06-05 Thread Foo Shyn
Hi, Did you add in the ResourceLink to your application? You'll need that if you configure your connection pooling under the GlobalNamingResources tag. Check out the configuration doc from Tomcat below: http://tomcat.apache.org/tomcat-5.0-doc/config/globalresources.html Additionally, you can

Re: Cannot create JDBC driver of class '' for connect URL 'null'

2007-06-05 Thread Pranav
Hi Martin, Referring to the link you asked me to check, I checked the same and updated the server.xml under **, hope i guess that is correct.With all this done, I am getting the same error: Jun 6, 2007 9:36:31 AM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() f

Re: Cannot create JDBC driver of class '' for connect URL 'null'

2007-06-05 Thread Martin Gainty
Previous posting displays configure Resource in context.xml http://marc.info/?l=tomcat-user&m=117312340132291&w=2 HTH/ M-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have re

Re: Cannot create JDBC driver

2007-01-17 Thread David Smith
renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le >destinataire de ce document, nous vous signalons qu'il est strictement >interdit de le diffuser, de le distribuer ou de le reproduire. >- Original Message - >From: "Ray Madigan" <[EMAIL P

Re: Cannot create JDBC driver

2007-01-16 Thread Martin Gainty
aire de ce document, nous vous signalons qu'il est strictement interdit de le diffuser, de le distribuer ou de le reproduire. - Original Message - From: "Ray Madigan" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Tuesday, January 16, 2007 7:02 PM Subjec

RE: Cannot create JDBC driver

2007-01-16 Thread Ray Madigan
leave the war file in place the servlet cannot create the DataSource. Thanks -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 16, 2007 2:00 PM To: Tomcat Users List Subject: RE: Cannot create JDBC driver > From: Ray Madigan [mailto:[EM

RE: Cannot create JDBC driver

2007-01-16 Thread Caldarale, Charles R
> From: Ray Madigan [mailto:[EMAIL PROTECTED] > Subject: RE: Cannot create JDBC driver > > An interesting twist to the situation is that if I delete > the war file in webapps the Exception does not occur and > the application works. What war file? You did not mention any in

RE: Cannot create JDBC driver

2007-01-16 Thread Ray Madigan
An interesting twist to the situation is that if I delete the war file in webapps the Exception does not occur and the application works. Also, the context.xml is not copied, so I suspect it doesn't need to be. What causes the application to operate differently when the war file is present then w

Re: Cannot create JDBC driver of class '' for connect URL 'null'"

2006-11-04 Thread Eric Yin
Hi Guys, I just found out the reason. My index.jsp in the the Root directory, however, the path of the sever.xml/context is "/DBTest". thanks for all the help. Eric. Quoting Eric Yin <[EMAIL PROTECTED]>: Hi Chris, Thanks for the help. After I move the Connector/J 5.0 to the Tomcat's ser

Re: Cannot create JDBC driver of class '' for connect URL 'null'"

2006-11-04 Thread Eric Yin
Hi Chris, Thanks for the help. After I move the Connector/J 5.0 to the Tomcat's server-wise common/lib directory and remove the autoReconnect=true, i still get the same error. thanks, Eric. Quoting Christopher Schultz <[EMAIL PROTECTED]>: Eric, Eric Yin wrote: Hi, I'm using tomcat5.5.

Re: Cannot create JDBC driver of class '' for connect URL 'null'"

2006-11-03 Thread David Smith
I'll go further and say mysql discourages the use of autoReconnect. See: http://dev.mysql.com/doc/refman/5.0/en/connector-j-reference-configuration-properties.html the section titled "High Availability and Clustering. " --David Christopher Schultz wrote: Eric, Eric Yin wrote: Hi, I'm u

Re: Cannot create JDBC driver of class '' for connect URL 'null'"

2006-11-03 Thread Christopher Schultz
Eric, Eric Yin wrote: > Hi, > > I'm using tomcat5.5.2 and mysql5.0.27 and Connector/J 5.0. > i'm doing the same thing as > http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html > and i got this error. Where did you put mysql-connector-*.jar? I suspect that you have it in yo

Re: Cannot create JDBC driver of class '' for connect URL 'null'"

2006-11-03 Thread Martin Gainty
--- Original Message - From: "Eric Yin" <[EMAIL PROTECTED]> To: Sent: Friday, November 03, 2006 4:12 PM Subject: Re: Cannot create JDBC driver of class '' for connect URL 'null'" > Quoting Eric Yin <[EMAIL PROTECTED]>: > >> Hi, >>

Re: Cannot create JDBC driver of class '' for connect URL 'null'"

2006-11-03 Thread Eric Yin
Quoting Eric Yin <[EMAIL PROTECTED]>: Hi, I'm using tomcat5.5.2 and mysql5.0.27 and Connector/J 5.0. i'm doing the same thing as http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html and i got this error. i'm using fedora 5 and i download "Linux (non RPM package) downl

Re: Cannot create JDBC driver of class '' for connect URL 'null'

2006-03-02 Thread David Smith
I've done several developments with MySQL and Tomcat. Never defined the datasource in the element so I can't speak to how that should work. The error is usually the result of a configuration element out of place between where the element is declared and your java code. The config looks good t

RE: Cannot create JDBC driver of class '' for connect URL 'null'

2006-03-01 Thread Tim Lucia
Backwards. See http://www.mysql.com/products/connector/j/ Tim -Original Message- From: Mike Sabroff [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 01, 2006 10:43 PM To: Tomcat Users List Subject: Re: Cannot create JDBC driver of class '' for connect URL 'null'

Re: Cannot create JDBC driver of class '' for connect URL 'null'

2006-03-01 Thread Mike Sabroff
Isn't that the old mysql driver?? I thought the new one is: org.gjt.mm.mysql.Driver or do I have it backwards? David McMinn wrote: Tomcat Server 5.5.15 - I searched for solutions and most mention a Context element in the server.xml. I only have a DefaultContext tag within with I have my reso

Re: Cannot create JDBC driver of class '' for connect URL 'null'

2006-02-05 Thread Petr Hadraba
Hi, here is some more informations about JNDI, PostgreSQL, etc: I wrote, I had the same problem, and here is my solution: Create in your development environment (Eclipse, NetBeans, Midnight Commander...) the META-INF/context.xml with the following content: Add to your WEB-INF/web.xml the

Re: Cannot create JDBC driver of class '' for connect URL 'null'

2006-01-31 Thread Lothar Krenzien
Hi Petr, thanks for your answer. That exactly the configuration I have. But after playing around I got success by removing the line from the server.xml. Even I don't know what it means ;) Lothar "Tomcat Users List" schrieb am 31.01.06 17:55:29: > > Hi, > > I have the following probl

Re: Cannot create JDBC driver of class '' for connect URL 'null'

2006-01-31 Thread Petr Hadraba
Hi, I have the following problem. I found this solution: There is in the server.xml the Resource tag describing your dataSource. Move this element into the Context element in the same xml file (at the bottom). See http://tomcat.apache.org/tomcat-5.5-doc/jndi-resources-howto.html section `JDBC Da

RE: Cannot create JDBC driver of class '' for connect URL 'null' Exception Help

2006-01-04 Thread Caldarale, Charles R
> From: Gary Blomquist [mailto:[EMAIL PROTECTED] > Subject: RE: Cannot create JDBC driver of class '' for > connect URL 'null' Exception Help > > I took the following from the server.xml in 5.0.28 (that was working) > and pasted it in the 5.5.x server

RE: Cannot create JDBC driver of class '' for connect URL 'null' Exception Help

2006-01-04 Thread Gary Blomquist
ric Munson [mailto:[EMAIL PROTECTED] Sent: Monday, January 02, 2006 6:44 PM To: Tomcat Users List; [EMAIL PROTECTED] Subject: Re: Cannot create JDBC driver of class '' for connect URL 'null' Exception Help I found the error, there was a misspelling of the Context object in one o

Re: Cannot create JDBC driver of class '' for connect URL 'null' Exception Help

2006-01-02 Thread Eric Munson
I found the error, there was a misspelling of the Context object in one of the context.xml files. When it was corrected everything worked. Thanks for all of your help. Thanks, Eric On 1/2/06, Eric Munson <[EMAIL PROTECTED]> wrote: > Thanks for your reply, but I have already moved the proper dri

Re: Cannot create JDBC driver of class '' for connect URL 'null' Exception Help

2006-01-02 Thread Eric Munson
Thanks for your reply, but I have already moved the proper driver into the $CATALINA_HOME/common/lib. Is there anything else that would cause this behavior? Thanks, Eric On 1/2/06, Roberto Rios <[EMAIL PROTECTED]> wrote: > Copy your jdbc driver into [tomcat]/common/lib > > ---

Re: Cannot create JDBC driver of class '' for connect URL 'null' Exception Help

2006-01-02 Thread Roberto Rios
Copy your jdbc driver into [tomcat]/common/lib - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]