-
Bug
-
Resolution: Done
-
Minor
-
JBossAS-4.0.3 Final
-
None
The XMBeanEntityResolver completely ignores systemId and logs an error when publicId is null.
This produces bogus errors in the console/log when trying to import external entities in the xmbean descriptor, e.g:
<!DOCTYPE mbean PUBLIC
"-//JBoss//DTD JBOSS XMBEAN 1.1//EN"
"http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_1.dtd"
[
<!ENTITY operations SYSTEM "operations.ent">
]>
<mbean>
...
&operations;
...
</mbean>
The error is harmless, since the return 'null' value cause the correct lookup of the external entity.
A workaround is to just filter out XMBeanEntityResolver errors from conf/log4j.xml:
<category name="org.jboss.mx.metadata.XMBeanEntityResolver">
<priority value="FATAL"/>
</category>
- relates to
-
JBAS-2474 None of the xmbean dtds are registered with the JBossEntityResolver
- Closed