I definitely appreciate that bit of information. However, I don't think that OJB.properties file is found, so whatever I put in there is moot at this point. Do I need to setup the system property for OJB.properties too?
Thanks, Dave > -----Original Message----- > From: Wayne Kidd [mailto:[EMAIL PROTECTED] > Sent: Friday, September 19, 2003 12:39 PM > To: OJB Users List > Subject: Re: OJB and Oracle 9ias > > > I use OJB with 9ias. Here are the special things that I do > to make it > happen. > > 1). I place ojb.properties into WEB-INF/classes > 2). I also place xxx.xml (repository.xml) into the same > directory and I > describe it in ojb.properties as: > repositoryFile=/xxx.xml The forward slash there is required. > > With these parameters set, you can get your system running. > If you are > working with standalone and you are using eclipse, then you > must place > your ojb.properties in the top level of the java source > folder. That > will cause it to end up in classes. > > If you are trying to run some of your code (probably for testing or > something) from a java application (main), you will need to have an > ojb.properties that specifies a repository that does not > haave the slash > (differences in classloaders for app servers) > > Wayne > > Danilo Tommasina wrote: > > > did you try to set the system property 'OJB.properties' pointing to > > your OJB.properties file (using forward slashes)? > > > > bye > > danilo > > > >>> if the OJB.properties wouldn't be found, you would see a message > >>> like this: > >>> > >>> Cannot get OJB properties file, use default settings > >> > >> > >> > >> I'm not sure where this would be logged to in Oracle 9ias. When > >> running tomcat it is sent to Tomcat's console. Anyway, > I'm pretty > >> sure that it doesn't load OJB.properties because it is > defaulting to > >> repository.xml of current working directory. > >> > >> > >>> slash '\\' instead of '/' however i see no reason for doing that) > >> > >> > >> > >> Good call. Alas, it doesn't matter until I can get this 9ias > >> classloading issue resolved. > >> > >> > >>> bye > >>> danilo > >> > >> > >> > >> Thanks, > >> > >> Dave > >> > >> > --------------------------------------------------------------------- > >> 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] > > > > --------------------------------------------------------------------- > 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]
