I found out, temporarily setting of "user.dir" as follows:
System.setProperty("user.dir", MyConfigDir + "/");
resolves the problem.
Regards.......Frank
-----Urspr�ngliche Nachricht-----
Von: Hiller, Frank RD-AS2
Gesendet: Dienstag, 14. Juni 2005 10:37
An: 'OJB Users List'; 'Thomas Dudziak'
Betreff: AW: AW: Location of repository.xml
Hi Tom,
yes, this is an additional alternative. I didn't check yet what my "installer
guy" says.
The most elegant way would be OJB first searches for repository.xml in the same
directory where OJB.properties is located.
Cheers..........Frank
-----Urspr�ngliche Nachricht-----
Von: Thomas Dudziak [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 14. Juni 2005 10:22
An: OJB Users List
Betreff: Re: AW: Location of repository.xml
> you're right, but I can not put the config files into WEB-INF/classes.
> The installer has to enter the path to the database (server name, port) into
> repository_database.xml during the installation. It should not unpack the WAR
> file, enter the path and pack the WAR file before deploying.
>
> The "dirty way" of defining an absolute path would work for me.
But wouldn't that defeat the purpose of having an installer ?
The installer could perform the deploy by unpacking the WAR file into the
webapps folder of tomcat (that's what tomcat would do anyway), and then you can
create/adjust the configuration there.
Tom
---------------------------------------------------------------------
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]