Re: Cannot load JDBC driver class 'null'

2003-09-17 Thread Peter Harrison
On Fri, 12 Sep 2003 04:41, Ben Anderson wrote: > I moved the and tags to myApp.xml and put it > in the webapps folder(with the war). I'm still getting the exact same > errors. More specifically, in 4.1.27 you can't define your JDBC resources in either the DefaultContext or the GlobalResources.

Re: Cannot load JDBC driver class 'null'

2003-09-17 Thread Peter Harrison
On Fri, 12 Sep 2003 00:16, Ben Anderson wrote: > Ok, I know this topic has been posted many times, but I can't find anything > to help. > There is no help - its a bug. I tried posting a bug on Bugzilla, but I can't find the bug any longer. I'm still running 4.0.4 because I can't easily move to

RE: Cannot load JDBC driver class 'null' - Tomcat standalone 4.1. 27 w hen trying instantiate datasource object.

2003-09-11 Thread Wynkoop, Robert M
? P.S. - So moving the resources to the webApp context did fix my problem. Later, Robert Wynkoop -Original Message- From: Wynkoop, Robert M Sent: Thursday, September 11, 2003 10:53 AM To: 'Tomcat Users List' Subject: RE: Cannot load JDBC driver class 'null' - Tomca

RE: Cannot load JDBC driver class 'null'

2003-09-11 Thread Ben Anderson
I moved the and tags to myApp.xml and put it in the webapps folder(with the war). I'm still getting the exact same errors. From: Phillip Qin <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> To: 'Tomcat Users List' <[EMAIL PROTECTE

RE: Cannot load JDBC driver class 'null' - Tomcat standalone 4.1. 27 w hen trying instantiate datasource object.

