if the OJB.properties wouldn't be found, you would see a message like this:

Cannot get OJB properties file, use default settings

if this is the case then as the error message says, default settings will be used also repositoryFile=repository.xml

If for some odd reason Oracle 9iAS is not able to load the OJB.properties and the repository.xml from WEB-INF/classes you may also
try to set the OJB.properties system property (with a -D jvm argument) pointing to your file.


I also strongly recommend you to always use forward slashes '/' instead of windoz '\' when defining file paths, it is up to the JVM to translate them to the system specific file separator. Back slash is the escape char, so the \r in your path will be interpreted as carriage return screwing up your config. (you could also use a double back slash '\\' instead of '/' however i see no reason for doing that)

bye
danilo

I'm adding the following line to OJB.properties:

repositoryFile=E:\ora9iAS_903\j2ee\home\applications\aep\aep\WEB-INF\cla
sses\repository.xml

However I receive the following exception:

Caused by: java.io.FileNotFoundException:
e:\ora9iAS_903\j2ee\home\repository.xml

Does OJB use the repositoryFile property? If so, would this error
indicate that maybe it isn't finding OJB.properties and is defaulting to
repository.xml of working path?

THanks,

Dave




-----Original Message-----
From: Durham David Contr 805 CSPTS/SCBE Sent: Monday, September 15, 2003 10:15 AM
To: OJB Users List
Subject: RE: OJB and Oracle 9ias



> Oracle obviously deals with classpaths differently. In
> Tomcat, you either deployed the ojb jars contextually or in > $TOMCAT_HOME/server/lib. I'd be that you need to drop them > somewhere where the container knows to look.


They're deployed contextually. I've never had a problem with 9ias not recognizing classes in a war's WEB-INF/lib folder.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Danilo Tommasina, Dipl. Ing. FH Telecom
Software Engineer
RCS Riskmanagement Concepts Systems AG
Technoparkstrasse 1
CH-8005 Zuerich
T: +41 1 445 29 08
[EMAIL PROTECTED]
www.risksys.com


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to