Did you set the following in one jdbc-connection-descriptor:

    default-connection="true"  


example:
   <jdbc-connection-descriptor
    jcd-alias="argus"
    default-connection="true"
    platform="Oracle9i"
        ....>

Roland Ribi

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Sent: Friday, December 10, 2004 10:26 AM
> To: [EMAIL PROTECTED]
> Subject: starting ojb
> 
> 
> I have always the same problem. I have put the needed xml 
> files in the 
> folder where my application is. but there is the same mistake.
> 
> [JDO] DEBUG: OjbStoreConnector.begin: connectionReadyForRelease=false
> org.apache.ojb.broker.PBFactoryException: There was no default-PBKey 
> specified
>         at 
> org.apache.ojb.broker.core.PersistenceBrokerFactoryBaseImpl.de
> faultPersistenceBroker(Unknown 
> Source)
>         at 
> org.apache.ojb.broker.PersistenceBrokerFactory.defaultPersiste
> nceBroker(Unknown 
> Source)
>         at org.apache.ojb.jdori.sql.OjbStoreConnector.begin(Unknown 
> Source)
>         at com.sun.jdori.common.TransactionImpl.beginInternal(Unknown 
> Source)
>         at com.sun.jdori.common.TransactionImpl.begin(Unknown Source)
>         at org.myProject.appli.Demo.storing(Demo.java:97)
>         at org.myProject.appli.Demo.main(Demo.java:110)
> Exception in thread "main" 
> 
> which information do you need to get an idea where the mistake is.?
> 
> 
> regards 
> 
> 
> Michael
> 

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

Reply via email to