395394 allow logging from boot classloader
This commit is contained in:
parent
cfa1c1e2e4
commit
61a0d48df4
|
@ -117,30 +117,23 @@ public class XmlConfiguration
|
||||||
private synchronized static XmlParser initParser()
|
private synchronized static XmlParser initParser()
|
||||||
{
|
{
|
||||||
XmlParser parser = new XmlParser();
|
XmlParser parser = new XmlParser();
|
||||||
try
|
URL config60 = Loader.getResource(XmlConfiguration.class,"org/eclipse/jetty/xml/configure_6_0.dtd",true);
|
||||||
{
|
URL config76 = Loader.getResource(XmlConfiguration.class,"org/eclipse/jetty/xml/configure_7_6.dtd",true);
|
||||||
URL config60 = Loader.getResource(XmlConfiguration.class,"org/eclipse/jetty/xml/configure_6_0.dtd",true);
|
parser.redirectEntity("configure.dtd",config76);
|
||||||
URL config76 = Loader.getResource(XmlConfiguration.class,"org/eclipse/jetty/xml/configure_7_6.dtd",true);
|
parser.redirectEntity("configure_1_0.dtd",config60);
|
||||||
parser.redirectEntity("configure.dtd",config76);
|
parser.redirectEntity("configure_1_1.dtd",config60);
|
||||||
parser.redirectEntity("configure_1_0.dtd",config60);
|
parser.redirectEntity("configure_1_2.dtd",config60);
|
||||||
parser.redirectEntity("configure_1_1.dtd",config60);
|
parser.redirectEntity("configure_1_3.dtd",config60);
|
||||||
parser.redirectEntity("configure_1_2.dtd",config60);
|
parser.redirectEntity("configure_6_0.dtd",config60);
|
||||||
parser.redirectEntity("configure_1_3.dtd",config60);
|
parser.redirectEntity("configure_7_6.dtd",config76);
|
||||||
parser.redirectEntity("configure_6_0.dtd",config60);
|
|
||||||
parser.redirectEntity("configure_7_6.dtd",config76);
|
|
||||||
|
|
||||||
parser.redirectEntity("http://jetty.mortbay.org/configure.dtd",config76);
|
parser.redirectEntity("http://jetty.mortbay.org/configure.dtd",config76);
|
||||||
parser.redirectEntity("http://jetty.eclipse.org/configure.dtd",config76);
|
parser.redirectEntity("http://jetty.eclipse.org/configure.dtd",config76);
|
||||||
parser.redirectEntity("http://www.eclipse.org/jetty/configure.dtd",config76);
|
parser.redirectEntity("http://www.eclipse.org/jetty/configure.dtd",config76);
|
||||||
|
|
||||||
|
parser.redirectEntity("-//Mort Bay Consulting//DTD Configure//EN",config76);
|
||||||
|
parser.redirectEntity("-//Jetty//Configure//EN",config76);
|
||||||
|
|
||||||
parser.redirectEntity("-//Mort Bay Consulting//DTD Configure//EN",config76);
|
|
||||||
parser.redirectEntity("-//Jetty//Configure//EN",config76);
|
|
||||||
}
|
|
||||||
catch (ClassNotFoundException e)
|
|
||||||
{
|
|
||||||
LOG.warn(e.toString());
|
|
||||||
LOG.debug(e);
|
|
||||||
}
|
|
||||||
return parser;
|
return parser;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue