Sun Java System Application Server Platform Edition 9 Release Notes

ParserUtils picks up parser from web app (ID 6412405)

When accessing a JSP, the following exception may be logged under certain circumstances:


java.lang.AbstractMethodError: org.apache.xerces.dom.DeferredDocumentImpl.
setDocumentURI(Ljava/lang/String;)V

Solution

Add the following system property to your domain.xml file:


<jvm-options>-Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces. \
internal.jaxp.DocumentBuilderFactoryImpl</jvm-options>

Alternatively, remove the JAR file containing the org.apache.xerces package form your Web application's WEB-INF/lib.