Clarity

Expand all | Collapse all

Error: org.apache.xerces.dom.DeferredDocumentTypeImpl

  • 1.  Error: org.apache.xerces.dom.DeferredDocumentTypeImpl

    Posted Dec 02, 2014 12:00 PM

    Hello,

     

    I'm getting the error below when trying to run a report in Clarity PPM v12.0. The reporting uses Actuate 9. The logs also show some errors below.

     

    Has anyone come across this error? if so, what was the resolution?

    thanks

     

    reporting.JPG

     

     

    Error:

    ERROR 2014-12-02 16:26:53,577 [WrapperStartStopAppMain] session.ManagerBase (none:none:none) IOException while loading persisted sessions: java.io.EOFException

    java.io.EOFException

    at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2228)

    at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2694)

    at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:761)

    at java.io.ObjectInputStream.<init>(ObjectInputStream.java:277)

    at org.apache.catalina.util.CustomObjectInputStream.<init>(CustomObjectInputStream.java:57)

    at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:361)

    at org.apache.catalina.session.StandardManager.load(StandardManager.java:320)

    at org.apache.catalina.session.StandardManager.start(StandardManager.java:636)

    at org.apache.catalina.core.ContainerBase.setManager(ContainerBase.java:431)

    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4131)

    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)

    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)

    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)

    at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:608)

    at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535)

    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470)

    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)

    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)

    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)

    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)

    at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)

    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)

    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)

    at org.apache.catalina.core.StandardService.start(StandardService.java:450)

    at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)

    at org.apache.catalina.startup.Catalina.start(Catalina.java:551)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:585)

    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)

    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:585)

    at org.tanukisoftware.wrapper.WrapperStartStopApp.run(WrapperStartStopApp.java:238)

    at java.lang.Thread.run(Thread.java:595)

    ERROR 2014-12-02 16:26:53,640 [WrapperStartStopAppMain] session.ManagerBase (none:none:none) Exception loading sessions from persistent storage

    java.io.EOFException...



  • 2.  Re: Error: org.apache.xerces.dom.DeferredDocumentTypeImpl

    Posted Dec 03, 2014 12:41 AM


  • 3.  Re: Error: org.apache.xerces.dom.DeferredDocumentTypeImpl

    Posted Dec 03, 2014 12:44 AM

    The solution for the above tech doc says -

     

    Solution:

    Please do a search on your system for *.ser files. You should have several of these files. These are the user session files for Tomcat. Please rename these files, then remove them from the directory in which they currently reside. (If these files cannot be manipulated because they are "in use", then please stop Tomcat before renaming and removing them). Once these files have been removed, please restart Tomcat.

     

    Also found this -

     

    https://communities.ca.com/message/110264583#110264583

     

    NJ



  • 4.  Re: Error: org.apache.xerces.dom.DeferredDocumentTypeImpl

    Posted Dec 03, 2014 06:01 AM

    Thanks.

    I have followed the instructions however still getting the same error.

     

    I renamed and deleted all the ".ser" files under the two folders below:

    ser.JPG

     

    Then I restarted Tomcat executing shut down/restart bat files as below. I have also restarted Clarity services.

    restart.JPG

     

    The .ser files were recreated in the tomcat folders.

    The error I'm getting in the logs is:

     

    ERROR 2014-12-03 10:43:11,045 [http-80-Processor6] xql2.xbl (admin:56830944__197c9a57:nmc.executeAvailReport) org.apache.xerces.dom.DeferredDocumentTypeImpl ::java.lang.ClassCastException: org.apache.xerces.dom.DeferredDocumentTypeImpl

    at com.niku.reporting.actuate.ActuateUtility.handleErrors(ActuateUtility.java:60)

    at com.niku.reporting.actuate.ActuateUtility.sendSOAPRequest(ActuateUtility.java:53)

    at com.niku.reporting.actuate.ActuateReporting.login(ActuateReporting.java:62)

    at com.niku.reporting.ReportingImpl.adminLogin(ReportingImpl.java:50)

    at com.niku.reporting.ReportingImpl.getAdminSession(ReportingImpl.java:41)

    at com.niku.reporting.actuate.ActuateReporting.addReplacementsForHeader(ActuateReporting.java:241)

    at com.niku.reporting.actuate.ActuateReporting.preScheduleReportProcess(ActuateReporting.java:219)

    at com.niku.reporting.actuate.ActuateReporting.executeReport(ActuateReporting.java:188)

    at com.niku.reporting.xbl.handlers.ExecuteReportHandler.postProcess(ExecuteReportHandler.java:36)

    at com.niku.xql2.XQLVisitor.postProcess(XQLVisitor.java:1355)

    at com.niku.union.xml.dom.DOMWalker.postProcess(DOMWalker.java:210)

    at com.niku.union.xml.dom.DOMWalker.traverseIntern(DOMWalker.java:94)

    at com.niku.union.xml.dom.DOMWalker.traverse(DOMWalker.java:51)

    at com.niku.xql2.handlers.TryHandler.preProcess(TryHandler.java:50)

    at com.niku.xql2.XQLVisitor.preProcess(XQLVisitor.java:1342)

    at com.niku.union.xml.dom.DOMWalker.preProcess(DOMWalker.java:194)

    at com.niku.union.xml.dom.DOMWalker.traverseIntern(DOMWalker.java:74)

    at com.niku.union.xml.dom.DOMWalker.traverseIntern(DOMWalker.java:92)

    at com.niku.union.xml.dom.DOMWalker.traverseIntern(DOMWalker.java:92)

    at com.niku.union.xml.dom.DOMWalker.traverse(DOMWalker.java:36)

    at com.niku.xql2.XQLProcessor.process(XQLProcessor.java:239)

    at com.niku.xql2.XQLProcessor.process(XQLProcessor.java:280)

    at com.niku.xql2.binding.ServiceControlBindingXql.processFile(ServiceControlBindingXql.java:393)

    at com.niku.xql2.binding.ServiceControlBindingXql.getDocument(ServiceControlBindingXql.java:258)

    at com.niku.xql2.binding.ServiceControlBindingXql.processRequest(ServiceControlBindingXql.java:142)

    at com.niku.union.service.ServiceControlImpl.processRequest(ServiceControlImpl.java:759)

    at com.niku.union.service.ServiceControlImpl.processRequest(ServiceControlImpl.java:213)

    at com.niku.union.web.WebServiceAdapter.processRequest(WebServiceAdapter.java:195)

    at com.niku.union.web.PortletController.processServiceRequest(PortletController.java:1323)

    at com.niku.union.web.PortletController.processAuthorizedPortlet(PortletController.java:861)

    at com.niku.union.web.PortletController.processPageActionRequest(PortletController.java:381)

    at com.niku.union.web.PortletController.processRequest(PortletController.java:160)

    at com.niku.union.web.WebActionController.processAction(WebActionController.java:1090)

    at com.niku.union.web.WebActionController.processRequest(WebActionController.java:170)

    at com.niku.union.web.WebControlServlet.service(WebControlServlet.java:319)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

    at com.niku.union.web.filter.GZIPResponseFilter.doFilter(GZIPResponseFilter.java:121)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

    at com.niku.union.web.filter.CharsetFilter.doFilter(CharsetFilter.java:29)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)

    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)

    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)

    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)

    at org.apache.catalina.valves.FastCommonAccessLogValve.invoke(FastCommonAccessLogValve.java:495)

    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)

    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)

    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)

    at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)

    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)

    at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)

    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)

    at java.lang.Thread.run(Thread.java:595)::

    WARN 2014-12-03 10:43:11,092 [http-80-Processor6] niku.union (admin:56830944__197c9a57:nmc.executeAvailReport) org.apache.xerces.dom.DeferredDocumentTypeImpl was not found in file: messages_en.properties



  • 5.  Re: Error: org.apache.xerces.dom.DeferredDocumentTypeImpl

    Posted Dec 03, 2014 06:22 AM

    Can you check the post as well ?

     

    https://communities.ca.com/message/110264583#110264583

     

    NJ



  • 6.  Re: Error: org.apache.xerces.dom.DeferredDocumentTypeImpl

    Posted Dec 03, 2014 08:50 AM

    If the issue still persists, please open a case with support .... phewwwwwww

     

    NJ



  • 7.  Re: Error: org.apache.xerces.dom.DeferredDocumentTypeImpl

    Posted Dec 12, 2014 04:32 AM

    Were you able to check with support on this ?

     

    If you can share any info, would be great

     

    NJ



  • 8.  Re: Error: org.apache.xerces.dom.DeferredDocumentTypeImpl

    Posted Dec 16, 2014 08:58 AM

    Hi,

     

    Nope, this issue still is not resolved. However we have asked CA support to help us with this and it is in progress...



  • 9.  Re: Error: org.apache.xerces.dom.DeferredDocumentTypeImpl

    Posted Dec 29, 2014 06:20 AM

    Would be great if you can share the solution once this is resolved

     

    Thanks, and Happy Holidays

     

    NJ



  • 10.  Re: Error: org.apache.xerces.dom.DeferredDocumentTypeImpl

    Posted Dec 29, 2014 06:57 AM

    Just wondering how far that will go as support for Actuate and v12.x ended in November.



  • 11.  Re: Error: org.apache.xerces.dom.DeferredDocumentTypeImpl

    Posted Dec 29, 2014 11:47 PM

    Agree

     

    NJ



  • 12.  Re: Error: org.apache.xerces.dom.DeferredDocumentTypeImpl

    Posted Jan 07, 2015 09:44 AM

    Hello,

     

    We were able to fix the issue by comparison of the working version of %niku_home%/lib and %niku_home%/acweb folders with the failing version of the installation.

    Clarity v12 installation media included a set of JAR files and the acweb folder.

    The working Clarity folder %niku_home%/lib will contain the following JAR files, while they were absence in the non working system:

                    acweb.jar

                    acversioninfo.jar

                    apconfig.jar

     

    Also the working %niku_home%/acweb folder will contain numerous sub-folders, while on the non working version (if it even exists) will be empty.

     

    If our scenario we were missing the JAR files and contents of the acweb folder on the two affected systems so the following steps have been taken before a more detailed / onsite or remote investigation is undertaken ...

     

    1. Stop the Clarity system Services: APP and BG

    2. Copy the missing jar files into the  %niku_home%/lib folder

    3. Copy the missing acweb folder and its contents into the %niku_home% OR if the acweb folder exists BUT IS empty only copy access the missing contents

    4. Start the Clarity system Services: APP and BG

    5. Test Actuate