Hi,

I am migrating from Tomcat 3.2.1 to 4.0b and noticed that I had to move the jar
file containing the mysql JDBC driver (used for a JDBCRealm) from
$TOMCAT_HOME/lib to $TOMCAT_HOME/bin ???
My guess is jars in lib are not added to the classpath anymore because you are
supposed to put them in the WEB-INF/lib of the webapp, but in case of a JDBC
driver I find this inconvenient. Furthermore I found several jar in
$TOMCAT_HOME/lib such as crimson.jar, jasper.jar etc.

Regards,

Wilko





"Thomas Bezdicek" <[EMAIL PROTECTED]> on 31-01-2001 10:34:17

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:    (bcc: Wilko Hische/HADV/NL)
Subject:  AW: Classpath Woe




Hi,

I have to disagree. Having classes12.zip at $TOMCAT_HOME/lib and then
restarting worked fine
for us.

cheers

bez

-----Ursprüngliche Nachricht-----
Von: Gerald McCollam [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 31. Jänner 2001 01:55
An: [EMAIL PROTECTED]
Betreff: Classpath Woe


  hi, i've been having the same problem as several others here -- tomcat
can't find my oracle jdbc drivers no matter where they're located. i placed
a copy of classes12.zip (for oracle) in every conceivable place with no luck
and finally decided tomcat doesn't like class packages if they're zipped. my
fix is to unzip and re-jar...(i.e. simply renaming the zip file didn't work,
duh)

  for oracle:

  1. unzip the original file (classes11.zip or classes12.zip) into your
$TOMCAT_HOME/lib directory. this will place two directories there: oracle
and javax. i didn't need javax so i threw it out

  2. open a shell and cd to $TOMCAT_HOME/lib

  3. jar up the oracle directory using  "jar cvf oracle.jar oracle." you can
name the jar file whatever you want.

  4. restart tomcat

  that worked for me!

  cheers

  - gerald

Hi,
 
I have to disagree. Having classes12.zip at $TOMCAT_HOME/lib and then restarting worked fine
for us.
 
cheers
 
bez

-----Urspr�ngliche Nachricht-----
Von: Gerald McCollam [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 31. J�nner 2001 01:55
An: [EMAIL PROTECTED]
Betreff: Classpath Woe

hi, i've been having the same problem as several others here -- tomcat can't find my oracle jdbc drivers no matter where they're located. i placed a copy of classes12.zip (for oracle) in every conceivable place with no luck and finally decided tomcat doesn't like class packages if they're zipped. my fix is to unzip and re-jar...(i.e. simply renaming the zip file didn't work, duh)
 
for oracle:
 
1. unzip the original file (classes11.zip or classes12.zip) into your $TOMCAT_HOME/lib directory. this will place two directories there: oracle and javax. i didn't need javax so i threw it out
 
2. open a shell and cd to $TOMCAT_HOME/lib
 
3. jar up the oracle directory using  "jar cvf oracle.jar oracle." you can name the jar file whatever you want.
 
4. restart tomcat
 
that worked for me!
 
cheers
 
- gerald
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to