SAP Knowledge Base Article - Preview

3686703 - AS Java not starting due to "Provider com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl not found"

Symptom

The AS Java system does not start. When reviewing the work directory logs, the following information can be observed:
Dev_jstart:
[...]
F  [Thr 139773748434880] *** LOG => Process server0 stopped (pid 7738).
F  [Thr 139773748434880] *** WARNING => Node server0 failed: result 1, exit code 2150. [sfxxnode.hpp 1034]
[...]

Dev_server0:
[...]
F  *** ERROR => Java node 'server0' terminated with exit code 2150.
F  ***
F  *** Please see section 'Java program exit codes'
F  *** in SAP Note 1316652 for additional information and trouble shooting advice.
F  ********************************************************************************
F  
F  [Thr 140294548686528] *** LOG => exiting (exitcode 2150, retcode 1).
[...]

Std_server0.out:
[...]
 Service [xmlhardener_srv] start ================= ERROR ================= 
  CSN Component [BC-ESI-XPS], DC Name [sap.com/xmlhardener_srv]
javax.xml.parsers.FactoryConfigurationError: Provider com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl not found
    at javax.xml.parsers.FactoryFinder.newInstance(FactoryFinder.java:200)
    at javax.xml.parsers.FactoryFinder.newInstance(FactoryFinder.java:152)
    at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:232)

Caused by: java.lang.ClassNotFoundException: com/sun/org/apache/xerces/internal/jaxp/DocumentBuilderFactoryImpl
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forNameFW(Class.java:365)
FATAL: Critical shutdown with exit code [2150] was requested due to [AS Java cannot be started; core service [tc~bl~accounting_infra~srv] failed to start]
[...]


Read more...

Environment

SAP NetWeaver Application Server Java 

Product

SAP NetWeaver Application Server for Java all versions

Keywords

exit code 2150, om.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl not found,  java.lang.ClassNotFoundException, sap.com/xmlhardener_srv. , KBA , BC-JAS-COR , Enterprise Runtime, Core J2EE Framework , BC-JAS-SF , Startup Framework , BC-ESI-XPS , XML Parser Security Layer , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.