2011年9月23日 星期五

[WEBLOGIC] SAX Parser Factory


if [ "${SERVER_NAME}" = "managed01d-6" ] || [ "${SERVER_NAME}" = "managed01d-4" ]; then
    JAVA_OPTIONS="${JAVA_OPTIONS} -Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl"
    export JAVA_OPTIONS
fi

#
# http://forums.oracle.com/forums/thread.jspa?threadID=911954&tstart=150
# A bug with default SAX Parser Factory, version 10.3 for Windows
#
# JAVA_OPTIONS="${JAVA_OPTIONS}"
JAVA_OPTIONS="${JAVA_OPTIONS} -Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl"
export JAVA_OPTIONS








沒有留言:

張貼留言