tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jitesh Sinha" <jsi...@cisco.com>
Subject RE: log4j/JDBC driver problem
Date Mon, 14 Jun 2004 13:13:08 GMT
Thanks Jens.
1.) works...
how do you kill doctype declaration as your point 2.) says?
Is there no way we can solve this problem without copying log4j.dtd in our
m/c AND without killing doctype declaration?There shld be a way because it
was working fine in previous versions....



-----Original Message-----
From: Jens Skripczynski [mailto:skripi-lists@myrealbox.com]
Sent: Monday, June 14, 2004 6:01 PM
To: Tomcat Users List
Subject: Re: log4j/JDBC driver problem


Hi,

I found two possible solutions:
(Found via google: log4j could not parse inputsource no protocol)

1) DTD should be an URL
"java.net.MalformedURLException: no protocol: log4j.dtd"
->
<!DOCTYPE rootElementName SYSTEM="file:///log4j.dtd">

2) Try to disable the DTD parsing
Kill the DOCTYPE declaration in the log4j config file.


The log4j DTD is located in the log4j jar file under
org/apache/log4j/xml/log4j.dtd.


Ciao

Jens Skripczynski
--
E-Mail: skripi-lists(at)myrealbox(dot)com

= We call it art because we have names for the things we understand. =
=============== W. Craig Trader <ct7@unicornsrest.org> ===============


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


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


Mime
View raw message