Is it mandatory to put the JDBC drivers in the common/lib? Or can I
put the JDBC drivers in each context's WEB-INF/lib? As long as I can
remember I read somewhere that these drivers most be placed in the
common/lib directory cause otherwise it introduces class loader
problems. But what if I have
if you are using jndi, i think they have to be in common/lib. If not,
they can go in WEB-INF/lib instead.
Larry
On Sat, 19 Feb 2005 02:42:35 +0330, Behrang Saeedzadeh
[EMAIL PROTECTED] wrote:
Is it mandatory to put the JDBC drivers in the common/lib? Or can I
put the JDBC drivers in each
don't know older releases
though..
/tb.
-Ursprungliche Nachricht-
Von: Tuncay Baskan [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 10. November 2004 00:30
An: Tomcat Users List
Betreff: Re: comparison of Type 4 JDBC drivers
On Wed, 10 Nov 2004 12:18:20 +1300, Craig Collings
distribution agreement and a lot of money.
Many thanks,
Al G
- Original Message -
From: Tuncay Baskan [EMAIL PROTECTED]
Date: Tuesday, November 9, 2004 5:29 pm
Subject: Re: comparison of Type 4 JDBC drivers
On Wed, 10 Nov 2004 12:18:20 +1300, Craig Collings
[EMAIL PROTECTED] wrote
:[EMAIL PROTECTED]
Gesendet: Mittwoch, 10. November 2004 00:30
An: Tomcat Users List
Betreff: Re: comparison of Type 4 JDBC drivers
On Wed, 10 Nov 2004 12:18:20 +1300, Craig Collings
[EMAIL PROTECTED] wrote:
Interesting.
I'm using com.microsoft.jdbc.sqlserver.SQLServerDriver
which
Interesting.
I'm using com.microsoft.jdbc.sqlserver.SQLServerDriver which is a type 4
driver and I am also getting ex VM errors:
any ideas?
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc005) occurred at
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 09, 2004 4:18 PM
To: tomcat-user ([EMAIL PROTECTED])
Subject: RE: comparison of Type 4 JDBC drivers
Interesting.
I'm using com.microsoft.jdbc.sqlserver.SQLServerDriver which is a type 4
driver and I am also getting ex VM errors:
any ideas
On Wed, 10 Nov 2004 12:18:20 +1300, Craig Collings
[EMAIL PROTECTED] wrote:
Interesting.
I'm using com.microsoft.jdbc.sqlserver.SQLServerDriver which is a type 4
driver and I am also getting ex VM errors:
any ideas?
I don't know if it's helps.. We tried to use Microsoft JDBC drivers
if it's helps.. We tried to use Microsoft JDBC
: drivers in our applications but because of its troubles we
: decided to use jTds, which is a but rock-solid free driver..
:
: You can get it from http://jtds.sourceforge.net/.
:
: --
: /tb
if it's helps.. We tried to use Microsoft JDBC drivers in
our applications but because of its troubles we decided to use jTds,
which is a but rock-solid free driver..
You can get it from http://jtds.sourceforge.net/.
I don't do SQLServer at all, but a friend who has a J2EE app
using SQLServer
When I move my datasource definition to the web.xml file for my webapp, I get nothing.
When I use
the Tomcat manager app and drill down into Service-Host-Context
(testapp1)-Resource-DataSources I see my jdbc/MysqlTest1 datasource defined but all
the
parameters associated with it are blank.
I think I see the problem...
Those 2 definitions need to be over in your context.xml. Context.xml is
located in META-INF/context.xml It appears you have the definitions in
web.xml within WEB-INF/web.xml, which I believe is incorrect.
Bob
On Wednesday 22 September 2004 02:19 pm, Chuck
I am starting to build an application using Tomcat 5.0x and am having problems getting
the
connection pool setup. Should I be using the 3.x or 2.x Mysql drivers?
The 2 files I have downloaded are:
mysql-connector-java-2.0.14.tar.gz
mysql-connector-java-3.0.15-ga.tar.gz
I am currently trying to
we are using a combination of 3.0.8-stable and 3.0.14-production on our
servers. The jar files are placed into the same folder you have placed
yours.
What connect string are you using?
Bob
On Monday 20 September 2004 05:48 pm, Chuck Carson wrote:
I am starting to build an application using
--- Robert Bateman [EMAIL PROTECTED] wrote:
we are using a combination of 3.0.8-stable and 3.0.14-production on our
servers. The jar files are placed into the same folder you have placed
yours.
What connect string are you using?
Bob
I am basically just trying to setup a connection
Chuck,
I think you need to move your connection pooling over to your context.xml at
the web application level. Here is my pool definition from one of my apps:
Resource name=jdbc/MySQL_Sequoia_Admin
scope=Shareable
type=javax.sql.DataSource/
ResourceParams
--- Robert Bateman [EMAIL PROTECTED] wrote:
Chuck,
I think you need to move your connection pooling over to your context.xml at
the web application level. Here is my pool definition from one of my apps:
Resource name=jdbc/MySQL_Sequoia_Admin
scope=Shareable
I have an old JDBC driver for a Legacy Data Base that I'm attempting to access
in Tomcat 5.0.25.
When I attempt to call DriverManager.getConnection() on my legacy Data Base, I
get the following log (some snipped to make it easier to read...)
2004-06-30 12:22:02 StandardWrapperValve[jsp]:
Almost forgot to note, once I get the access error, I can no longer talk to
Tomcat (it's looking for access to 127.0.0.1:35479)
Bob
On Wednesday 30 June 2004 12:32 pm, Robert Bateman wrote:
I have an old JDBC driver for a Legacy Data Base that I'm attempting to
access in Tomcat 5.0.25.
When
Thanks Yoav for the suggestion!
Can anyone point me to a comparison of Type 4 JDBC drivers supporting MS SQL Server
and DB2 for the windows and IBM mainframe (Z_OS) linux platforms?
thanks...gary...
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Thursday, March
This is more of an informative e-mail than a problem. I was using the
mssqlserver jdbc drivers on both Solaris and Linux platforms. The web
application is using lots of @@Identity and inserts into the database.
There was an instance to test some stuff that I was attempting lots of
inserts ( more
Hi:
I am using Apache 1.3.26 + JBoss + Tomcat on my Web/APP Server and Oracle
9.1 on DB Server.
I installed JDBC Drivers ojdbc14.jar, classes12.jar, nls_charset111.jar on
my APPLICATION Server and SET the CLASSPATH accordingly.
What all need to be done as far as this is concerned?
When I run
Howdy,
A few things.
I installed JDBC Drivers ojdbc14.jar, classes12.jar, nls_charset111.jar
on
Why both ojdbc14.jar and classes12.jar? If you're connecting to an
Oracle 9.1 database, you don't want classes12.jar in there. These two
jars have some overlapping classnames which will cause
, February 19, 2003 12:18 PM
To: Tomcat Users List
Subject: RE: JDBC Drivers Exception ...
Howdy,
A few things.
I installed JDBC Drivers ojdbc14.jar, classes12.jar, nls_charset111.jar
on
Why both ojdbc14.jar and classes12.jar? If you're connecting to an
Oracle 9.1 database, you don't want
PROTECTED]
Subject: RE: JDBC Drivers Exception ...
Date: Wed, 19 Feb 2003 15:17:48 -0500
Howdy,
A few things.
I installed JDBC Drivers ojdbc14.jar, classes12.jar, nls_charset111.jar
on
Why both ojdbc14.jar and classes12.jar? If you're connecting to an
Oracle 9.1 database, you don't want
Excellent. This worked for me. Thanks! Several of the parameters were
different than expected, and I think it was the driverName parameter that
was the key.
I recommend that this set-up example get added to
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html,
I've anyone's successfully configured Tomcat to use Microsoft's JDBC driver
package (i.e., com.microsoft.jdbcx.sqlserver) as a Tomcat Resource, for
creating connections via DataSource, I'd love to hear from you. I've
gotten their driver to work via the DriverManager path, but via a
DataSource am
The environment is :
Tomcat 4.0
Windows 2000 pro
SQL Server 2000
JDBC drivers from the MS site
Good Luck
Pierre-Laurent
Kevin J. Lacobie wrote:
I've anyone's successfully configured Tomcat to use Microsoft's JDBC driver
package (i.e., com.microsoft.jdbcx.sqlserver) as a Tomcat Resource
Zip and Jar are the same format. Simply rename .zip to .jar and use it.
Tomcat ignores .zip.
-Mensaje original-
De: hari hari [mailto:[EMAIL PROTECTED]]
Enviado el: miércoles, 25 de septiembre de 2002 0:13
Para: [EMAIL PROTECTED]
Asunto: Re: Oracle JDBC Drivers on Tomcat
hi
Jar version. And driver jar must be copied in the TOMCAT_HOME/common/lib so
that it can be shared between your web applications and tomcat internal
classes.
Raj
You need to rename the zip file to jar file. Servlets specification (so
tomcat too) only accept .jar.
Regards
-Mensaje original-
De: Tam, Michael [mailto:[EMAIL PROTECTED]]
Enviado el: miércoles, 25 de septiembre de 2002 1:10
Para: 'Tomcat Users List'
Asunto: RE: Oracle JDBC Drivers
hi every1,
i using java servlets to connect to my Oracle db. I get the
jdbc-drivers and installed into app server and included in my classpath.
these drivers are in zip format - do I need to extract them or will they do
fine just with zip?
--HARI
It works fine for me as in .zip extension.
Cheers,
Michael
-Original Message-
From: hari hari [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 24, 2002 1:25 PM
To: [EMAIL PROTECTED]
Subject: Oracle JDBC Drivers on Tomcat
hi every1,
i using java servlets to connect to my Oracle db
:[EMAIL PROTECTED]]
Sent: Tuesday, September 24, 2002 1:25 PM
To: [EMAIL PROTECTED]
Subject: Oracle JDBC Drivers on Tomcat
hi every1,
i using java servlets to connect to my Oracle db. I get the
jdbc-drivers and installed into app server and included in my classpath.
these drivers are in zip
hi there,
thanks for replying. Do we need ZIP version or JAR version of JDBC Drivers
on Tomcat...?
thks.
--HARI
From: [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: Oracle JDBC Drivers on Tomcat
Date: Tue, 24 Sep 2002 16
Oracle JDBC driver comes as ZIP and so you leave it as it is.
Cheers,
Michael
-Original Message-
From: hari hari [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 24, 2002 3:13 PM
To: [EMAIL PROTECTED]
Subject: Re: Oracle JDBC Drivers on Tomcat
hi there,
thanks for replying. Do we
jar files are the .zip format. So, grab the .zip file and rename it to
.jar, then put it in common/lib and you are good to go.
Jake
At 10:13 PM 9/24/2002 +, you wrote:
hi there,
thanks for replying. Do we need ZIP version or JAR version of JDBC Drivers
on Tomcat...?
thks.
--HARI
Hello,
If I include a JAR file for a JDBC driver within my webapp's /WEB-INF/lib
path, calling Class.forName(some.driver) registers the driver with the
java.sql DriverManager. No problem... until I reload the context using the
/manager webapp.
Is the class definition (and in particular, the
a reload will not affect it.
Charlie
-Original Message-
From: Chris Brown [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 23, 2002 3:57 AM
To: tomcat-user
Subject: Classloaders, JDBC drivers (etc.), and reloading webapps with
the /manager
Hello,
If I include a JAR file
Hi guys and gals,
Could someone give me advice on the best (and free if possible) sql server
drivers to use in my tomcat servlets? The sql server I have available is a
MySql server or a MS SQL Server should I need it.
Thanks,
SS
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For
-
From: Stuart Stephen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 11, 2002 11:52 AM
To: [EMAIL PROTECTED]
Subject: JDBC Drivers
Hi guys and gals,
Could someone give me advice on the best (and free if possible) sql server
drivers to use in my tomcat servlets? The sql server I have available
http://mmmysql.sourceforge.net/
-Original Message-
From: Stuart Stephen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 11, 2002 10:52 AM
To: [EMAIL PROTECTED]
Subject: JDBC Drivers
Hi guys and gals,
Could someone give me advice on the best (and free if possible) sql server
drivers
It is still true.
Did you find another drivers to replace them???
Thanx
Arno.
-Message d'origine-
De: Power-Netz (Schwarz) [SMTP:[EMAIL PROTECTED]]
Date: mardi 4 juin 2002 10:29
A: tomcat liste
Objet: Oracle JDBC Drivers not fully working
Hi,
last time i tried oracle, i
It is still true.
Did you find another drivers to replace them???
No. I had to work around it.
But I didn't searched the whole internet for it ;)
M.Schwarz
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Hi,
last time i tried oracle, i found that serveral extremly nice functions
about traversing a
resultset, are not implemented in the oracle drivers. They just throw
SQL-exceptions.
Be prepared for it :-)
POWER-NETZ®
Full-Service-Provider
Online-Support:
Support: 0190 - 15 11
I don't know if I should post this here or not but here goes
I am trying to connect to an oracle DB using a thin connection.
I have downloaded the classes12.zip file and put it in
$TOMCAT_HOME/common/lib but I am getting a
java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleDriver
Do I
rename the zip to .jar
-Original Message-
From: Richard Johnstone
[mailto:[EMAIL PROTECTED]]
Sent: 16. apríl 2002 09:34
To: [EMAIL PROTECTED]
Subject: JDBC Drivers
I don't know if I should post this here or not but here goes
I am trying to connect to an oracle DB using a thin
I suppose you have to change the name of 'classes12.zip' file to
'classes12.jar'.
Teemu Keiski
-Original Message-
From: Richard Johnstone
[mailto:[EMAIL PROTECTED]]
Sent: 16. huhtikuuta 2002 12:34
To: [EMAIL PROTECTED]
Subject: JDBC Drivers
I don't know if I should post this here
To: Tomcat Users List
Subject: RE: JDBC Drivers
I suppose you have to change the name of 'classes12.zip' file to
'classes12.jar'.
Teemu Keiski
-Original Message-
From: Richard Johnstone
[mailto:[EMAIL PROTECTED]]
Sent: 16. huhtikuuta 2002 12:34
To: [EMAIL PROTECTED]
Subject: JDBC Drivers
Thats fixed it.
Cheers Matey
[EMAIL PROTECTED] 04/16/02 10:27am
rename the zip to .jar
-Original Message-
From: Richard Johnstone
[mailto:[EMAIL PROTECTED]]
Sent: 16. apríl 2002 09:34
To: [EMAIL PROTECTED]
Subject: JDBC Drivers
I don't know if I should post this here
All,
The JDBC drivers provided by Oracle are zipped but as I understand it, only
jar files are recognised. Is this correct? If so, I guess I'll have to unzip
and then jar? I'm using TC 4 on Solaris 8.
Thanks,
John
Quote for the week:
The men with the muck-rakes are often indispensable
, 2002 8:35 AM
To: Tomcat Users List (E-mail)
Subject: JDBC drivers
All,
The JDBC drivers provided by Oracle are zipped but as I
understand it, only
jar files are recognised. Is this correct? If so, I guess
I'll have to unzip
and then jar? I'm using TC 4 on Solaris 8.
Thanks
just rename the file, you don't have unzip and rejar it (a jar is a zip
file..)
Mvgr
Martin
-Original Message-
From: John Wadkin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 24, 2002 14:35
To: Tomcat Users List (E-mail)
Subject: JDBC drivers
All,
The JDBC drivers
I found some JDBC drivers for accesing an IBM AS400
But I can't get them to work within the browser environment. I placed an
entry in my system variables
Name: CLASSPATH
Value: loacation of JDBC.jar file;location of JDBC license.jar
(in windows is CLASSPATH = Path???)
The Drivers came
Message-
From: Mike Kelley [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 28, 2001 6:53 PM
To: [EMAIL PROTECTED]
Subject: Where to place JDBC drivers? How?
I found some JDBC drivers for accesing an IBM AS400
But I can't get them to work within the browser environment. I placed an
entry in my
the worker,
wrapper etc ...
-Original Message-
From: Barney Hamish [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 28, 2001 11:07 AM
To: 'Tomcat Users List'
Subject: RE: Where to place JDBC drivers? How?
You need to make sure you put a reference to the driver location in your
[mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 28, 2001 11:07 AM
To: 'Tomcat Users List'
Subject: RE: Where to place JDBC drivers? How?
You need to make sure you put a reference to the driver location in your
class_path variable. Where you need to do this depends on how you're running
tomcat
, 2001 7:09 PM
To: 'Tomcat Users List'
Subject: RE: Where to place JDBC drivers? How?
I have a reference in the environment variables (should the name be
CLASSPATH? Or is it an addition to the Path variable??)
I'm also finding a few references to putting the jar JDBC files in the
WEB-INF folder
PROTECTED]]
Sent: Wednesday, November 28, 2001 11:19 AM
To: 'Tomcat Users List'
Subject: RE: Where to place JDBC drivers? How?
It needs to be in the Classpath variable so that the jar file can be found.
You can add it to the WEB-INF folder but then you will have to put a copy of
the driver in the WEB-INF
, November 28, 2001 11:29 AM
To: 'Tomcat Users List'
Subject: RE: Where to place JDBC drivers? How?
Yeah, I'm not afraid of editing the files, as you said that easy enough,
yours was the first to suggest editing those files though ... The drivers
came with some JSP HTML pages that are supposed
: Mike Kelley [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Wednesday, November 28, 2001 02:02 PM
Subject: RE: Where to place JDBC drivers? How? SOLUTION FOUND!
(for my tower of cards at least)
I'm new to all this and this is probably not the best solution BUT
Placing my new
Development
-Original Message-
From: Mike Kelley [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 28, 2001 2:03 PM
To: 'Tomcat Users List'
Subject: RE: Where to place JDBC drivers? How? SOLUTION FOUND!
(for my tower of cards at least)
I'm new to all this and this is probably
Message-
From: Mike Kelley [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 28, 2001 2:03 PM
To: 'Tomcat Users List'
Subject: RE: Where to place JDBC drivers? How? SOLUTION FOUND!
(for my tower of cards at least)
I'm new to all this and this is probably not the best solution BUT
Placing my
), ALSVC [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, November 28, 2001 02:26 PM
Subject: RE: Where to place JDBC drivers? How? SOLUTION FOUND!
But what about those of us who use the Oracle JDBC driver as part of the
Oracle client install in /oracle/product
Go to www.oracle.com
Dimiter
, 2001 3:04 PM
To: Tomcat-user Mailinglist
Subject: JDBC Drivers
I'm looking for a JDBC Driver for an Oracle Database. I have found some on
the java.sun.com. But I don't know wich one I need. It is for a simple
application.
Can anyone help?
Dennis
Make a difference, help support the relief efforts
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 23, 2001 9:04 AM
To: Tomcat-user Mailinglist
Subject: JDBC Drivers
I'm looking for a JDBC Driver for an Oracle Database. I have found some on
the java.sun.com. But I don't know wich one I need. It is for a simple
application.
Can anyone help?
Dennis
Hello,
You can find a Type-4 JDBC driver for Oracle 8i on Oracle web site called
classes12.zip.
Cheers,
- Shiv.
The Duke wrote:
I'm looking for a JDBC Driver for an Oracle Database. I have found some on the
java.sun.com. But I don't know wich one I need. It is for a simple application.
Hi,
you can find the classes at the ORACLE web-site; it's called
classes12.zip.
for use with TOMCAT rename it to classes12.jar.
Hth
Peter
The Duke wrote:
I'm looking for a JDBC Driver for an Oracle Database. I have found some on the
java.sun.com. But I don't know wich one I need. It is for
I'm struggling to get the JDBC-JNDI-Tyrex connection pool working with
the Netdirect JDBC driver and I keep getting a cast exception error
java.lang.ClassCastException: tyrex.jdbc.xa.EnabledDataSource
I configured the JBDC according to the Tomcat 4.0 docs, but I must be
missing
I am looking for goodcheap (free if possible) JDBC drivers for SQL server.
Randy, you told me inetsoftware.de make good drivers. Maybe we will opt for
this cie but their prices range from USD 200 to 400... Its expensive for
mere drivers (are JDBC drivers so difficult to develop?)
And i
www.easysoft.com
Alexandre Bouchard wrote:
I am looking for goodcheap (free if possible) JDBC drivers for SQL server.
Randy, you told me inetsoftware.de make good drivers. Maybe we will opt for
this cie but their prices range from USD 200 to 400... Its expensive for
mere drivers (are JDBC
:
I am looking for goodcheap (free if possible) JDBC drivers for SQL server.
Randy, you told me inetsoftware.de make good drivers. Maybe we will opt for
this cie but their prices range from USD 200 to 400... Its expensive for
mere drivers (are JDBC drivers so difficult to develop?)
And i
tabaseName?user=dbuserpassword=dbpassword");
put the jdbc drivers in the classes folder of your
app like:
cp -Rf $JDBC_HOME/org $MYAPP_HOME/WEB-INF/classes
I tried this but I still get the same error...
Is there any other configuration to the web.xml?
I'm having a similar problem getting
74 matches
Mail list logo