The xml files are in the resources folder wihich is under classes. I tried 
also to out the files directly in the folder classes - with the same 
result.

[JDO] DEBUG: OjbStoreConnector.begin: connectionReadyForRelease=false
org.apache.ojb.broker.PBFactoryException: There was no default-PBKey 
specified
        at 
org.apache.ojb.broker.core.PersistenceBrokerFactoryBaseImpl.defaultPersistenceBroker(Unknown
 
Source)
        at 
org.apache.ojb.broker.PersistenceBrokerFactory.defaultPersistenceBroker(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" 


There  must be another mistake.

regards
  • Re: PBKey Michael . Sack

Reply via email to