Hi Jason,
I tried as u said. But same exception is getting.
I am using tomcat4.1.27, sqlserver 2000.
can u send me ur connection pooling code.
Thank you.
vijay
--- El Toro <[EMAIL PROTECTED]> wrote:
> Where are your jdbc for sql server jars? Put all
> three under /%TOMCAT_HOME%/common/lib.
>
>
Where are your jdbc for sql server jars? Put all
three under /%TOMCAT_HOME%/common/lib.
Also, your factoryClassName should be:
factoryClassName=org.apache.naming.factory.ResourceFactory
I'm currently using connection pooling with sql server
and thats the only things i can see that might cause
y
Hi,
>From one week i am trying to solve this problem.
Please any one help me.
if i am connection directly its ok. but if i am using
connection pooling this exception is comming.
my connection pooling syntax in server.xml is
-
Hehenkamp <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: Tomcat, MySQL & JNDI: java.sql.SQLException: Cannot load JDBC
driver class 'null'
Date: Fri, 19 Sep 2003 19:37:46 +0200
Sorry, I don't really understand what you mean?
Do you mean I shouldn't use t
PROTECTED]
Subject: Re: Tomcat, MySQL & JNDI: java.sql.SQLException: Cannot load JDBC
driver class 'null'
It could be related, but I'm not sure.
I think the problem lies in the way the application gets deployed with this
ant build file. Probably the docbase doesn't match (
It could be related, but I'm not sure.
I think the problem lies in the way the application gets deployed with this
ant build file. Probably the docbase doesn't match (however that's just a
wild guess)
Still waiting for some confirmation from Remy Maucherat. He was talking
about the client depl
ember 15, 2003 9:10 AM
Subject: Re: Tomcat, MySQL & JNDI: java.sql.SQLException: Cannot load JDBC
driver class 'null'
> I think I know where lies the problem, however I still don't know how to
fix
> it...
>
> I use the sample build.xml file from Tomcat:
> http://jakart
fix my problem?
So for confirmation: I shouldn't use the old ant buildfile anymore?
Ilja
From: Remy Maucherat <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: Tomcat Users List <[EMAIL PROTECTED]>
Subject: Re: Tomcat, MySQL & JNDI: j
Ilja Hehenkamp wrote:
Sorry, I don't really understand what you mean?
Do you mean I shouldn't use the build file anymore? If so: that's too
bad, since I like the way of automated updating the tomcat manager...
I'm sure you do. You seem to be stuck on that particular page of the
docs, however, w
work with the through ant deployed application?
From: Remy Maucherat <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: Tomcat Users List <[EMAIL PROTECTED]>
Subject: Re: Tomcat, MySQL & JNDI: java.sql.SQLException: Cannot load JDBC
driver
Ilja Hehenkamp wrote:
I think I know where lies the problem, however I still don't know how to
fix it...
I use the sample build.xml file from Tomcat:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/build.xml.txt to
install, reload and distribute my sample application.
When I do an ant
MAIL PROTECTED]>
Subject: Re: Tomcat, MySQL & JNDI: java.sql.SQLException: Cannot load JDBC
driver class 'null'
Date: Mon, 15 Sep 2003 14:00:52 +0200
Ilja wrote:
Ok, first some configuration information:
Tomcat 5.09
MySQL Driver 3.08 stable
OS: Mac OSX 10.2.6
J2SE 1.4.2
My co
Ilja wrote:
Ok, first some configuration information:
Tomcat 5.09
MySQL Driver 3.08 stable
OS: Mac OSX 10.2.6
J2SE 1.4.2
My config is not the same (TC 4.1.24, OSX 10.2.6, MySQL 3.07), and my
parameters are different:
factory
org.apache.commons.dbcp.BasicDataSourceFactory
maxAc
following error message:
java.sql.SQLException: Cannot load JDBC driver class 'null'
at
org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource
.java:529)
at
org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.ja
va:312)
at foo.DBTest.init(DBTe
-Original Message-
From: Michael Holly [mailto:[EMAIL PROTECTED]
Sent: 18 June 2003 17:21
To: [EMAIL PROTECTED]
Subject: java.sql.SQLException: Cannot load JDBC driver class 'null'
In trying to make the move to automate my testing I have come up
against a problem.
First some backgr
r and
Admin apps do this.
#3. Possibly put the context info in the web.xml file for the app.
I have tried both 1 and 2 and I am getting a
java.sql.SQLException: Cannot load JDBC driver class 'null' error
when the DBCP is accessed. The classes12.jar file is located in
$TOMCAT_HOME/comm
I cannot seem to set up a datasource correctly. I get
the "java.sql.SQLException: Cannot load JDBC driver
class 'null'" exception. I have read numerous threads
with things to check, but still get it. I deploy my
application using ant and the catalina-ant.jar.
I have the mysq
On Sat, 24 May 2003 06:53, Rob Casteen wrote:
You need this first:
> ***Server.xml additions:
>
Should be
> jdbc:firebirdsql:localhost/3050:C:\\Firebird\\DBcontain\\JAVATEST.FD
>B
That doesn't look right, I would have expected it to be something like
jdbc:firebirdsql:loc
ing the log, the
example code, and the relevant server.xml code.
I appreciate all help that you can offer.
Rob
******Log
java.sql.SQLException: Cannot load JDBC driver class 'null'
at
org.apache.commons.dbcp.BasicDataSource.createD
till valid but I
believe it will phase out eventually.
Regards,
Michael
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 11, 2003 1:58 PM
To: [EMAIL PROTECTED]
Subject: java.sql.SQLException: Cannot load JDBC driver class 'null'
Tomcat version - 4
lto:[EMAIL PROTECTED]
Sent: Tuesday, March 11, 2003 1:58 PM
To: [EMAIL PROTECTED]
Subject: java.sql.SQLException: Cannot load JDBC driver class 'null'
Tomcat version - 4.1.12
MySQL version - 3.23.55-nt
OS - WinNT
JDK - 1.4.1_01
I have researched this problem on the internet and in the d
c.driver must be placed into the directory
common/lib.
I hope this will help.
Regards Gerlinde
> -Ursprungliche Nachricht-
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Gesendet: Dienstag, 11. Marz 2003 22:58
> An: [EMAIL PROTECTED]
> Betreff: java.sql.SQLExceptio
ot;alessio
marinelli" To: "Tomcat Users List" <[EMAIL
PROTECTED]>
Subject: Re: AW:
java.sql.SQLException: Cannot load JDBC driver class
when you send a mail [EMAIL PROTECTED] this mail arrive at me
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 12, 2003 2:43 PM
Subject: Re: AW: java.sql.SQLException: Cannot load JDBC driver class 'null'
>
> '
"alessio
marinelli" To: "Tomcat Users List" <[EMAIL
PROTECTED]>
Subject: Re: AW:
java.sql.SQLException: Cannot load JDBC driver class
please control whern send a mail
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 12, 2003 2:37 PM
Subject: Re: AW: java.sql.SQLException: Cannot load JDBC driver class 'null'
>
> 1. starting from \bin, I type in
Hi,
Are you looking in a load-on-startup servlet
Pratt.
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 12, 2003 6:50 PM
Subject: RE: AW: java.sql.SQLException: Cannot load JDBC driver class 'null'
>
&
Hi,
Are you looking in a load-on-startup servlet
Pratt.
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 12, 2003 6:50 PM
Subject: RE: AW: java.sql.SQLException: Cannot load JDBC driver class 'null'
>
> No I
sorry ..you mail arrive in mail address...
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 12, 2003 2:20 PM
Subject: RE: AW: java.sql.SQLException: Cannot load JDBC driver class 'null'
>
> No I did not, but now
t;
>
>
>
> Hi
>
> where ist your Database Connection? In the server.xml in the
> context for your test application.
>
> The jdbc.driver must be placed into the directory
> common/lib.
>
> I hope this will help.
>
> Regards Gerlinde
>
>
&g
uot;Tomcat Users List" <[EMAIL
PROTECTED]>
Subject: RE: AW: java.sql.SQLException:
Cannot load JDBC driver class
'null'
Did you define the driver in you classpath?
/ Clarence Dahlin
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: den 12 mars 2003 13:49
To: [EMAIL PROTECTED]
Subject: Re: AW: java.sql.SQLException: Cannot load JDBC driver class
'null'
I put it under
ver/lib. It works for me.
-- Uddhav
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 12, 2003 6:04 PM
Subject: Re: AW: java.sql.SQLException: Cannot load JDBC driver class 'null'
>
> Gerlinde,
>
> Thanks fo
rsion - 3.23.55-nt
> > OS - WinNT
> > JDK - 1.4.1_01
> >
> > I have researched this problem on the internet and in the
> > documentation for
> > Tomcat, and I still haven't resolved this issue. So, I'm looking
> > for help from
> > someone
on: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Gesendet: Dienstag, 11. Marz 2003 22:58
> An: [EMAIL PROTECTED]
> Betreff: java.sql.SQLException: Cannot load JDBC driver class 'null'
>
>
> Tomcat version - 4.1.12
> MySQL version - 3.23.55-nt
> OS - WinNT
> J
TECTED]
> Gesendet: Dienstag, 11. Marz 2003 22:58
> An: [EMAIL PROTECTED]
> Betreff: java.sql.SQLException: Cannot load JDBC driver class 'null'
>
>
> Tomcat version - 4.1.12
> MySQL version - 3.23.55-nt
> OS - WinNT
> JDK - 1.4.1_01
>
> I have researched this p
voke: http://localhost:8080/dbtest/test.jsp
Here is the error I receive:
java.sql.SQLException: Cannot load JDBC driver class 'null' at
org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSou
rce.java:529)
Referencing this URL -
http://jakarta.apache.org/tomcat/tomcat-4.1
>From examining this list, it seems that a number of folk have tried setting
up JNDI datasources as per the Tomcat HOWTOs, but have had this error
returned. I've also noticed that it's been logged in Bugzilla as a bug.
Does anyone know of a fix/workaround for the issue..? Can we expect it to
be f
Hi all,
I have found a solution to this problem. Its by no means elegant but if you get as
desperate as I have got then you may wish to do the same.
It appears that none of the information that you specify in your server.xml gets
through to the actual dbcp stuff, don't ask me why. So what I did
onnection Connection
conn = ds.getConnection(); Any ideas? Thanks
The stack trace...
java.sql.SQLException: Cannot load JDBC driver class 'null'
at
org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:529)
at
org.apache.commons.dbcp
worte this simple JSP code...
>
> try
> {
> Context ctx = new InitialContext();
>
> DataSource ds = (DataSource)ctx.lookup("java:comp/env/jdbc/InfectedDB");
>
> Connection conn = ds.getConnection();
>
> The rest of the code...
> }
> catch
ception ex)
{
ex.printStackTrace();
}
The exception os caught whne trying to get the connection Connection
conn = ds.getConnection(); Any ideas? Thanks
The stack trace...
java.sql.SQLException: Cannot load JDBC driver class 'null'
at
org.apache.commons.dbcp.BasicDataSource.createDataSource(Basi
Hello everybody...
A lot of hours later trying to put up the pooling, trying all the
configurations possibles... I put Tomcat Standalone (without apache warp
connection) and all works fine. Now, when I use Apache-Tomcat with the same
pooling connection, same configuration, same all... I get the
Eric,
I'm sure that the context lookup is fine and works both ways with the "/" and
without the "/", why, I tested both ways and I can bind with the JNDI Resource,
if the problem were there then I get like a NamingException or
NamingResourceNotFound beacuse the binding name were wrong.
Am I rig
From: Roberto Bouza [mailto:[EMAIL PROTECTED]]
> Sent: Donnerstag, 05. Dezember 2002 15:47
> To: Tomcat Users List
> Subject: RE: java.sql.SQLException: Cannot load JDBC driver class 'null'
>
>
>
> Well...
>
> I forgot to put a part of my .java is like this
bc/art
I was getting the same error with Oracle as you are with PostgreSQL.
-Original Message-
From: Roberto Bouza [mailto:[EMAIL PROTECTED]]
Sent: Donnerstag, 05. Dezember 2002 15:47
To: Tomcat Users List
Subject: RE: java.sql.SQLException: Cannot load JDBC driver class 'null'
blem... but, when I used the DBCP - BOOM!!!! - java.sql.SQLException: Cannot
load JDBC driver class 'null'...
Thanks you for your help.
--
= Roberto Bouza Fraga =
===
Research & Development Engineer
Ella Cisneros Fonta
Return Receipt
Your RE: java.sql.SQLException: Cannot load JDBC driver class
document 'null'
:
DataSource) envCtx.lookup("/name_of_resource_link");
-Original Message-
From: LAMY Olivier [mailto:[EMAIL PROTECTED]]
Sent: Donnerstag, 05. Dezember 2002 10:14
To: Tomcat Users List
Subject: Re: java.sql.SQLException: Cannot load JDBC driver class 'null'
Normally it
-
From: "Roberts, Eric" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Thursday, December 05, 2002 9:45 AM
Subject: RE: java.sql.SQLException: Cannot load JDBC driver class 'null'
Roberto,
How are you instantiating your data
kup("/jdbc/art");
Hope this helps.
-Original Message-
From: Roberto Bouza [mailto:[EMAIL PROTECTED]]
Sent: Mittwoch, 04. Dezember 2002 23:05
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: java.sql.SQLException: Cannot load JDBC driver class 'null'
Hi.
I thin
Hi.
I think I have all the configuration fine, but for some reason when my DBTest
try to get the connection from the DB I only get this:
- ERRORS start
java.sql.SQLException: Cannot load JDBC driver class 'null'
Has any got the DBCP to work with tomcat 4.1.12 and MySQL? If so, what do
you have to do to be able to get a connection?
Thanks
JL
_
Chat with friends online, try MSN Messenger: http://messenger.msn.com
--
To unsubscribe, e-mai
53 matches
Mail list logo