0 Replies Latest reply on Jan 11, 2013 7:49 AM by 984268

    NoClassDefFoundError: org/apache/xerces/jaxp/datatype/XML

      We are facing issue in WL 10.3.3 version installed in unix machine(2.6.18-194.el5).
      Below mentioned are two different scenarios.

      Case I

      While restarting WL server we may get below mentioned error message,if we restart WL servers again issue will not come.

      Case II

      For all request we will get proper response,but once we get below mentioned error, all EAR/WAR file calling XMLGregorianCalendarImpl$Parser file will not work and for specific ear /war calling XMLGregorianCalendarImpl$Parser java file, server will go to 500 http error code.

      Rest war/ear files will give proper response for each request.

      Error message
      Root cause of ServletException.
      java.lang.NoClassDefFoundError: org/apache/xerces/jaxp/datatype/XMLGregorianCalendarImpl$Parser
           at org.apache.xerces.jaxp.datatype.XMLGregorianCalendarImpl.<init>(Unknown Source)
           at org.apache.xerces.jaxp.datatype.DatatypeFactoryImpl.newXMLGregorianCalendar(Unknown Source)
           at com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$13.parse(RuntimeBuiltinLeafInfoImpl.java:546)
           at com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$13.parse(RuntimeBuiltinLeafInfoImpl.java:520)
           at com.sun.xml.bind.v2.runtime.reflect.TransducedAccessor$CompositeTransducedAccessorImpl.parse(TransducedAccessor.java:241)


      Refered oracle forum (XMLGregorianCalendarImplParser NoClassDefFound but did not got any relevant answer for permanent fix.

      Note : In server setDomainenv file we have set xercesImpl-2.9.1.jar file in classpath.