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.
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
?
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
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
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
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 '
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
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
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
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
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
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
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
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
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
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
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
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
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
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
-
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'
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
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
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
");
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
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
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
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
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
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
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
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
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
> 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
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
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
> 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
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
> 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
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
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
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
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
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
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
>
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
>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
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
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
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.
>
>
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
51 matches
Mail list logo