I had a similar problem. As I understand the documentation internally OJB uses classloader's getResource method. It seems that it tries to load file from pwd as the lest resort. However, I beleive it will load the file from class path if its there (e.g. root of jar file). I personally have repository*.xml in my classes folder in my Tomcat application and it works.
Sincerely, Vladimir Berezniker Sr. Programmer Analyst Staten Island University Hospital "Johnson, Nathaniel A" <[EMAIL PROTECTED]> 04/04/2003 12:33 PM Please respond to "OJB Users List" To: "OJB Users List" <[EMAIL PROTECTED]> cc: Subject: dynamic repository.xml(Scanned for viruses: Notes Admin) Is there a way to dynamically set the location of the repository.xml file through code? We would like to put it in a settings directory, that changes when we migrate to different environments, but it seems that OJB is looking in the pwd of the currently running process. So we can not use the OJB.properties file to set this location. Thanks, Nate --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]