You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by ra...@gsk.com on 2004/04/16 10:17:44 UTC

Better XML diagnostics needed

If I make a mistake in rpository.xml, only too common I'm afraid, all I get
out is a  complex stack dump with somewhere buried in it a message saying
'unable to read repostiory.xml'. There is no indication of what the error
is nor where it is.

Please can we have a more helpful xml parser?




---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org


Re: Better XML diagnostics needed

Posted by Armin Waibel <ar...@apache.org>.
Hi,

please set logging level to 'debug' for RepositoryXmlHandler and 
ConnectionDescriptorXmlHandler. If you use the default logging set in 
OJB.properties file:

org.apache.ojb.broker.metadata.RepositoryXmlHandler.LogLevel=DEBUG
org.apache.ojb.broker.metadata.ConnectionDescriptorXmlHandler.LogLevel=DEBUG

regards,
Armin

raphael.x.mankin@gsk.com wrote:

> If I make a mistake in rpository.xml, only too common I'm afraid, all I get
> out is a  complex stack dump with somewhere buried in it a message saying
> 'unable to read repostiory.xml'. There is no indication of what the error
> is nor where it is.
> 
> Please can we have a more helpful xml parser?
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-user-help@db.apache.org
> 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org