In fact, it was something to do with the way I was launching Tomcat.

I had :

set CATALINA_HOME=D:\...\tomcat4
...
cmd /C "%CATALINA_HOME%\bin\startup.bat"

I changed it to:

cmd /C "d:\[actual path]\tomcat4\bin\startup.bat"

Then everything worked. Maybe I am doing something dumb or my BAT file is
wrong, but there it is for future reference.


> -----Original Message-----
> From: Mike Curwen [mailto:[EMAIL PROTECTED]
> Sent: 30 July 2003 22:59
> To: 'Tomcat Users List'
> Subject: RE: Can't find ocijdbc9 in java.library.path
> 
> 
> I'm surprised that classes12.zip would load in the first application.
> Normally you would have to rename this file classes12.jar.   Maybe
> that's been done in the first, but not the second ?
> 
> > -----Original Message-----
> > From: Ollier John [mailto:[EMAIL PROTECTED] 
> > Sent: Wednesday, July 30, 2003 4:37 PM
> > To: '[EMAIL PROTECTED]'
> > Subject: Can't find ocijdbc9 in java.library.path
> > 
> > 
> > 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
> > 
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


**********************************************************************
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to