tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "shlomi sarfati" <shl...@navixo.com>
Subject RE: Classpath Woe
Date Wed, 31 Jan 2001 09:37:29 GMT
Hi
I have to disagree too !
i insert the path of the classes12 zipfile to my class_path and it is
working fine

  -----Original Message-----
  From: Thomas Bezdicek [mailto:t.bezdicek@lgsoft.at]
  Sent: Wed, January 31, 2001 11:34 AM
  To: tomcat-user@jakarta.apache.org
  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:gmccollam@razorfish.com]
  Gesendet: Mittwoch, 31. Jänner 2001 01:55
  An: tomcat-user@jakarta.apache.org
  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

Mime
View raw message