Hi Leandro,
Please refer to the attached document describing the necessary steps to
deploy OJB in Web Apps.
OJB.properties and repository.xml *must* be in the classpath because OJB
uses classloader based rsource lookup.
This is the official way to access files within J2EE environments.
HTH,
Thomas
Leandro Rodrigo Saad Cruz wrote:
> Hi all, I'm trying to setup OJB to work with an WEB-APP and I am having
> some problems because repository.xml has to be in $CLASSPATH.
> Is there any reason for this ?
> Is this a feature ?
>
>
|