Re: Where do I put the oracle jdbc driver?

2002-05-20 Thread Gearoid Coughlan

Hi,

Drop the driver into $TOMCAT_HOME/common/lib then all apps will be able to 
use it.

--g



On Sunday 19 May 2002 18:07, you wrote:
 I have problems making Tomcat find the jdbcdriver which i downloaded from
 Oracle.

 I have put the driver (classes12.zip) into $JAVA_HOME/lib and renamed it
 classes12.jar.
 In /etc/profile I have added:
 CLASSPATH=$CLASSPATH:$JAVA_HOME/lib/classes12.jar; export CLASSPATH

 My system config is:
 RedHat 7.3
 jdk1.4.0
 Oracle 9.0.1
 Tomcat 4.0.3

 I have tried putting classes12.jar in $TOMCAT_HOME/lib, but with the same
 amount of success...

 Anyone who can help me out on this one?


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Where do I put the oracle jdbc driver?

2002-05-20 Thread Tore Skogly

mandag 20. mai 2002, 03:18, skrev Jack Hermanto:
 Put it on
 - $TOMCAT_HOME/server/lib if you need the JDBC
   available only for tomcat server.
 - $TOMCAT_HOME/common/lib if you need JDBC available for both
   server and application.

 Notes: Tomcat class loader only recognize .jar file,
so rename the JDBC's extension to .jar.



Thanks for your response, but it didn't help me getting Tomcat to find the 
jdbc drivers
I downloaded and installed the 9i drivers from Oracle.
Trying to connect to a mysql database having its jdbc drivers in the same 
directory as the oracle drivers works like it is supposed to...
I will try the oracle 8.1.7 drivers and use the patch to make them work on 9i.

Anyone with suggestions on what migth be the problem with my configuration?

-- 
regards,
Tore Skogly


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Where do I put the oracle jdbc driver?

2002-05-19 Thread Tore Skogly

I have problems making Tomcat find the jdbcdriver which i downloaded from 
Oracle.

I have put the driver (classes12.zip) into $JAVA_HOME/lib and renamed it 
classes12.jar.
In /etc/profile I have added:
CLASSPATH=$CLASSPATH:$JAVA_HOME/lib/classes12.jar; export CLASSPATH

My system config is:
RedHat 7.3
jdk1.4.0
Oracle 9.0.1
Tomcat 4.0.3

I have tried putting classes12.jar in $TOMCAT_HOME/lib, but with the same 
amount of success...

Anyone who can help me out on this one?

-- 
regards, 
Tore Skogly

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Where do I put the oracle jdbc driver?

2002-05-19 Thread Felipe R. Lorenzo VI


To use it on a single Web Application, try:  WEB-INF/lib


frlvi




5/19/02 10:07:12 AM, Tore Skogly [EMAIL PROTECTED] wrote:

I have problems making Tomcat find the jdbcdriver which i downloaded from 
Oracle.

I have put the driver (classes12.zip) into $JAVA_HOME/lib and renamed it 
classes12.jar.
In /etc/profile I have added:
CLASSPATH=$CLASSPATH:$JAVA_HOME/lib/classes12.jar; export CLASSPATH

My system config is:
RedHat 7.3
jdk1.4.0
Oracle 9.0.1
Tomcat 4.0.3

I have tried putting classes12.jar in $TOMCAT_HOME/lib, but with the same 
amount of success...

Anyone who can help me out on this one?

-- 
regards, 
Tore Skogly

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]





--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Where do I put the oracle jdbc driver?

2002-05-19 Thread Tore Skogly

mandag 20. mai 2002, 10:52, skrev Felipe R. Lorenzo VI:
 To use it on a single Web Application, try:  WEB-INF/lib


 frlvi


The jdbc drivers will be used by several applications.
What location does that require? $TOMCAT_HOME/lib (ie /var/tomcat4/lib)
Do I need to add the jar file to my CLASSPATH in /etc/profile?

-- 
regards,
Tore Skogly

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Where do I put the oracle jdbc driver?

2002-05-19 Thread Jack Hermanto

Put it on 
- $TOMCAT_HOME/server/lib if you need the JDBC 
  available only for tomcat server.
- $TOMCAT_HOME/common/lib if you need JDBC available for both
  server and application.

Notes: Tomcat class loader only recognize .jar file,
   so rename the JDBC's extension to .jar.



Jack Hermanto
Java Software Engineer

PT Mitrais
World Class Software Development Center
Jl. Kediri/Ksatria 38 Kuta - Bali
Ph.: +62 361 755025, Fax: +62 361 755024
http://www.mitrais.com
~~~
This transmission is for the intended addresses only and is 
confidential information. If you have received this 
transmission in error, please delete it and notify the sender. 
The contents of this E-mail are the opinion of the writer 
only and are not endorsed by PT Mitrais unless expressly 
stated otherwise.
~~~




 -Original Message-
 From: Tore Skogly [mailto:[EMAIL PROTECTED]]
 Sent: Monday, May 20, 2002 5:30 AM
 To: Tomcat Users List
 Subject: Re: Where do I put the oracle jdbc driver?
 
 
 mandag 20. mai 2002, 10:52, skrev Felipe R. Lorenzo VI:
  To use it on a single Web Application, try:  WEB-INF/lib
 
 
  frlvi
 
 
 The jdbc drivers will be used by several applications.
 What location does that require? $TOMCAT_HOME/lib (ie 
 /var/tomcat4/lib)
 Do I need to add the jar file to my CLASSPATH in /etc/profile?
 
 -- 
 regards,
 Tore Skogly
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]