I have this same error and I changed RepositoryPersistor.java in two
places from:

reader.parse(new InputSource(url.openStream()));

to

reader.parse(new InputSource(url.toString()));

I don't know if this is the correct fix, but it worked for me.

-- 
Norman Jarvis
[EMAIL PROTECTED]

On Fri, 3 Jan 2003 01:33:30 +0000
Michael Ansley <[EMAIL PROTECTED]> wrote:

> Anybody know how to deal with this (sorry, haven't checked the
> archives yet, they appear to be offline):
> 
> Caused by: org.apache.ojb.broker.metadata.MetadataException: Could not
> read repository class descriptor data, using repository:
> repository.xml: Relative URI "repository_database.xml"; can not be
> resolved without a base URI.
>         at 
> org.apache.ojb.broker.metadata.MetadataManager.<init>(MetadataManager
> .java:58)
>         at 
> org.apache.ojb.broker.metadata.MetadataManager.<clinit>(MetadataManag
> er.java:40)
>         ... 41 more
> Caused by: org.xml.sax.SAXParseException: Relative URI 
> "repository_database.xml"; can not be resolved without a base URI.
>         at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3182)
>         at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3176)
>         at
>         org.apache.crimson.parser.Parser2.resolveURI(Parser2.java:275
>         8)
> 
> I know what the problem is, I just don't know enough to resolve it 
> effectively.  All the repository*.xml files, and the dtd are included
> in the ejb jar file that I'm deploying in JBoss.  Should I put them
> somewhere else?  If so, where?
> 
> Cheers...
> 
> 
> MikeA
> 
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]> For additional
> commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 

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

Reply via email to