The repository file defined in OJB.properties is expected to be the default
repository containing class-descriptors for *all* known classes.

Thus it is inspected by all ojb internal operations that look for a
class-descriptor.

cheers,
Thomas

> -----Urspr�ngliche Nachricht-----
> Von: casterx [mailto:[EMAIL PROTECTED]]
> Gesendet: Donnerstag, 29. August 2002 22:28
> An: [EMAIL PROTECTED]
> Betreff: PBKey, repositoryFile & broker.store() in a servlet 
> environment
> bug
> 
> 
> In order to prevent hardcoded values in my EAR file, I create 
> a new PBKey
> and create the first broker instance in an autostarting 
> servlet, after that,
> I store the PBKey in my application context.
> 
> When I try to create a new broker in a different servlet, I 
> get the key and
> create the instance. However, for some reason, whenever I call
> broker.store(), OJB tries to load the repository from the 
> OJB.properties
> file.
> 
> Is there any reason why it would book for the repository file 
> on a store()
> after it's successfully created?
> 
> 
> Thanks
> Caster
> 
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 

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

Reply via email to