tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ollier John <john.oll...@capula.co.uk>
Subject Can't find ocijdbc9 in java.library.path
Date Wed, 30 Jul 2003 21:37:26 GMT
I have 2 separate directory structures containing two copies of Tomcat 4.0
and two copies of my application. The applications connect to 2 different
Oracle databases via JDBC, which exist in the same Oracle Home. I am using
Windows 2000 and JDK1.4.1.

When I try to start the second application, I get an error saying Tomcat
can't find ocijdbc9 in java.library.path.

I have checked:

1) that the directory containing ocijdbc9.dll is in the PATH
2) that "classes12.zip" - the file containing the Oracle JDBC driver is the
right one for the release of Oracle we are using and that it is in
CATALINA_HOME\common\lib
3) I can write a test class that runs on the command line and connects to
the database
4) I have some debug code that prints out result of
"System.getProperty("java.library.path");" and that includes the directory
containing ocijdbc9.dll

Does anyone have any idea of what's going wrong?

Thanks in advance

John


**********************************************************************
This email is from Capula Ltd (Registered No 00953504 England).
Please visit our Website at www.capula.co.uk
Capula - doing IT for you
LEGAL NOTICE

The information contained in this e-mail and any files transmitted with it are 
confidential, may be privileged and are intended solely for the use of the 
individual or entity to whom they are addressed.  If you are not the intended 
recipient any disclosure, copying, retransmission, distribution, dissemination, 
action taken or omitted to be taken in reliance upon this e-mail is strictly 
prohibited and may be unlawful.  If you have received this communication in error 
please notify the sender by e-mail or by telephone on +44(0)1785 827000, delete 
it from your system and destroy any copies of it.

Furthermore, the content of this e-mail is the personal view of the sender and 
does not necessarily represent the advice, views or opinion of Capula Ltd.  In 
particular (but not by way of limitation) Capula Ltd disclaims all responsibility 
and accepts no liability for any e-mails that are defamatory, offensive, racist 
or in any other way are in breach of any third party's rights, including breach 
of confidence, privacy or other rights.

Please note that users should have no expectation that any information they 
transmit or receive over Capula Ltd facilities or stored on Capula Ltd computers 
is or will remain private, and Capula Ltd reserves the right to review these 
records. Capula Ltd reserves the right to intercept, monitor and record 
this e-mail.

Please note that e-mails from Capula Ltd pass through a virus checker but 
e-mails can be intercepted or affected by different viruses.  No warranties 
or assurance are made in relation to the safety and content of this email and 
any attachments and no liability is accepted for any consequences arising 
from it.  The recipient should ensure that the e-mail and attachments (if any) 
are actually virus free.

**********************************************************************


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message