2003-09-11 Thread Wynkoop, Robert M
jdbc:HypersonicSQL:database > > > Thanks, > > > Robert Wynkoop > -Original Message- > From: Manolo Ramirez T. [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 11, 2003 9:27 AM > To: Tomcat Users List > Subject: Re: Cannot loa

Re: Cannot load JDBC driver class 'null' - Tomcat standalone 4.1. 27 w hen trying instantiate datasource object.

2003-09-11 Thread Manolo Ramirez T.
org.hsql.jdbcDriver driverName jdbc:HypersonicSQL:database Thanks, Robert Wynkoop -Original Message- From: Manolo Ramirez T. [mailto:[EMAIL PROTECTED] Sent: Thursday, September 11, 2003 9:27 AM To: Tomcat Users List Subject: Re: Cannot load JDBC driver class '

RE: Cannot load JDBC driver class 'null'

2003-09-11 Thread Phillip Qin
My advice: 1. Never put jdbc in your classpath. It is in $CATALINA_HOME/common/lib/classes12.jar. Tomcat classloader handles it. 2. If you want to do a compile, use ant and put it in your ant script. Below is my setup driverClassNam

RE: Cannot load JDBC driver class 'null' and org.apache.jasper.Ja sperException:

2003-09-11 Thread Ben Anderson
t; <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Subject: RE: Cannot load JDBC driver class 'null' and org.apache.jasper.Ja sperException: Exception retrieving attri

RE: Cannot load JDBC driver class 'null' and org.apache.jasper.Ja sperException: Exception retrieving attribute 'driverClassName'

2003-09-11 Thread Wynkoop, Robert M
I don't see your comments about myDS and fsaDS. Can you echo them again. :) Thanks, Robert Wynkoop -Original Message- From: Kevin Passey [mailto:[EMAIL PROTECTED] Sent: Thursday, September 11, 2003 8:55 AM To: 'Tomcat Users List' Subject: RE: Cannot load JDBC driver c

RE: Cannot load JDBC driver class 'null' - Tomcat standalone 4.1. 27 w hen trying instantiate datasource object.

2003-09-11 Thread Wynkoop, Robert M
rName jdbc:HypersonicSQL:database Thanks, Robert Wynkoop -Original Message- From: Manolo Ramirez T. [mailto:[EMAIL PROTECTED] Sent: Thursday, September 11, 2003 9:27 AM To: Tomcat Users List Subject: Re: Cannot load JDBC driver class 'null' - Tomcat standalon

RE: Cannot load JDBC driver class 'null' and org.apache.jasper.Ja sperException: Exception retrieving attribute 'driverClassName'

2003-09-11 Thread Kevin Passey
ginal Message- From: Wynkoop, Robert M [mailto:[EMAIL PROTECTED] Sent: 11 September 2003 14:54 To: 'Tomcat Users List' Subject: RE: Cannot load JDBC driver class 'null' and org.apache.jasper.Ja sperException: Exception retrieving attribute 'driverClassName' I though

RE: Cannot load JDBC driver class 'null' and org.apache.jasper.Ja sperException: Exception retrieving attribute 'driverClassName'

2003-09-11 Thread Wynkoop, Robert M
the tomcat docs? Later, Robert Wynkoop -Original Message- From: Kevin Passey [mailto:[EMAIL PROTECTED] Sent: Thursday, September 11, 2003 8:26 AM To: 'Tomcat Users List' Subject: RE: Cannot load JDBC driver class 'null' Rather than changing your server XML create an

Re: Cannot load JDBC driver class 'null' - Tomcat standalone 4.1. 27 w hen trying instantiate datasource object.

2003-09-11 Thread Manolo Ramirez T.
Users List' Subject: RE: Cannot load JDBC driver class 'null' - Tomcat standalone 4.1. 27 w hen trying instantiate datasource object. If you use oracle jdbc driver, put classes12.jar in common/lib -Original Message- From: Wynkoop, Robert M [mailto:[EMAIL PROTECTED] Sent: Sept

Re: Cannot load JDBC driver class 'null'

2003-09-11 Thread G. Wade Johnson
Assuming it's not a typo, your "url" is broken. It should be jdbc:oracle:thin:@myMachine:1521:myDBName not jdbc:oracle:thin:myMachine:1521:myDBName Note the '@' sign. I don't know if this would cause the error you are seeing. G. Wade Ben Anderson wrote: > > Ok, I know this topic has been p

RE: Cannot load JDBC driver class 'null'

2003-09-11 Thread Kevin Passey
Rather than changing your server XML create an xml file in your webapps directory with the same name as your app directory. Here is an example:- - - - factory org.apache.commons.dbcp.BasicDataSourceFactory - maxActive 100 - maxIdle 5 - maxWait 100

RE: Cannot load JDBC driver class 'null'

2003-09-11 Thread Wynkoop, Robert M
EMAIL PROTECTED] Subject: RE: Cannot load JDBC driver class 'null' I have the jar in $CATALINA_HOME/common/lib here's my info: Server Information Tomcat Version JVM Version JVM Vendor OS Name OS Version OS Architecture Apache Tomcat/4.1.241.4.1_02-b06Sun Mi

RE: Cannot load JDBC driver class 'null'

2003-09-11 Thread Ben Anderson
t;[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Subject: RE: Cannot load JDBC driver class 'null' Date: Thu, 11 Sep 2003 08:57:35 -0400 I meant to say I can't delete t

RE: Cannot load JDBC driver class 'null'

2003-09-11 Thread Wynkoop, Robert M
I meant to say I can't delete the ../common/lib/classes12.jar when TomCat is running. Blip, Robert Wynkoop -Original Message- From: Wynkoop, Robert M Sent: Thursday, September 11, 2003 7:54 AM To: 'Tomcat Users List' Subject: RE: Cannot load JDBC driver class 'nu

RE: Cannot load JDBC driver class 'null'

2003-09-11 Thread Wynkoop, Robert M
I'm having the same problem. From what I read the most common problem is that you jdbc driver jar is not in /common/lib dir. Apparently if its only the the web apps ../WEB-INF/lib the tomcat runtime does not have access to it. But, I still have the same problem. I know the jar file is getting u

RE: Cannot load JDBC driver class 'null' - Tomcat standalone 4.1. 27 w hen trying instantiate datasource object.

2003-09-11 Thread Wynkoop, Robert M
t: Wednesday, September 10, 2003 6:20 PM To: Tomcat Users List Subject: Re: Cannot load JDBC driver class 'null' - Tomcat standalone 4.1. 27 w hen trying instantiate datasource object. what JDK are you using? Filip -

Re: Cannot load JDBC driver class 'null' - Tomcat standalone 4.1. 27 w hen trying instantiate datasource object.

2003-09-10 Thread Filip Hanik
what JDK are you using? Filip - Original Message - From: "Wynkoop, Robert M" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Wednesday, September 10, 2003 3:14 PM Subject: RE: Cannot load JDBC driver class 'null'

RE: Cannot load JDBC driver class 'null' - Tomcat standalone 4.1. 27 w hen trying instantiate datasource object.

2003-09-10 Thread Wynkoop, Robert M
From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 10, 2003 5:11 PM To: 'Tomcat Users List' Subject: RE: Cannot load JDBC driver class 'null' - Tomcat standalone 4.1. 27 w hen trying instantiate datasource object. If you use oracle jdbc driver, put cl

RE: Cannot load JDBC driver class 'null' - Tomcat standalone 4.1. 27 w hen trying instantiate datasource object.

2003-09-10 Thread Phillip Qin
If you use oracle jdbc driver, put classes12.jar in common/lib -Original Message- From: Wynkoop, Robert M [mailto:[EMAIL PROTECTED] Sent: September 10, 2003 6:06 PM To: Tomcat Mailing List (E-mail) Subject: Cannot load JDBC driver class 'null' - Tomcat standalone 4.1.27 w hen trying insta

RE: Cannot load JDBC driver class 'null' , again

2003-02-07 Thread Uros Kotnik
if(conn != null) out.println("Success."); else out.println("Failure."); At 17:31 2003-02-06 +0100, you wrote: >Yes, >HSQLDB.jar > > > >-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] >Sent: Thursday, February 06, 2003 17:2

RE: Cannot load JDBC driver class 'null' , again

2003-02-06 Thread Sean Dockery
"); else out.println("Failure."); At 17:31 2003-02-06 +0100, you wrote: Yes, HSQLDB.jar -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 06, 2003 17:25 To: [EMAIL PROTECTED] Subject: RE: Cannot load JDBC driver class &#x

RE: Cannot load JDBC driver class 'null' , again

2003-02-06 Thread Uros Kotnik
Yes, HSQLDB.jar -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 06, 2003 17:25 To: [EMAIL PROTECTED] Subject: RE: Cannot load JDBC driver class 'null' , again Is your jdbc driver in jar file? Regards, PQ "This Guy

RE: Cannot load JDBC driver class 'null' , again

2003-02-06 Thread pqin
Is your jdbc driver in jar file? Regards, PQ "This Guy Thinks He Knows Everything" "This Guy Thinks He Knows What He Is Doing" -Original Message- From: Uros Kotnik [mailto:[EMAIL PROTECTED]] Sent: February 6, 2003 11:24 AM To: [EMAIL PROTECTED] Subject: Cannot load JDBC driver clas

RE: Cannot load JDBC driver class 'null'

2003-01-30 Thread Maris Orbidans
yeah, as I thought however it's boring , let's hope it will be changed in future releases. Maris > -Original Message- > From: Cristian Draghici [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 30, 2003 11:07 AM > To: Tomcat Users List > Subject: RE

RE: Cannot load JDBC driver class 'null'

2003-01-30 Thread Cristian Draghici
yes it will shutdown tomcat and edit the server.xml file by hand. (add the ResourceParams entry under your context) add the necessary entries, start tomcat and the admin console should work. (at least that's what happens with my tomcat 4.1.18) hope this helps, cristi -Original Message- F

Re: Cannot load JDBC driver class 'null'

2003-01-13 Thread Daren R. Sefcik
I am using Apache 1.3.19 and here are the lines I added to the httpd.conf file: LoadModule jk_module libexec/mod_jk.so AddModule mod_jk.c #Tomcat jk connector JkWorkersFile "/usr/local/tomcat/conf/jk/workers.properties" JkLogFile "/usr/local/tomcat/logs/mod_jk.log" JkLogLev

Re: Cannot load JDBC driver class 'null'

2003-01-10 Thread Paul Carpenter
Daren That's interesting, I'm using the mod_jk connectot and warp, but still have the null problem. What does your Apache config look like? Paul On Saturday, January 11, 2003, at 08:52 AM, Daren R. Sefcik wrote: Humm...well what do you know..I now have it working! I was using a WARP Conne

Re: Cannot load JDBC driver class 'null'

2003-01-10 Thread David Durst
Nope, I don't believe after check my server.xml that the below is the problem. > I had that error too and just reproduced it again to be sure of how I > resolved it. > > Let's say the following is a correct entry in server.xml: > > debug="5" reloadable="true" crossContext="true"> > > but I

Re: Cannot load JDBC driver class 'null'

2003-01-10 Thread shawn
I had that error too and just reproduced it again to be sure of how I resolved it. Let's say the following is a correct entry in server.xml: but I make a mistake and use **Notice the D vs d in the context path** Then I get a Cannot load JDBC driver class 'null' error message With the root

Re: Cannot load JDBC driver class 'null'

2003-01-10 Thread David Durst
> Humm...well what do you know..I now have it working! > > I was using a WARP Connector using mod_webapp. > I just configured a mod_jk connector instead > and now it works..maybe this is a WARP bug issue?? > > http://issues.apache.org/bugzilla/show_bug.cgi?id=6048 > > I am curious to know if anybod

Re: Cannot load JDBC driver class 'null'

2003-01-10 Thread Daren R. Sefcik
Humm...well what do you know..I now have it working! I was using a WARP Connector using mod_webapp. I just configured a mod_jk connector instead and now it works..maybe this is a WARP bug issue?? http://issues.apache.org/bugzilla/show_bug.cgi?id=6048 I am curious to know if anybody else having t

Re: Cannot load JDBC driver class 'null'

2003-01-10 Thread Daren R. Sefcik
Yes I have..I have been trying for the last week to figure it out. I have found the same thing that BasicDataSource does not load the driverClassName. I have put my jdbcdriver.jar file in the common/lib dir..and I know it's in the classpath of tomcat as I can write a jsp page with a Class.forName a

Re: Cannot load JDBC driver class 'null'

2003-01-10 Thread David Durst
> Has anyone else experienced this > I have read a couple of posts that I found off google, > and basically what they are saying is non of the information in > the server.xml file is being passed to the Datasource or something of > that nature. > > The suggested fix was to hardcode everything b

Re: Cannot load JDBC driver class 'null'

2003-01-10 Thread Shawn
l and web.xml and compare them to the examples. That's where my driver class 'null' problem arose. Shawn - Original Message - From: "David Durst" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 10, 2003 6:43 PM Subject: Re: Cannot

Re: Cannot load JDBC driver class 'null'

2003-01-10 Thread David Durst
> I have experience that before, but that was my fault rather than tomcat. > I put the source jar instead of the driver binary. Other than that DBCP > worked as described in the tomcat documents. Cannot load JDBC driver > class null usually means that it couldn't find the jdbc driver that you > s

Re: Cannot load JDBC driver class 'null'

2003-01-10 Thread Peng Tuck Kwok
I have experience that before, but that was my fault rather than tomcat. I put the source jar instead of the driver binary. Other than that DBCP worked as described in the tomcat documents. Cannot load JDBC driver class null usually means that it couldn't find the jdbc driver that you specified

Re: Cannot load JDBC driver class 'null'

2002-12-20 Thread Veniamin Fichin
Hello list! Chandolu, Yuva wrote: > Hi, > > I get the error "org.apache.jasper.JasperException: Cannot load JDBC > driver class 'null'". > What is this and how can I proceed from here? I have Tomcat 4.1.12, > JDK1.4.1 installed and have DBCP 1.0, Pool 1.0, Collections 2.0, and > Oracle's jdbc driv

RE: Cannot load JDBC driver class 'null'

2002-10-10 Thread Ulrik Andersen
Ej, Thanks for your help. The changes you suggested worked :-) Ulrik -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 10. oktober 2002 14:44 To: Tomcat Users List Subject: Re: Cannot load JDBC driver class 'null' Ulrik: If you are going to use

Re: Cannot load JDBC driver class 'null'

2002-10-10 Thread echambe1
Ulrik: If you are going to use the Global Resources, there are a few changes I have noted with the Tomcat 4.1.x. You no longer have to put a ResourceRef tag in the web.xml file You need to put a ResourceLink tag within the Context tag of the application in the server.xml. Also, if you are

Re: Cannot load JDBC driver class 'null'

2002-09-24 Thread John Walstra
Ok, I kick on any and all debug statements I could find. Is the UserTransaction suspose to be null? 2002-09-24 07:52:43 NamingContextListener[/localhost/localhost/jkw]: Creating JNDI naming context 2002-09-24 07:52:43 NamingContextListener[/localhost/localhost/jkw]: Resource parameters for j

Re: Cannot load JDBC driver class 'null'

2002-09-24 Thread John Walstra
Ok since I'm getting no where fast, is there way to debug a DataSource? Look it's settings? On Sunday 22 September 2002 11:14 pm, Jacob Kjome wrote: > Yes, it should find it. Have you verified that the class in the > driverClassName element actually does exist in that package in the jar file >

Re: Re: Cannot load JDBC driver class 'null'

2002-09-23 Thread John M . Hollingsworth
AM 12:29:36 EDT > To: "Tomcat Users List" <[EMAIL PROTECTED]>, >Jacob Kjome <[EMAIL PROTECTED]> > Subject: Re: Cannot load JDBC driver class 'null' > > From the mysql-connector-java-2.0.14 README ... > > -- > A simple connection e

Re: Cannot load JDBC driver class 'null'

2002-09-22 Thread John Walstra
>From the mysql-connector-java-2.0.14 README ... -- A simple connection example looks like: Class.forName("com.mysql.jdbc.Driver").newInstance(); java.sql.Connection conn; conn = DriverManager.getConnection( "jdbc:mysql://localhost/test?user=blah&password=blah"); -- And if I un-jar

Re: Cannot load JDBC driver class 'null'

2002-09-22 Thread Jacob Kjome
Yes, it should find it. Have you verified that the class in the driverClassName element actually does exist in that package in the jar file you just mentioned? Jake At 10:56 PM 9/22/2002 -0500, you wrote: >I do have mysql-connector-java-2.0.14-bin.jar in the common/lib directory. >Shouldn't

Re: Cannot load JDBC driver class 'null'

2002-09-22 Thread Kwok Peng Tuck
Well, when you listed the contents of your commons directory, I didn't see it there, and it still isn't .But I'll take your word that it is :) . In this case, I'd double check to see if driverClassName com.mysql.jdbc.Driver is actually correct (the value attrib

Re: Cannot load JDBC driver class 'null'

2002-09-22 Thread John Walstra
I do have mysql-connector-java-2.0.14-bin.jar in the common/lib directory. Shouldn't it find the correct class being there? On Sunday 22 September 2002 10:39 pm, Kwok Peng Tuck wrote: > Are you actually using the mysql driver? Cause if it says loading driver > null, means there isn't one. > >

Re: Cannot load JDBC driver class 'null'

2002-09-22 Thread Kwok Peng Tuck
Are you actually using the mysql driver? Cause if it says loading driver null, means there isn't one. John Walstra wrote: >I'm trying to set up a JNDI connection to MySQL. I'm using the binary release >of 4.1.11 with 4.0.4's jasper-compiler.jar and jasper-runtime.jar. I'm also >using mysql-co