I have managed to get OJB working in a stand-alone app - but now I want to
get it working under Tomcat.
The error I am getting is:
Caused by: org.apache.ojb.broker.metadata.MetadataException: Could not read
repository class descriptor data, using repository: repository.xml:
C:\WINDOWS\system32\repository.xml (The system cannot find the file
specified)
Why oh why is it looking there for my repository.xml???
I thought it only had to be on the class path to be found. Mine is in my
WEB-INF dir.
My OJB.properties file is in the uk.co.smitek.'appname' level of my package
hierarchy. Is that correct?
Should I be using
broker = PersistenceBrokerFactory.defaultPersistenceBroker();
or
PBKey pbKey = new PBKey("default");
broker = PersistenceBrokerFactory.createPersistenceBroker(pbKey);
to get a broker?
Please help!!!!!
Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]