I am using the binary release of OJB 1.0.1. And I don't know which XML parser I am using. I don't even know where to specify that. The only xml processing jar in my classpath is dom4j. Should something else be there?
I just put xerces-2.4.0 in the WEB-INF/lib/ to no avail. Same error.
And I am running in DEBUG because it was failing, not the other way around ;)
I just did a local test of what happens when i rip repository.dtd out of my JAR in Tomcat. Same error message, which might be the source of recent confusion...
So; do you have the repository.dtd handy in your CLASSPATH?
If not:
java.io.FileInputStream.<init>(FileInputStream.java:66)
at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:69)
at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:156)
at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
But unfortunately the error reported from OJB is: "MetadataException: Can not read repository repository_database.xml"
Regards, Martin
P.S. OJB does not use dom4j, I assume you have Xerces in a common/endorsed lib location and/or in your JDK. It should not matter too much which version though, just interesting for trying to reproduce your particular set-up.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
