By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,782 Members | 1,154 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,782 IT Pros & Developers. It's quick & easy.

Oracle JDBC Driver - Where should I put

P: n/a
Dear all,

Could you please advise where should I put the Oracle JDBC driver
(classes12.zip or classes12.jar) under Windows XP with Tomcat 4.1? Do I
need to set classpath?

Many thanks.

Kevin.
Jul 17 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
It can go in a number of places. If you're deploying your component as a
servlet it should go in C:\yourTomcatHome\WEBAPPS\yourWebApp\WEB-INF\lib
(1st Choice)

It could also go in C:\yourTomcatHome\lib (2nd Choice)

It could also go in C:\yourJavaHome\jre\lib\ext (Not recommended)

Kevin wrote:
Dear all,

Could you please advise where should I put the Oracle JDBC driver
(classes12.zip or classes12.jar) under Windows XP with Tomcat 4.1? Do I
need to set classpath?

Many thanks.

Kevin.


Jul 17 '05 #2

P: n/a

"kevinc" <ke****@elp.rr.com> escribió en el mensaje
news:R2*******************@twister.austin.rr.com.. .
It can go in a number of places. If you're deploying your component as a
servlet it should go in C:\yourTomcatHome\WEBAPPS\yourWebApp\WEB-INF\lib
(1st Choice)

It could also go in C:\yourTomcatHome\lib (2nd Choice)

It could also go in C:\yourJavaHome\jre\lib\ext (Not recommended)

Kevin wrote:
Dear all,

Could you please advise where should I put the Oracle JDBC driver
(classes12.zip or classes12.jar) under Windows XP with Tomcat 4.1? Do I
need to set classpath?

Many thanks.

Kevin.


Tomcat 4.1. doesn't have C:\yourTomcatHome\lib folder. The exact folder is
C:\yourTomcatHome\common\lib and rename del zip file to a jar file.

Jul 17 '05 #3

P: n/a
I think the readers got the general idea.

Fran wrote:
"kevinc" <ke****@elp.rr.com> escribió en el mensaje
news:R2*******************@twister.austin.rr.com.. .
It can go in a number of places. If you're deploying your component as a
servlet it should go in C:\yourTomcatHome\WEBAPPS\yourWebApp\WEB-INF\lib
(1st Choice)

It could also go in C:\yourTomcatHome\lib (2nd Choice)

It could also go in C:\yourJavaHome\jre\lib\ext (Not recommended)

Kevin wrote:
Dear all,

Could you please advise where should I put the Oracle JDBC driver
(classes12.zip or classes12.jar) under Windows XP with Tomcat 4.1? Do I
need to set classpath?

Many thanks.

Kevin.


Tomcat 4.1. doesn't have C:\yourTomcatHome\lib folder. The exact folder is
C:\yourTomcatHome\common\lib and rename del zip file to a jar file.



Jul 17 '05 #4

P: n/a
I have some additional comments to kevinc's answer.

kevinc wrote:
It can go in a number of places. If you're deploying your component as a
servlet it should go in C:\yourTomcatHome\WEBAPPS\yourWebApp\WEB-INF\lib
(1st Choice)
That is: the jar file can only be seen by your web application. Other web
applications and java programs can not see it.
It could also go in C:\yourTomcatHome\lib (2nd Choice)
That is: the jar file can be seen by every other web application deployed in
Tomcat.
It could also go in C:\yourJavaHome\jre\lib\ext (Not recommended)


That is: the jar file can be seen by every java program

--
Jonas Kongslund
Jul 17 '05 #5

P: n/a
Dear All,

Thanks so much for your valuable information!

Kevin

"Jonas Kongslund" <do**@mail.me.at.all> wrote in message
news:bI*****************@news.get2net.dk...
I have some additional comments to kevinc's answer.

kevinc wrote:
It can go in a number of places. If you're deploying your component as a
servlet it should go in C:\yourTomcatHome\WEBAPPS\yourWebApp\WEB-INF\lib
(1st Choice)
That is: the jar file can only be seen by your web application. Other web
applications and java programs can not see it.
It could also go in C:\yourTomcatHome\lib (2nd Choice)


That is: the jar file can be seen by every other web application deployed

in Tomcat.
It could also go in C:\yourJavaHome\jre\lib\ext (Not recommended)


That is: the jar file can be seen by every java program

--
Jonas Kongslund

Jul 17 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.