Hi Rog�rio,

just write

repositoryFile=repository.xml

and put the repository.xml in the same directory (WEB-INF/classes) as the OJB.properties file

Regards
Franz

Rogerio Tambellini wrote:
Thanks for everyone, I just moved the files to WEB-INF/classes and worked.

Unfortunatelly, in the OJB.properties, I had to write the fully static directory to the repository file running at Tomcat.

repositoryFile=../webapps/maritima/WEB-INF/classes/repository.xml

Is that right? There is another way to write this, because I wanna deploy this project into another application server and I don't want to change this file every time I deploy.

Regards,
Rog�rio


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



-- Franz-Josef Herpers Puschkinallee 9A 12435 Berlin 030/53 21 33 02 0173/54 23 666 [EMAIL PROTECTED]


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



Reply via email to