gurations
>
> Doug
>
> - Original Message -
> From: "Ole Ersoy" <[EMAIL PROTECTED]>
> To: "Tomcat Users List"
>
> Sent: Friday, March 04, 2005 9:45 AM
> Subject: Re: Tomcat 5.5.8 Postgresql 7.4.6 No
> suitable driver exception
>
&
ource-examples-howto.html#Database%20Connection%20Pool%20(DBCP)%20Configurations
Doug
- Original Message -
From: "Ole Ersoy" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Friday, March 04, 2005 9:45 AM
Subject: Re: Tomcat 5.5.8 Postgresql 7.4.6 No suitable driver
te:
> >
> > >Hi everybody,
> > >
> > >I'm attempting to get the JNDI Datasource How To
> > >example for Postgresql to work.
> > >
> > >Here is the URL for the example:
> >
>
>http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jn
sql to work.
> >
> >Here is the URL for the example:
>
>http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-datasource-examples-howto.html
> >
> >After completing the listed steps the test.jsp
> error
> >page reports:
> >"java.sql.SQLException: No s
ting to get the JNDI Datasource How To
example for Postgresql to work.
Here is the URL for the example:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-datasource-examples-howto.html
After completing the listed steps the test.jsp error
page reports:
"java.sql.SQLException: No suitabl
ports:
"java.sql.SQLException: No suitable driver"
Here are all my configuration steps, including the
files:
- On Fedora Core 3 - adduser postgres
- passwd postgres (set to postgres)
- chown postgres /var/lib/pqsql/data
- /usr/bin/initdb -D /var/lib/pgsql/data
- /usr/bin/postmaster -D /var/lib/pgsql/dat
--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
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.
i [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 de
-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 u
2:44 pm, Isen,Ciji wrote:
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 suit
.
--David
Isen,Ciji wrote:
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 suitab
not create JDBC driver
of
>class '' for connect URL 'null', cause: No suitable driver
>
>Please show us the source that is causing this error...
>
>
>On Monday 02 August 2004 02:44 pm, Isen,Ciji wrote:
>> Hi,
>> I am using tomcat-5. I was tryi
tion: 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 pi
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 ha
h your new
problem. I am sure that someone will know...
Jan
-Original Message-
From: Briggs, Patrick [mailto:[EMAIL PROTECTED]
Sent: Friday, July 02, 2004 6:36 PM
To: 'Tomcat Users List'
Subject: RE: Tomcat -> MySQL = No suitable driver ERROR
David had me do this following pro
formula has worked for me in I can't even count how many apps
I've setup.
--David
-Original Message-
From: Jan Behrens [mailto:[EMAIL PROTECTED]
Sent: Friday, July 02, 2004 1:50 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat -> MySQL = No suitable driver ERROR
yes
: Thursday, July 01, 2004 7:59 PM
To: 'Tomcat Users List'
Cc: '[EMAIL PROTECTED]'
Subject: RE: Tomcat -> MySQL = No suitable driver ERROR
Ok, the contents of {TOMCAT_HOME}/conf/Catalina/localhost/DBTest.xml is:
url
jdbc:mysql://cir-ops:3306/java
Users List
Subject: Re: Tomcat -> MySQL = No suitable driver ERROR
Hold on a minute. I think we have a communication problem here. I
wasn't recommending you do that. Slow down, take a breath and read my
posts VERY carefully.
We are looking at two different files here. DBTest.xml a
David Smith wrote:
I was recommending you take the ... stuff
you put in {TOMCAT_HOME}/webapps/DBTest/WEB-INF/DBTest.xml and put that
in {TOMCAT_HOME}/webapps/DBTest/WEB-INF/web.xml.
Yes, and in addition --
Here is what my web.xml looks like now:
http://java.sun.com/dtd/web-app_2_3.dtd";>
http://
username
javauser
factory
org.apache.commons.dbcp.BasicDataSourceFactory
removeAbandonedTimeout
60
password
javadude
-Original Message-
From: David Smith [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 30, 2004 6:56 PM
To: Tomcat Users List
Subject: Re: Tom
27;
Subject: RE: Tomcat -> MySQL = No suitable driver ERROR
I have seen this one too many times. It usually has to do with the naming
lookup. I have had to keep "playing" with the form of the name until it
worked.
Robert S. Harper
801.265.8800 ex. 255
> -Original Message-
: Thursday, July 01, 2004 10:20 AM
> To: 'Tomcat Users List'
> Subject: RE: Tomcat -> MySQL = No suitable driver ERROR
>
> Yeah, I just tried that and still no go. Still getting:
>
> javax.servlet.ServletException: Unable to get connection, DataSource
> invalid
Yeah, I just tried that and still no go. Still getting:
javax.servlet.ServletException: Unable to get connection, DataSource
invalid: "org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC
driver of class '' for connect URL 'null', cause: No suitable drive
riginal Message-
From: David Smith [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 30, 2004 6:56 PM
To: Tomcat Users List
Subject: Re: Tomcat -> MySQL = No suitable driver ERROR
Ok. I think I'm seeing your trouble. The stuff you have in
WEB-INF/DB-Test.xml should be in web.xml instead.
AM
To: Tomcat Users List
Subject: Re: Tomcat -> MySQL = No suitable driver ERROR
Ok. I think I'm seeing your trouble. The stuff you have in
WEB-INF/DB-Test.xml should be in web.xml instead. In mine, the
... stuff is at the end of the file just
before the closing tag. In tomcat ve
s and intializes the ressource.
HTH, Jan
-Original Message-
From: Briggs, Patrick [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 30, 2004 9:47 PM
To: 'Tomcat Users List'
Subject: RE: Tomcat -> MySQL = No suitable driver ERROR
Ok, I have it in the common/lib directory, but
Bar ${row.bar}
The error message displayed on the web-broser for the URL:
http://localhost:8080/DBTest/test.jsp
javax.servlet.ServletException: Unable to get connection, DataSource
invalid: "org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC
driver of class '' for connect U
The error message displayed on the web-broser for the URL:
http://localhost:8080/DBTest/test.jsp
javax.servlet.ServletException: Unable to get connection, DataSource
invalid: "org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC
driver of class '' for connect URL 'null'
]
Sent: Wednesday, June 30, 2004 12:19 PM
To: Tomcat Users List
Subject: Re: Tomcat -> MySQL = No suitable driver ERROR
Wrong place for mysql jar file. It should be in
{TOMCAT_HOME}/common/lib right along side the DBCP jar file.
--David
Briggs, Patrick wrote:
>If the webapps.xml file
To: Tomcat Users List
Subject: Re: Tomcat -> MySQL = No suitable driver ERROR
Wrong place for mysql jar file. It should be in
{TOMCAT_HOME}/common/lib right along side the DBCP jar file.
--David
Briggs, Patrick wrote:
If the webapps.xml file is supposed to be located in Catalina\localhost
e 30, 2004 12:19 PM
To: Tomcat Users List
Subject: Re: Tomcat -> MySQL = No suitable driver ERROR
Wrong place for mysql jar file. It should be in
{TOMCAT_HOME}/common/lib right along side the DBCP jar file.
--David
Briggs, Patrick wrote:
>If the webapps.xml file is supposed to be loc
ssage-
From: Jan Behrens [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 30, 2004 1:58 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat -> MySQL = No suitable driver ERROR
Hi Patrick,
the problem might be that in Tomcat 5.x the storage of the context related
configuration changed from s
XML find changing it where it needs changes for
URL and username/password.
Still getting the same error message :(
So now what could it be?
-Original Message-
From: Jan Behrens [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 30, 2004 1:58 AM
To: 'Tomcat Users List'
Subject: RE:
ECTED]'
Subject: Tomcat -> MySQL = No suitable driver ERROR
I'm trying to setup Tomcat 5.0.25 to talk to a MySQL database and I've had
no luck after several days of fighting with this thing. I'm following along
the documentation at this URI:
http://jakarta.apache.org/tomcat/to
CTED]>
To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
Subject: Tomcat -> MySQL = No suitable driver ERROR
Date: Tue, 29 Jun 2004 15:00:59 -0700
I'm trying to setup Tomcat 5.0.25 to talk to a MySQL database and I've had
no luck after several days of fighti
etting this up shouldn't
be this complicated.
The error message I keep getting all the time is:
javax.servlet.ServletException: Unable to get connection, DataSource
invalid: "org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC
dri
SBCSI)" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, April 09, 2004 12:25 PM
Subject: RE: No Suitable Driver Problem
Hi Daniel,
I managed to solve this one, my database url was missing the schema
name, that was causing the problem. I ch
Never mind, even though I am using jdk1.4 and tomcat5.0, I had to
replace ojdbc14.jar with classes version to get it to work.
-Original Message-
From: MARU, SOHIL (SBCSI)
Sent: Friday, April 09, 2004 11:26 AM
To: 'Tomcat Users List'
Subject: RE: No Suitable Driver Problem
-
From: Daniel Huang [mailto:[EMAIL PROTECTED]
Sent: Friday, April 09, 2004 11:22 AM
To: Tomcat Users List
Subject: RE: No Suitable Driver Problem
Please double check and make sure your ojdbc.jar is in
$CATALINA_HOME/common/lib.
-Original Message-
From: MARU, SOHIL (SBCSI) [mailto:[EMAIL
Please double check and make sure your ojdbc.jar is in
$CATALINA_HOME/common/lib.
-Original Message-
From: MARU, SOHIL (SBCSI) [mailto:[EMAIL PROTECTED]
Sent: Friday, April 09, 2004 8:02 AM
To: [EMAIL PROTECTED]
Subject: No Suitable Driver Problem
Hey Doug,
I tried moving the username
EMAIL PROTECTED]
:1521:[sid]', cause:
java.sql.SQLException: No suitable driver
at java.sql.DriverManager.getDriver(DriverManager.java:243)
at
org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSou
rce.java:743)
at
org.apache.commons.dbcp.BasicData
To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Monday, March 29, 2004 8:12 PM
> Subject: Re: No suitable driver
>
>
> > Success!
> >
> > Thanks for your help Doug. I am going to submit this to the developer
x27;m glad you got it working.
Doug
- Original Message -
From: "Todd H. Siegel" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Monday, March 29, 2004 8:12 PM
Subject: Re: No suitable driver
> Success!
>
> Thanks for your hel
From: "Todd H. Siegel" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Saturday, March 27, 2004 6:39 PM
> Subject: Re: No suitable driver
>
>
> > Doug,
> >
> > I made those changes and I stil
it a try and let us know.
Doug
- Original Message -
From: "Todd H. Siegel" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Saturday, March 27, 2004 6:39 PM
Subject: Re: No suitable driver
> Doug,
>
> I made those
assword',
cause: No suitable driver
Here's my config info:
>From server.xml:
maxActive
100
maxIdle
30
maxWait
1
url
jdbc:mic
Todd,
This:
> type="javax.sql.DataSource"/>
>
This:
>
This:
> global="resourceName"
> type="javax.sql.DataSource" />
This:
>
> DB Connection
> jdbc/dbname
> javax.sql.DataSource
> Container
>
And thi
--- Original Message -
> From: "Todd H. Siegel" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, March 24, 2004 10:12 PM
> Subject: No suitable driver
>
>
> > All,
> >
> > I know that this issue has been posted many times,
corrupted?
Driver jar goes in common/lib.
Doug
- Original Message -
From: "Todd H. Siegel" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 24, 2004 10:12 PM
Subject: No suitable driver
> All,
>
> I know that this issue has been posted many time
dbc:microsoft:sqlserver://*hostname*', cause: No suitable driver
In the interest of keeping this brief I won't include all of the config, but
I've tried putting the & definitions in the
element for the webapp in server.xml.
I've also put the & definitions in t
Hello Dan,
I finally got it to work.
The problem is that for directories in "webapps" a Context is
automatically created, even if it is already declared in server.xml. The
automatically created Contexts do NOT contain the context specific
configuration of server.xml. The outcome is that a) a c
Andreas,
Not sure if you got a response yet. Generally, when I have seen the
error above, it seemed to be coming from the web app saying that it
didn't get the parameters. I am fighting this same error. Strange
enough, though, I had it working as you have yours setup. Another thing
is that the
[EMAIL PROTECTED] wrote:
where did u put the jar?
thats what got me.
it needs to go in common\lib in your tomcat dir
Here is the content of common/lib
xxx:/opt/tomcat5# ls -la common/lib
total 3376
drwxr-xr-x2 tomcat5 nogroup 4096 Feb 11 17:07 .
drwxr-xr-x5 tomcat5 nogroup 409
04 2:51 PM
Subject: Re: org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC
driver of class '' for connect URL 'null', cause: java.sql.SQLException: No
suitable driver
> Andreas Schildbach wrote:
>
> > I get this error using Tomcat 5.0.18 under Debian/Linux. Using the same
> > co
Andreas Schildbach wrote:
I get this error using Tomcat 5.0.18 under Debian/Linux. Using the same
configuration under Windows XP, there is no problem. Using the same
application under Tomcat 4.1.27, there is no problem (either Linux or
Windows).
people that could not solve the problem, maybe there is a bug in Tomcat5?
Regards,
Andreas
org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of
class '' for connect URL 'null', cause:
java.sql.SQLException: No suitable driver
at java.sql.Dri
Cannot create JDBC
> driver of class '' for connect URL 'null', cause: No suitable driver
Hi Abhay,
here I had the same problem some time ago. I can't reproduce exactly
how we solved the problem, but we solved it ;-)
Here's a Context from my server.xml:
--Original Message-
> From: Kumar Abhay-CAK203C [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, February 03, 2004 10:11 AM
> To: 'Tomcat Users List'
> Subject: RE: No Suitable Driver Error -- Still No Success
> Importance: High
>
>
> This is my Web.xml
>
This is my Web.xml
jdbc/estimation
javax.sql.DataSource
Container
Abhay
-Original Message-
From: Mike Curwen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 03, 2004 10:03 AM
To: 'Tomcat Users List'
Subject: RE: No Suitable Driver Error -- Still
27;t have
Tomcat re-recognizing the resource after a hot redeploy. I'm still
working on it...
Jay
-Original Message-
From: Kumar Abhay-CAK203C [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 03, 2004 9:46 AM
To: [EMAIL PROTECTED]
Subject: No Suitable Driver Error -- Still No Success
; To: [EMAIL PROTECTED]
> Subject: No Suitable Driver Error -- Still No Success
> Importance: High
>
>
> Hi ,
>
> I am getting the following error in JDBC connection pooling.
> Error log and other details are as follows:
>
.factory.AdminFactor
y) - -->-->AdminFactory.getTestData()
**1**
**2**
**3**
Caught while creating a connection in EPP
dB:=org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class ''
for connect URL 'null', cause: No suitable driver
2004-02-
And crossContext="true" that I also had set to false.
- Terje
-Original Message-
From: Terje Hopsø [mailto:[EMAIL PROTECTED]
Sent: 3. juni 2003 22:22
To: 'Tomcat Users List'
Subject: RE: Database connection "No suitable driver"? SOLVED
It seems that
It seems that the problem was in I had
it false. Now it works fine in taglibs too.
Thanks for all help.
- Terje
-Original Message-
From: Terje Hopsø [mailto:[EMAIL PROTECTED]
Sent: 3. juni 2003 22:05
To: 'Tomcat Users List'
Subject: RE: Database connection "No
ic [mailto:[EMAIL PROTECTED]
Sent: 3. juni 2003 14:51
To: Tomcat Users List
Subject: Re: Database connection "No suitable driver"?
> Yes.
Then there is something wrong with JDBC URL you're using to connect. That
message is actually from DriverM
> Yes.
Then there is something wrong with JDBC URL you're using to connect. That message is
actually from DriverManager/DataSource code.
Nix.
I tried this now but I still get the same error.
- Terje
-Original Message-
From: John Moore [mailto:[EMAIL PROTECTED]
Sent: 3. juni 2003 00:41
To: 'Tomcat Users List'
Subject: RE: Database connection "No suitable driver"?
One other idea, we have the Resource a
Yes.
- Terje
-Original Message-
From: Nikola Milutinovic [mailto:[EMAIL PROTECTED]
Sent: 3. juni 2003 07:24
To: Tomcat Users List
Subject: Re: Database connection "No suitable driver"?
Your config looks fine. Have you placed Sybase's JDBC driver into
"${CATAL
Your config looks fine. Have you placed Sybase's JDBC driver into
"${CATALINA_HOME}/common/lib/"?
Nix.
Hopsø [mailto:[EMAIL PROTECTED]
Sent: Monday, June 02, 2003 3:12 PM
To: 'Tomcat Users List'
Subject: RE: Database connection "No suitable driver"?
It is there.
Tomcat version is 4.1.24.
- Terje
-Original Message-
From: John Moore [mailto:[EMAIL PROTECTED]
Sent: 3
It is there.
Tomcat version is 4.1.24.
- Terje
-Original Message-
From: John Moore [mailto:[EMAIL PROTECTED]
Sent: 3. juni 2003 00:05
To: 'Tomcat Users List'
Subject: RE: Database connection "No suitable driver"?
We also put jdbc2_0-stdext.jar in th
We also put jdbc2_0-stdext.jar in the common/lib directy.
-Original Message-
From: Terje Hopsø [mailto:[EMAIL PROTECTED]
Sent: Monday, June 02, 2003 2:54 PM
To: 'Tomcat Users List'
Subject: Database connection "No suitable driver"?
Hello,
I have to ask yo
Hello,
I have to ask you once again. I have tried to get a connection to my
Sybaseserver. I get "no suitable driver" when trying to connect. Do anyone
have a suggestion on what is wrong. Sybase driver file jconn2.jar is placed
under $CATALINA/common/lib.
It is a long mail but I h
sers List" <[EMAIL PROTECTED]>
Sent: Wednesday, August 28, 2002 5:14 PM
Subject: RE: DB2 DataSource: No suitable driver
Try renaming the .zip file to .jar and try again. Others have suggested
this for the Oracle drivers.
Roger Whitcomb
Computer Associates
Senior Software Engineer
Devel
essage-
From: Vance Christiaanse [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 28, 2002 2:01 PM
To: [EMAIL PROTECTED]
Subject: DB2 DataSource: No suitable driver
Hello, Tomcat fans,
I am using Tomcat 4.0.4 and can't get a DataSource working
with DB2.
My attempts result in "No suit
Hello, Tomcat fans,
I am using Tomcat 4.0.4 and can't get a DataSource working
with DB2.
My attempts result in "No suitable driver", as detailed below.
I have tried everything I've seen suggested for
this problem, as the following steps indicate.
Any help would be much app
That's what it sounds like. For some reason your bean class can't see the
driver.
Tim
-Original Message-
From: Meichun Li [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 17, 2002 12:20 PM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: RE: No suitable driver
On Wed, 17 Jul
esday, July 17, 2002 12:01 PM
> To: Tomcat Users List
> Subject: No suitable driver
>
> Hi, I am suing Oreilly books wrapper class for connection pool. It works
> fine in the servlet class while I created a datasource using
> ds = new DataSourceWrapper(jdbcDriverClassName, jdbc
On Wed, 17 Jul 2002, Simon Jenkinson wrote:
> have you tried:
>
> Class.forName("org.gjt.mm.mysql.Driver").newInstance();
>
> Si
Yes, I have tried it. But I still get the same error: No suitable driver.
Thanks,
Meichun
>
> -Original Message-
>
have you tried:
Class.forName("org.gjt.mm.mysql.Driver").newInstance();
Si
-Original Message-
From: The Kelley's [mailto:[EMAIL PROTECTED]]
Sent: 17 July 2002 17:17
To: Tomcat Users List
Subject: RE: No suitable driver
I had a problem somewhat simular to that.
Make
e:
ds = new DataSourceWrapper(jdbcDriverClassName, jdbcURL, dbUserName,
dbUserPassword);
No problem while compiling. But there is run time error: No suitable
driver.
I print the stack error in the end of the message.
There should be no problem in the classpath setting. I tried to find the
driver i
= new DataSourceWrapper(jdbcDriverClassName, jdbcURL, dbUserName,
dbUserPassword);
No problem while compiling. But there is run time error: No suitable
driver.
I print the stack error in the end of the message.
There should be no problem in the classpath setting. I tried to find the
driver i
, 2002 7:00 AM
To: [EMAIL PROTECTED]
Subject: tomcat 4.0.4, JNDI, Datasource.getConnection() -> No suitable
driver, [Oracle]
Greetings,
I'm moving a webservice from tomcat 4.1.2 (WSDP 1.0) --> tomcat 4.0.4
because I want to go to production environment and instead of using the
tomcat b
! I'm
getting an exception "java.sql.SQLException: No suitable driver" when I
try to get a connection from datasource:
ds = (DataSource)initCtx.lookup("java:comp/env/jdbc/crumpetdb");
ds.getConnection(); //EXCEPTION!!
It appears that tomcat 4.0.4 uses tyrex connectio
--
From: Jacob Kjome [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 28, 2002 8:05 PM
To: Tomcat Users List
Subject: RE: tomcat 4.0.3 and No suitable driver SQLException
Some of the parameter names seem to have changed. I suggest grabbing a
recent nightly build of Tomcat 4.1 and following
TECTED]]
> Gesendet: Dienstag, 28. Mai 2002 19:00
> An: 'Tomcat Users List'
> Betreff: tomcat 4.0.3 and No suitable driver SQLException
>
>
> driverClassName
> com.sybase.jdbc2.jdbc.SybDriver
>
> url
>
-
>From: Chen, Dean (Zhun)
>Sent: Tuesday, May 28, 2002 1:00 PM
>To: 'Tomcat Users List'
>Subject: tomcat 4.0.3 and No suitable driver SQLException
>
>
>Hi,
>
>I know this has been covered before, and I've searched the archives, but
>none of the solu
not.
Thanks,
Dean Chen
-Original Message-
From: Chen, Dean (Zhun)
Sent: Tuesday, May 28, 2002 1:00 PM
To: 'Tomcat Users List'
Subject: tomcat 4.0.3 and No suitable driver SQLException
Hi,
I know this has been covered before, and I've searched the archives, but
none of
h
That getConnection() part throws a SQLException....
java.sql.SQLException: No suitable driver
at java.sql.DriverManager.getDriver(DriverManager.java:243)
at
tyrex.jdbc.xa.EnabledDataSource.getConnection(EnabledDataSource.java:233)
at
tyrex.jdbc.xa.EnabledDataSource.
Sorry for the spam,and for my english but after 3 days I have not solution:
Classes12.jar is in common/lib
When I use a datasource for oracle driver, it doesn't works--> No
suitable Driver . But if I use a classical connection like this:
String url="jdbc:oracle:thin:@**.**.**.**
>
>>-Original Message-
>>From: remy.menetrieux [mailto:[EMAIL PROTECTED]]
>>Sent: Tuesday, February 19, 2002 7:51 AM
>>To: Tomcat Users List
>>Subject: No suitable driver Datasource Problem
>>
>>
>>When I use a datasource I obtain this error.
&g
L PROTECTED]]
> Sent: Tuesday, February 19, 2002 7:51 AM
> To: Tomcat Users List
> Subject: No suitable driver Datasource Problem
>
>
> When I use a datasource I obtain this error.
> But when i use same option directly in my servelt all is OK.
> Have you se
When I use a datasource I obtain this error.
But when i use same option directly in my servelt all is OK.
Have you seen this errors ???
regards
Remy
Java.sql.SQLException: No suitable driver at
java.sql.DriverManager.getDriver(DriverManager.java:249) at
ver class? Just
> putting it in your classpath doesn't mean that it gets loaded. To me, it
> would appear that the "no suitable driver" when you're trying to connect to
> the database would mean that DriverManager.getConnection can't find a
> suitable JDBC driver ;
8 AM
To: [EMAIL PROTECTED]
Subject: Re: javax.servlet.ServletException: No suitable driver
I always wish I was better with JDBC, but I never manage to find the time to
get down with it... Anyway, did you load the JDBC driver class? Just
putting it in your classpath doesn't mean that it gets load
I always wish I was better with JDBC, but I never manage to find the time to
get down with it... Anyway, did you load the JDBC driver class? Just
putting it in your classpath doesn't mean that it gets loaded. To me, it
would appear that the "no suitable driver" when you're
> Tomcat, Apache and MySQL are basically working fine
> I am trying to use MM.MySQL for JDBC connectivity to MySQL.
> my CLASSPATH is /usr/local/src/jdk1.2.2/lib/mm.mysql-2.0.4-src.jar
> This is the log that I have:
>
> jav
/lib/mm.mysql-2.0.4-src.jar
This is the log that I have:
javax.servlet.ServletException: No suitable driver
at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:459)
at
jsp._0002fjsp_0002ftest_0002ejsptest_jsp_7._jspService(_0002fjsp_0002ftest_0
- Hari.
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 01, 2001 9:57 PM
Subject: No suitable driver
Hi!
Thank you, Cory.
I've got another problem after enclosing the variables in quotes:
---
1 - 100 of 123 matches
Mail list logo