Thanks
Specifically, I have a web.xml having:
**
?xml version=1.0 encoding=ISO-8859-1?
!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
http://java.sun.com/dtd/web-app_2_3.dtd;
web-app
resource-ref
descriptionDB Connection/description
Thanks for the quick reply...
Yes the .jar file is in common/lib. I fear the problem lies in the
server.xml since jndi is binding datasource jdbc/TestDB to
org.hsql.jdbcDriver
On Mon, 19 Sep 2005, andy gordon wrote:
is the MySQL Connector Jar file in the $CATALINA_HOME/common/lib directory?
Attempting to use connector-java-3.3.10 with tomcat 4.0 and mysql and
servlets. The Java code:
InitialContext ctx = new InitialContext();
DataSource ds = (DataSource)lookup(jdbc/TestDB);
throws the exception:
Exception creating DataSource: org.hsql.jdbcDriver
The problem is that my .xml files
is the MySQL Connector Jar file in the $CATALINA_HOME/common/lib directory?
Kito Holliday [EMAIL PROTECTED] wrote:Attempting to use connector-java-3.3.10
with tomcat 4.0 and mysql and
servlets. The Java code:
InitialContext ctx = new InitialContext();
DataSource ds =
Hi fellas,
I'm working on Tomcat 5.5.7 on a webapp compiled by Ant using shared and common
libraries in their respective tomcat folders.
My mysql driver (mysql-connector-java-3.1.10-bin.jar) is in the
$CATALINA_HOME/common/lib/ folder and I still get the following message :
Cannot load JDBC
.
My mysql driver (mysql-connector-java-3.1.10-bin.jar) is in the
$CATALINA_HOME/common/lib/ folder and I still get the following message :
Cannot load JDBC driver class 'org.gjt.mm.mysql.Driver'
It happens when the dataSourceVariable.getConnection() method of type
Hi all
Placing jar in the tomcat_home/common/lib works fine.
but placing jar in the webapp/application_name/WEB-INF/lib throws JDBC
Driver error
i think this is due to classloader.could anyone explain me in detail why
placing a jar under WEB-INF/lib throws error reason?
regards,
siva
Hi Siva,
Jar files placed in CATALINA_HOME/common/lib are visible both to all of
your web applications and internal Tomcat code. I think u must be using
JDBCRealm for your application security and this is managed by Tomcat
internally. So u got error when u put your JDBC driver jar file in
WEB
create JDBC
driver of class ' ' for connect URL 'null'
at
org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.jav
a:780)
at
org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:5
40
://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html
Allistair.
-Original Message-
From: Anish Tom Ashley [mailto:[EMAIL PROTECTED]
Sent: 01 August 2005 16:30
To: tomcat-user@jakarta.apache.org
Subject: Cannot create JDBC driver of class - help!!
Importance: High
is:
1234org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of
class '' for connect URL 'null'
When I connect directly, it works correctly:
DriverManager.registerDriver(new
oracle.jdbc.driver.OracleDriver());
conn =
DriverManager.getConnection(jdbc:oracle:thin:@10.0.100.6:1521:bddesa
);
conn = ds.getConnection();
out.print(5);
Anyway, it gives me the same error:
1234org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of
class '' for connect URL 'null'
any help?
thanks.
-Mensaje original-
De: Licinio Gomez Delgado
:
org.apache.commons.dbcp.SQLNestedException: C
annot create JDBC driver of class '' for connect URL 'null', cause: No
suitable
driver
11:20:38,385 [SendMessageAction.java] [SendMessageAction] [Send:227] - DEBUG
- C
onnection after:
null
java.net.MalformedURLException: no protocol:
at java.net.URL.init
Post your jdbc url.
-Original Message-
From: g k [mailto:[EMAIL PROTECTED]
Sent: February 15, 2005 6:44 AM
To: tomcat-user@jakarta.apache.org
Subject: Cannot create JDBC driver of class '' for connect URL 'null'
Hi
I have added Oracle resource params to the server.xml file
Rename the Oracle classes12.zip file to classes12.jar and move to the
tomcat\common\lib directory.
-Original Message-
From: Phillip Qin [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 15, 2005 6:39 AM
To: 'Tomcat Users List'
Subject: RE: Cannot create JDBC driver of class '' for connect
JDBC driver of class '' for connect URL 'null'
Date: Tue, 15 Feb 2005 07:18:58 -0800
Rename the Oracle classes12.zip file to classes12.jar and move to the
tomcat\common\lib directory.
-Original Message-
From: Phillip Qin [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 15, 2005 6:39 AM
In your context.xml or server.xml, you would define your jdbc resource. Find
out that url and post it here. Jdbc driver and location are correct.
-Original Message-
From: g k [mailto:[EMAIL PROTECTED]
Sent: February 15, 2005 11:25 AM
To: [EMAIL PROTECTED]; tomcat-user@jakarta.apache.org
-To: Tomcat Users List tomcat-user@jakarta.apache.org
To: 'Tomcat Users List' tomcat-user@jakarta.apache.org
Subject: RE: Cannot create JDBC driver of class '' for connect URL 'null'
Date: Tue, 15 Feb 2005 11:33:35 -0500
In your context.xml or server.xml, you would define your jdbc resource.
Find
out
Didn't you define url, password etc. in your server.xml
GlobalNamingResources?
-Original Message-
From: g k [mailto:[EMAIL PROTECTED]
Sent: February 15, 2005 12:49 PM
To: tomcat-user@jakarta.apache.org
Subject: RE: Cannot create JDBC driver of class '' for connect URL 'null'
Server.xml
Laba diena.
Dkojame, kad mums parate.
Js atsista inut isaugota ms duomen bazje.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
: RE: Cannot create JDBC driver of class '' for connect URL 'null'
Date: Tue, 15 Feb 2005 13:32:59 -0500
Didn't you define url, password etc. in your server.xml
GlobalNamingResources?
-Original Message-
From: g k [mailto:[EMAIL PROTECTED]
Sent: February 15, 2005 12:49 PM
To: tomcat-user
My url is jdbc:oracle:thin:@ora.mydomain.com:1521:SID
-Original Message-
From: g k [mailto:[EMAIL PROTECTED]
Sent: February 15, 2005 5:15 PM
To: tomcat-user@jakarta.apache.org
Subject: RE: Cannot create JDBC driver of class '' for connect URL 'null'
yes have defined that
!-- Global
, 2005 1:15 AM
Subject: Chirag: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot
create JDBC driver of class '' for connect URL 'null'
Software
jakarta-tomcat-5.5.2
JDK 1.5
MS Access 2000
Requirements
Connection Pooling in Tomcat
Problem
I inserted a resource Tag in server.xml file
Resource
I did changed the code
I changed the server.xml file and changed as this
Resource name=B2BSite auth=Container
type=javax.sql.DataSource
driverClassName=sun.jdbc.odbc.JdbcOdbcDriver
url=jdbc:odbc:B2BSite
username=myuser password=mypasswd maxActive=20 maxIdle=10
encountered an internal
error () that prevented it from fulfilling this request. exception
javax.servlet.ServletException: Cannot create JDBC driver of class '' for
connect URL 'null'
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:825
In the process of moving a newer version of the Oracle driver
(from 9.2.05 to 9.2.06) through out environments, we had the
following error:
Apache Tomcat/4.1.30
SQL Error.
count = 0, total = 498
count = 0, total = 498
The server is set-up to use multiple services with a root
context configured
as?
-Original Message-
From: Carlos Bracho [mailto:[EMAIL PROTECTED]
Sent: Saturday, November 27, 2004 4:58 PM
To: Tomcat Users List
Subject: Mysql: Cannot create JDBC driver
Hello everybody.
I am writting you because I get this exception ramdonly, I mean,
sometimes happends, sometimes does
Users List
Subject: Mysql: Cannot create JDBC driver
Hello everybody.
I am writting you because I get this exception ramdonly, I mean,
sometimes happends, sometimes does not.
javax.servlet.ServletException: Cannot create JDBC driver of class ''
for connect URL 'null', cause: No suitable
:42 AM
To: John Najarian
Cc: Tomcat Users List
Subject: Re: Mysql: Cannot create JDBC driver
My $CATALINA_HOME is defined as: C:\Program Files\Apache Software
Foundation\Tomcat\
On Mon, 29 Nov 2004 07:08:02 -0800, John Najarian
[EMAIL PROTECTED] wrote:
Hi Carlos,
I have my mysql-connector
Subject: Re: Mysql: Cannot create JDBC driver
My $CATALINA_HOME is defined as: C:\Program Files\Apache Software
Foundation\Tomcat\
On Mon, 29 Nov 2004 07:08:02 -0800, John Najarian
[EMAIL PROTECTED] wrote:
Hi Carlos,
I have my mysql-connector-java-3.0.0.15-ga-bin.jar located
javax.servlet.ServletException: Cannot create JDBC driver of class ''
for connect URL 'null', cause: No suitable driver
Typically this just means that the JNDI name could not be resolved. Thus
no driver is available.
Server.xml:
(...)
Context path=/bankApp1 docBase=bankApp1 debug=5
reloadable
Hello everybody.
I am writting you because I get this exception ramdonly, I mean,
sometimes happends, sometimes does not.
javax.servlet.ServletException: Cannot create JDBC driver of class ''
for connect URL 'null', cause: No suitable driver
Carlos, did you check that the MySQL driver is in the path?
-Original Message-
From: Carlos Bracho [mailto:[EMAIL PROTECTED]
Sent: Saturday, November 27, 2004 4:58 PM
To: Tomcat Users List
Subject: Mysql: Cannot create JDBC driver
Hello everybody.
I am writting you because I get
,
sometimes happends, sometimes does not.
javax.servlet.ServletException: Cannot create JDBC
driver of class ''
for connect URL 'null', cause: No suitable driver
at
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:825
create JDBC driver of class '' for connect URL 'null'
actually that may also be the jdbc connectivity ;) you are sure your
database listener is operational?
-Original Message-
From: Ed Sykes [mailto:[EMAIL PROTECTED]
Sent: Mon 15/11/2004 18:04
To: Tomcat Users List
Cc:
Subject: Re: Cannot
.
i.e.,
Class.forName(Connection_Info.JDBC_DRIVER);
conn = DriverManager.getConnection(URL, USERNAME, PASSWORD);
stmt = conn.createStatement();
works fine. So, Tomcat finds the Oracle JDBC driver fine.
I'm getting the following error:
Cannot create JDBC driver of class
Ed,
Not sure if it will _cause_ it, but you need to remove ResourceParam elements,
as it's all covered in Resource.
ADC
-Original Message-
From: Ed Sykes [mailto:[EMAIL PROTECTED]
Sent: 15 November 2004 16:49
To: [EMAIL PROTECTED]
Subject: Cannot create JDBC driver of class
Message-
From: Ed Sykes [mailto:[EMAIL PROTECTED]
Sent: 15 November 2004 16:49
To: [EMAIL PROTECTED]
Subject: Cannot create JDBC driver of class '' for connect URL 'null'
Hi,
I'm trying to setup DBCP with Tomcat 5.5.4 with Oracle 8.1.6
using Java 1.5.0
I've read FAQ
JDBC driver of class '' for connect URL 'null'
Ed,
Not sure if it will _cause_ it, but you need to remove ResourceParam
elements, as it's all covered in Resource.
ADC
-Original Message-
From: Ed Sykes [mailto:[EMAIL PROTECTED]
Sent: 15 November 2004 16:49
To: [EMAIL PROTECTED]
Subject
Hi Allistair,
I'll read through it and report back.
Thanks !!
-Ed
- Original Message -
From: Allistair Crossley [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, November 15, 2004 11:53 AM
Subject: RE: Cannot create JDBC driver of class '' for connect URL 'null
and the docs explain, this is no longer needed
in Tomcat 5.5, and should be removed.
org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC
driver
of class '' for connect URL 'null'
Where is your JDBC driver file? In common/lib or WEB-INF/lib? It
should be the former if you're using
i've never seen a path attribute with a value of /ROOT/WEB-INF/classes ... why
have you chosen this?
-Original Message-
From: Ed Sykes [mailto:[EMAIL PROTECTED]
Sent: 15 November 2004 16:58
To: Tomcat Users List
Subject: Re: Cannot create JDBC driver of class '' for connect URL
Hi Yoav Shapira,
Thank you for your help.
I've corrected my server.xml file. the first line now looks like:
Context path=ROOT docBase=
Tomcat starts up properly.
The Oracle JDBC driver (classes12.jar, classes12dms.jar, and
nls_charset12.jar) are in:
C:\jakarta-tomcat-5.5.4\common\lib
One thing
JDBC driver of class '' for connect URL
'null'
Hi Yoav Shapira,
Thank you for your help.
I've corrected my server.xml file. the first line now looks like:
Context path=ROOT docBase=
Tomcat starts up properly.
The Oracle JDBC driver (classes12.jar, classes12dms.jar
\classes\JITS
the web app web.xml file:
C:\jakarta-tomcat-5.5.4\webapps\ROOT\WEB-INF
Thanks,
Ed Sykes
- Original Message -
From: Allistair Crossley [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, November 15, 2004 12:25 PM
Subject: RE: Cannot create JDBC driver of class
]
Sent: Mon 15/11/2004 18:04
To: Tomcat Users List
Cc:
Subject: Re: Cannot create JDBC driver of class '' for connect URL
'null'
Hi Allistair,
Thank you very much for helping.
Here's my revised server.xml
create JDBC driver of class '' for connect URL
'null'
Hi Allistair,
Thank you very much for helping.
Here's my revised server.xml :
Context docBase=/ROOT reloadable=true
Resource name=jdbc/myoracle
=
DriverManager.getConnection(jdbc:oracle:thin:@newton.sheridanc.on.ca:1522:DB2,
jits, pass);
stmt = conn.createStatement();
works fine. So, Tomcat finds the Oracle JDBC driver fine and the version of
the JDBC driver is fine.
I think it must be something in the server.xml or web.xml or another xml
file where Tomcat
, November 15, 2004 1:27 PM
Subject: RE: Cannot create JDBC driver of class '' for connect URL 'null'
it's looking better but this error is interesting. Are you using an API
like validator that tries to connect out of an internal corporate network?
have you got any more stack trace that what you
Sorry to go on but I'm completely stumped, has anyone come across this
problem using Oracle 9 with tomcat 5?
-Original Message-
From: Dale, Matt [mailto:[EMAIL PROTECTED]
Sent: 24 October 2004 12:17
To: Tomcat Users List
Subject: RE: Does Oracle 9i thin jdbc driver work in Tomcat 5
I have successfully used Oracle 9 with JBoss, Jrun, and Tomcat. I don't
remember any specific differences between the JNDI configurations. Make sure
that you have the classes12.jar, nls_charset12.jar files in your runtime
classpath, i.e. /WEB-INF/lib or somewhere else.
The driver class is
I believe (and I'm sure I'll be corrected if I'm wrong), the drivers
need to go into commmon/lib so that the container can access them.
On Mon, 2004-10-25 at 08:13, Dov Rosenberg wrote:
I have successfully used Oracle 9 with JBoss, Jrun, and Tomcat. I don't
remember any specific differences
On Mon, 2004-10-25 at 08:21, Ben Souther wrote:
I believe (and I'm sure I'll be corrected if I'm wrong), the drivers
need to go into commmon/lib so that the container can access them.
If you're having Tomcat manage your connection pool, that is..
On Mon, 2004-10-25 at 08:13, Dov Rosenberg
Message-
From: spammemothers [mailto:[EMAIL PROTECTED] On Behalf Of
Adrian
Harrison
Sent: Saturday, October 23, 2004 12:28 PM
To: [EMAIL PROTECTED]
Subject: Does Oracle 9i thin jdbc driver work in Tomcat 5?
using tomcat 5.0.28, oracle 9.2.1.0 on windows 2000 (sp4)
having a nightmare here
What arr your Resource and ResourceParams?
-Original Message-
From: Adrian Harrison [mailto:[EMAIL PROTECTED]
Sent: October 23, 2004 12:28 PM
To: [EMAIL PROTECTED]
Subject: Does Oracle 9i thin jdbc driver work in Tomcat 5?
using tomcat 5.0.28, oracle 9.2.1.0 on windows 2000 (sp4
-authContainer/res-auth
/resource-ref
Hope this helps?
Thanks
harry
-Original Message-
From: Phillip Qin [mailto:[EMAIL PROTECTED]
Sent: 25 October 2004 15:25
To: 'Tomcat Users List'
Subject: RE: Does Oracle 9i thin jdbc driver work in Tomcat 5?
What arr your Resource and ResourceParams
Hi,
Add a factory ResourceParam as shown in the docs.
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: spammemothers [mailto:[EMAIL PROTECTED]
Sent: Monday, October 25, 2004 12:14 PM
To: 'Tomcat Users List'
Subject: RE: Does Oracle 9i thin jdbc driver work in Tomcat 5
]
Sent: 25 October 2004 17:20
To: Tomcat Users List
Subject: RE: Does Oracle 9i thin jdbc driver work in Tomcat 5?
Hi,
Add a factory ResourceParam as shown in the docs.
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: spammemothers [mailto:[EMAIL PROTECTED]
Sent
Can you give classes12.jar a try so we can isolate the problem of ojdbc14. I
use the jdbc driver come with oracle 9i release 2. The name is
classes12.zip.
-Original Message-
From: spammemothers [mailto:[EMAIL PROTECTED]
Sent: October 25, 2004 12:39 PM
To: 'Tomcat Users List'
Subject
PROTECTED]
Sent: 25 October 2004 17:43
To: 'Tomcat Users List'
Subject: RE: Does Oracle 9i thin jdbc driver work in Tomcat 5?
Can you give classes12.jar a try so we can isolate the problem of ojdbc14. I
use the jdbc driver come with oracle 9i release 2. The name is
classes12.zip.
-Original
Users List'
Subject: RE: Does Oracle 9i thin jdbc driver work in Tomcat 5?
Copied classes111.jar, classes12.jar, nls_charset11.jar, nls_charset12.jar
from ora92\jdbc\lib directory to jakarta-tomcat-5.0.28\common\lib directory
- also deleted ojdbc14.jar from this dir - NullPointerException still
[mailto:[EMAIL PROTECTED]
Sent: 25 October 2004 17:54
To: 'Tomcat Users List'
Subject: RE: Does Oracle 9i thin jdbc driver work in Tomcat 5?
in your jdbc url, lose the prd_owner ...
parameter
nameurl/name
valuejdbc:oracle:thin:@127.0.0.1:1521:dev/value
PROTECTED] On Behalf Of Adrian
Harrison
Sent: 23 October 2004 17:28
To: [EMAIL PROTECTED]
Subject: Does Oracle 9i thin jdbc driver work in Tomcat 5?
using tomcat 5.0.28, oracle 9.2.1.0 on windows 2000 (sp4)
having a nightmare here, upgraded from oracle 8i to 9i, downloaded
installed ojdbc14.jar
I'm fairly sure that there are people using it but you may have to wait until it's not
the weekend for you get an answer.
-Original Message-
From: spammemothers [mailto:[EMAIL PROTECTED]
Sent: 24 October 2004 12:13
To: 'Tomcat Users List'
Subject: RE: Does Oracle 9i thin jdbc driver
using tomcat 5.0.28, oracle 9.2.1.0 on windows 2000 (sp4)
having a nightmare here, upgraded from oracle 8i to 9i, downloaded
installed ojdbc14.jar file in Tomcat's common\lib directory.
Now all I get when trying to create a connection pool is this exception -
2004-10-22 17:04:22
Hello All.
Tomcat (5+) and Database server (sql server 2000) are
both on different boxes. How can i enable tomcat to
auto reconnect to the Database if the database server
is rebooted (and thus original connections were lost)
without restarting Tomcat?
someone please point me to the solution if
JDBC Driver?
I tired looking this up also. The best I could come up with
is to compare the java.sql APIs and the mysql limitations.
Here is a URL for that:
http://www.cs.nott.ac.uk/TSG/manuals/databases/mysql/jdbc/mm.doc/
-Original Message-
From: Chuck Carson [mailto:[EMAIL PROTECTED
Does anyone know where I can find a complete set of API docs for the JConnect Driver
3.x? The docs
on the site are lacking and only have simple examples on how to do SELECT's. I am
looking for a
complete method list or something more detailed.
Thanks for any info,
rhugga
User
Subject: API docs for Mysql JDBC Driver?
Does anyone know where I can find a complete set of API docs for the
JConnect Driver 3.x? The docs
on the site are lacking and only have simple examples on how to do
SELECT's. I am looking for a
complete method list or something more detailed.
Thanks
Informatics
-Original Message-
From: Chuck Carson [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 23, 2004 10:49 AM
To: LIST: Tomcat User
Subject: API docs for Mysql JDBC Driver?
Does anyone know where I can find a complete set of API docs for the
JConnect Driver 3.x
, 2004 12:02 PM
To: Tomcat Users List
Subject: Re: [OFF-TOPIC] RE: API docs for Mysql JDBC Driver?
This has everything to do with tomcat. I am using the driver
to connect to Mysql from Tomcat.
--- Shapira, Yoav [EMAIL PROTECTED] wrote:
Hi,
Please mark your questions as [OFF-TOPIC
: API docs for Mysql JDBC Driver?
The API docs for a mysql driver has **nothing** to do with
tomcat. Does tomcat distribute the API for mysql drivers??
Perhaps the double star and question marks will convince you. ;)
-Original Message-
From: Chuck Carson [mailto:[EMAIL
Hi Chuck,
Here is another link you might find useful.
http://www.cs.nott.ac.uk/TSG/manuals/databases/mysql/jdbc/apidoc/
-Original Message-
From: Chuck Carson [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 23, 2004 7:49 AM
To: LIST: Tomcat User
Subject: API docs for Mysql JDBC
I am trying to install the JDBC driver on an XP box
to use it with a driver manager in Tomcat and to use
it as stand alone for simple tests.
I find the MySql installation documentation fragmented
and difficult to follow. Any ideas would be appreciated.
Thanks in advance
there is nothing to do when installing a JDBC driver, especially if it is a type 4.
Just copy the JAR file to WEB-INF/lib if you want to use the driver within your
webapps,
or just add the JAR to your CLASSPATH if you want to run it standalone
look for JDBC tutorials
Filip
- Original
the missing 2nd plugin and how to... But downloading
plugin is taking forever.
-Original Message-
From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 23, 2004 1:45 PM
To: Tomcat Users List
Subject: Re: Installing the MySql jdbc driver on XP?
there is nothing to do when
Use mysql connector for your jdbc connections and place the jar in the
$CATALINA_HOME/common/lib.
In terms of using it in your lightweight code, you will have to describe
your development practices... are you using an IDE?
-
form.
Original Message Follows
From: John Najarian [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Subject: RE: Installing the MySql jdbc driver on XP?
Date: Thu, 23 Sep 2004 14:12:10 -0700
Thanks Filip, I wanted to configure
: Thursday, September 23, 2004 7:49 AM
To: LIST: Tomcat User
Subject: API docs for Mysql JDBC Driver?
Does anyone know where I can find a complete set of API docs for the
JConnect Driver 3.x? The docs
on the site are lacking and only have simple examples on how to do SELECT's.
I am looking for a
complete
the jconnector classes for doing SQL.
-Original Message-
From: John Najarian [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 23, 2004 10:10 AM
To: 'Tomcat Users List'
Subject: RE: API docs for Mysql JDBC Driver?
I tired looking this up also. The best I could come up
Thanks Mark
-Original Message-
From: Mark Benussi [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 23, 2004 2:45 PM
To: [EMAIL PROTECTED]
Subject: RE: Installing the MySql jdbc driver on XP?
If your using eclipse just place the mysql connector jar in your projects
jar list
Najarian [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 23, 2004 5:08 PM
To: 'Tomcat Users List'
Subject: RE: Installing the MySql jdbc driver on XP?
Thanks Mark
-Original Message-
From: Mark Benussi [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 23, 2004 2:45 PM
To: [EMAIL PROTECTED
Hi,
I am using tomcat-5. I was trying out the connection pooling in it. I did things as per their documentation but ended up with this error.
javax.servlet.ServletException: Cannot create JDBC driver of class '' for connect URL 'null', cause: No suitable driver
Does anyone have any idea what
create JDBC driver of class '' for
connect URL 'null', cause: No suitable driver Does anyone have any idea
what and what this is. I am at loss why after finding the JDNI resource its
not able to pick up its parameters.
regards,
Isen
up with this error.
javax.servlet.ServletException: Cannot create JDBC driver of class ''
for
connect URL 'null', cause: No suitable driver Does anyone have any
idea
what and what this is. I am at loss why after finding the JDNI
resource
its
not able to pick up its parameters.
regards,
Isen
/capitalization mistakes and
all the necessary parts are there, including the JDBC driver jar file in
the common/lib directory. The JNDI howtos on the Jakarta site is a good
place to look:
(these are for tomcat 5, there should be equivalents for tomcat 4)
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi
.
javax.servlet.ServletException: Cannot create JDBC driver of class '' for
connect URL 'null', cause: No suitable driver Does anyone have any idea
what and what this is. I am at loss why after finding the JDNI resource its
not able to pick up its parameters.
regards,
Isen
-Original Message-
From: Robert Bateman [mailto:[EMAIL PROTECTED]
Sent: Monday, August 02, 2004 3:02 PM
To: Tomcat Users List
Subject: Re: javax.servlet.ServletException: Cannot create JDBC driver
of
class '' for connect URL 'null', cause: No suitable driver
Please show us the source
[mailto:[EMAIL PROTECTED]
Sent: Monday, August 02, 2004 3:49 PM
To: Tomcat Users List
Subject: Re: javax.servlet.ServletException: Cannot create JDBC driver
of
class '' for connect URL 'null', cause: No suitable driver
I wanted to tinker around hence i decide to just test using a jsp. The
jsp code
: Monday, August 02, 2004 3:49 PM
To: Tomcat Users List
Subject: Re: javax.servlet.ServletException: Cannot create JDBC driver
of
class '' for connect URL 'null', cause: No suitable driver
I wanted to tinker around hence i decide to just test using a jsp. The
jsp code is pasted below.
[EMAIL
Informatics
-Original Message-
From: Isen,Ciji [mailto:[EMAIL PROTECTED]
Sent: Monday, August 02, 2004 3:49 PM
To: Tomcat Users List
Subject: Re: javax.servlet.ServletException: Cannot create JDBC driver
of
class '' for connect URL 'null', cause: No suitable driver
I wanted to tinker around
:[EMAIL PROTECTED]
Sent: Wednesday, July 28, 2004 4:42 PM
To: [EMAIL PROTECTED]
Subject: Cannot create JDBC driver of class
What's triggers this error message I've been trying to connect to a
datasource via JNDI on Tomcat 5.0.19 for the past couple of days and it
seems like when I fix one problem I run
= (DataSource) env.lookup(jdbc/phone);
Connection conn = ds.getConnection();
try{
Error message received
org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of
class 'org.hsqldb.jdbcDriver' for connect URL
'jdbc:hsqldb.hsql://localhost', cause:
java.sql.SQLException
PROTECTED]
Subject: Cannot create JDBC driver of class
At a standstill with accessing a datasource through JNDI in Tomcat
5.0.19.
Snippet of server.xml
...
Context displayName=Jakarta Struts Testing Web Application
docBase=phone path=/phone
Resource auth=Container description=Database Connection
create JDBC driver of
class 'org.hsqldb.jdbcDriver' for connect URL 'jdbc:hsqldb.hsql:x',
cause:
java.sql.SQLException: No suitable driver
Before you answer these are the steps I completed so far
1.) Added DataSource via Tomcat Admin Tool
2.) Modified server.xml context
-
From: Bussie, Andre D [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 28, 2004 3:42 PM
To: [EMAIL PROTECTED]
Subject: Cannot create JDBC driver of class
What's triggers this error message I've been trying to connect to a
datasource via JNDI on Tomcat 5.0.19 for the past couple of days
]
Sent: Sunday, July 11, 2004 10:04 PM
To: 'Tomcat Users List'
Subject: RE: org.apache.commons.dbcp.SQLNestedException: Cannot create
JDBC driver of class '' for connect URL 'null'
Just to make sure that theres no problems with my code, I wrote the
following page and tried it. TADA! I get
I don't think you can. The classloader that supports the jars in
common/lib can't see the jars in your webapp. It's one of those cases
where your webapp's classloader can see the jars at the tomcat level,
but not the other way around. I think your stuck with either getting
the provider to
On Sun, Jul 11, 2004 at 01:49:24AM -0400, Steven J. Owens wrote:
: My hosting provider is using an older driver that doesn't support
: some JDBC 3.0 features I'd like.
:
: When I asked them about upgrading, they told me I could just stick
: the jar file for the more up-to-date driver in
Jouikov [mailto:[EMAIL PROTECTED]
Sent: Sunday, July 11, 2004 9:28 PM
To: 'Tomcat Users List'
Subject: org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of
class '' for connect URL 'null'
When they compiled the latest stable Tomcat, did they bother to test it before
putting
1 - 100 of 582 matches
Mail list logo