WHIRLYCOTT wrote:

The pathnames below that point to the repository.xml file are correct. Apart from that, the error messages aren't very useful.

Where do you keep your OJB.properties and repository.xml files?

The place should be ok for both files.

phil.

INFO (2004-06-23) 17:17:25.094 org.apache.ojb.broker.metadata.RepositoryPersistor : OJB Descriptor Repository: file:/C:/jakarta-tomcat-5.0.18/webapps/cct/WEB-INF/classes/repository.xml
INFO (2004-06-23) 17:17:25.094 org.apache.ojb.broker.metadata.RepositoryPersis
tor : Building repository from : file:/C:/jakarta-tomcat-5.0.18/webapps/cct/WEB-INF/classes/repository.xml
DEBUG (2004-06-23) 17:17:25.094 org.apache.ojb.broker.metadata.RepositoryPersis
tor : RespostoryPersistor using SAXParser : org.apache.xerces.jaxp.SAXParserImpl


DEBUG (2004-06-23) 17:17:25.124 org.apache.ojb.broker.metadata.RepositoryXmlHandler : startDoc
INFO (2004-06-23) 17:17:25.124 org.apache.ojb.broker.metadata.MetadataManager
: No repository.xml file found, starting with empty metadata and connection configuration

Here's the problem: either OJB does not find the repository.xml file, or it could not read/parse the file because of some parsing error (though that should have resulted in an exception).
Is the filename stated a couple of lines above correct ? What repository location did you specify in your OJB.properties: 'repository.xml' or 'file:/C:/jakarta-tomcat-5.0.18/webapps/cct/WEB-INF/classes/repository.xml' (the former should suffice) ?


Tom


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



Reply via email to