I'm sorry if that was unclear...let me shed more light on this..
There are 3 computers. computerA is where the oracle server is, computerB is where the
tomcat server, and computerC is trying to access these two computers remotely (via network). I can run my jsp and javabeans just fine through computerC, but when I try connecting to Oracle using the driver, it gives the error:
java.lang.ClassNotFoundException:oracle.jdbc.driver.Oracle.
I understand that this is because it cannot locate driver. Here's what I've done so far:
1. put classes12.zip to $TOMCAT_HOME/lib
2. set classpath to C:/Program Files/Apache Software Foundation/Tomcat 6.0/lib/classes12.zip
still, when I run the code, i still get the ClassNotFoundException.
then i tried:
1. rename classes12.zip to classes12.jar (right-click rename)... is there another way of renaming it? Because I might be doing it wrong
2. then set classpath to C:/Program Files/Apache Software Foundation/Tomcat 6.0/lib/classes12.jar
still, i get the ClassNotFoundException
and now, classes12.jar is corrupted and I cannot delete it it says:
the file might be in use
I cannot set classpath of ORACLE_HOME since I am not authorized to configure computerA where the Oracle database is.
I really don't know what else to do. Please help me. I'm sorry if this is still unclear. I'm really new to jsp,java and oracle...I can understand the codes and syntax but I have no idea how else to configure this.