Hi,

in earlier versions of OJB the path to the
repository file was used to open the Database (ODMG-api)
or lookup a PersistenceBroker (PB-api).

Now we use an alias name, defined in the repository
file. Each jdbc-connection-descriptor now has an
unique jcd-alias name.

If you don't want to change the lookup in your
'old' code, set the the repository
path as jcd-alias as  e.g
jcd-alias="repository.xml"
Then the database open method works
as in further OJB versions.

HTH
regards,
Armin

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "OJB Users List" <[EMAIL PROTECTED]>
Sent: Friday, June 13, 2003 2:09 PM
Subject: Re: ERROR: ConfigurableFactory instantiation failed


>
>
> I ve found the cause of the problem and possible solution at:
>
>      http://dbforums.com/t704806.html
>
> org.apache.ojb.broker.TestHelper I've found that the first argument of
db.open is NOT repository.xml but a string containing the
jcdAlias#user#passwd
> ie: default#oleg#oleg
>
>
> but i still dont know how to solve it... do i need to change and
recompile the source?
>
> Pedro Salgado
>
>
>
> ---------------------------------------------------------------------
> 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]

Reply via email to