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 and
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
To: 'Tomcat Users List'
Subject: RE: Cannot create JDBC driver of class '' for connect URL
'null'
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
Subject: RE: Cannot create JDBC driver of class '' for connect URL 'null'
Hi
ojdbc14.jar - is in the tomcat/common/lib directory
post jdc url? - not to clear on what this is?
do i need to create a context.xml?
regards
Gurpreet
From: David Short [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED
-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
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
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 '' for
Also, you may want to look at configuring your webapp outside of server.xml
using the tomcat/Catalina/localhost/ROOT.xml method
I recently discussed this here
http://www.adcworks.com/blog/index.php/archives/2004/11/14/getting-up-and-running-with-tomcat-55
Hope it helps, ADC.
-Original
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
Hi,
Context path=/ROOT/WEB-INF/classes
docBase=ROOT/WEB-INF/classes/JITS
I really doubt you mean these. The context path attribute is the URL
path used by browsers to retrieve your web pages, i.e.
http://yourhost:yourport/path. It's not a filesystem path.
The context docBase is the root of
: RE: Cannot create 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
which is
defined in the web.xml file...
Thanks
-Ed Sykes
- Original Message -
From: Shapira, Yoav [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, November 15, 2004 11:59 AM
Subject: RE: Cannot create JDBC driver of class '' for connect URL 'null'
Hi,
Context
AM
Subject: RE: Cannot create JDBC driver of class '' for
connect URL 'null'
Hi,
Context path=/ROOT/WEB-INF/classes
docBase=ROOT/WEB-INF/classes/JITS
I really doubt you mean these. The context path attribute is the URL
path used by browsers to retrieve your web pages, i.e.
http
: Cannot create 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, and
nls_charset12
]
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
- 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 '' for connect URL
'null
: RE: Cannot create JDBC driver of class '' for connect URL 'null'
your docBase should be /ROOT which should in turn contain WEB-INF/web.xml
and path can be scrapped
Context docBase=/ROOT reloadable=true
ADC
-Original Message-
From: Ed Sykes [mailto:[EMAIL PROTECTED]
Sent: 15 November
, 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
Hello
My web.xml contains:
That looks the same as mine (which works) so no problem there. You do not
actually *need* this element in the deployment descriptor if you are using
Tomcat 5, but it makes your code portable, should you ever (God forbid!)
switch to another servlet container.
My
Thanks Harry but the problem is that it is not even trying to load the
Postgres driver - it is not getting that far. It is trying to load JDBC
driver class '' (empty string) and is trying to access JDBC URL of
'null'. It seems that the ResourceParams section is not being used.
I do have the
I found the problem.
To get it working I needed to have the Resource and ResourceParams
in the Global section and then add a ResourceLink in the context for
my webapp. This enabled Tomcat to resolve the parameters.
I've posted my config files here for anyone interested:
I'm glad you sorted yourself out Andy.
Just for the record, you *can* define the resource (and its parameters)
within the context of an application - as opposed to making it a global
resource that requires a resource link.
I have it working that way, and I suspect so do many others because this
=135290880)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4
Please Help !!
Regards
Abhay
-Original Message-
From: Andy Grove [mailto:[EMAIL PROTECTED]
Sent: Monday, April 05, 2004 9:22 AM
To: Tomcat Users List
Subject: Re: Cannot create JDBC driver of class '' for connect URL 'null'
I
On Mon, 2004-04-05 at 18:35, Kumar Abhay-CAK203C wrote:
Hi,
I am getting following error while creating Connection Pool using above code:
Error Caught while creating a connection in EPP dB: =
org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory,
cause: Io
.
I am able to connect thru driverManager code .. Single connection
Best Regards
Abhay Kumar
-Original Message-
From: Paul Mansfield [mailto:[EMAIL PROTECTED]
Sent: Monday, April 05, 2004 12:29 PM
To: Tomcat Users List
Subject: RE: Cannot create JDBC driver of class '' for connect URL
-Original Message-
From: Paul Mansfield [mailto:[EMAIL PROTECTED]
Sent: Monday, April 05, 2004 12:29 PM
To: Tomcat Users List
Subject: RE: Cannot create JDBC driver of class '' for connect URL 'null'
On Mon, 2004-04-05 at 18:35, Kumar Abhay-CAK203C wrote:
Hi,
I am getting
:56 PM
To: Tomcat Users List
Subject: Re: Cannot create JDBC driver of class '' for connect URL 'null'
Importance: High
Hello
What is postgresql JAR?
It is the JDBC driver for the PostgreSQL database. You do not need it if you are
connecting to an Oracle database - but, of course, you need
32 matches
Mail list logo