-
1. Re: where is the log4j.dtd?
ebross Mar 8, 2011 3:29 PM (in response to javatwo)It is in every log4j.jar. Where did you get jboss-log4j.xml from?
-
2. where is the log4j.dtd?
javatwo Mar 6, 2011 12:35 PM (in response to ebross)Thanks. I found it in common/lib/log4j.jar.
org/apache/log4j/xml/log4j.dtd
Do I need to extract it out and put it in the directory as jboss-log4j.xml? or can I specify the jar in classpath and xmlParser will read it from the jar?
Thanks for help.
-
3. where is the log4j.dtd?
jaikiran Mar 8, 2011 4:43 AM (in response to javatwo)Where exactly are you seeing that error? On the server console when the server is starting? Can you post more details including the log? Also have you changed anything in a clean installation of JBoss AS?
-
4. where is the log4j.dtd?
javatwo Mar 9, 2011 1:49 AM (in response to jaikiran)Since the jboss-log4j.xml can not be parsed without dtd, so I removed the DOCTYPE and parsed it to DOM, and then inserted a fragment.
but on JBOSS server console:
log4j:WARN Continuable parsing error 14 and column 83
log4j:WARN Document root element "log4j:configuration", must match DOCTYPE root "null".
log4j:WARN Continuable parsing error 14 and column 83
log4j:WARN Document is invalid: no grammar found.
Thanks.