On Dec 2nd there was a thread started called "Problems using Tomcat + OJB". I had the same problem and I've found what the problem was.

Even after following the suggest instructions (make sure OJB.properties and repository.xml are in classpath) I still had the error.

On closer inspection of my repository.xml file I found that I had included the following:

<!ENTITY internal SYSTEM "repository_internal.xml">

and therefore:

<!-- include ojb internal mappings here -->
        &internal;

It was the repository_internal.xml that OJB couldn't find. As soon as I changed my Ant buildfile to copy that too, everything was ok.

I didn't see a solution/fix posted so I thought I would. With hindsight, it's obvious, but there ya go!

Simon


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



Reply via email to