IBM Support

"HTTP Status 500 ... The server encountered an internal error ... NoClassDefFoundError ... CCSAnnAuthenticationException" when running Standard Reports

Troubleshooting


Problem

User runs a standard report. User receives error message.

Symptom

HTTP Status 500
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Servlet execution threw an exception
root cause
java.lang.NoClassDefFoundError: com.cognos.ccs.exceptions.CCSAnnAuthenticationException
java.lang.J9VMInternals.verifyImpl(Native Method)
java.lang.J9VMInternals.verify(J9VMInternals.java:72)
java.lang.J9VMInternals.initialize(J9VMInternals.java:240)
com.cognos.viewer.model.SOAPRequest.executeSOAPRequest(Unknown Source)
com.cognos.viewer.model.SOAPRequest.executeSOAPRequest(Unknown Source)
com.cognos.viewer.model.SOAPRequest.executeSOAPRequest(Unknown Source)
com.cognos.viewer.model.ReportServerRequest.executeRequest(Unknown Source)
com.cognos.viewer.action.RunSpecificationAction.doExecuteRequest(Unknown Source)
com.cognos.viewer.action.RunSpecificationAction.executeRequest(Unknown Source)
com.cognos.viewer.action.CognosViewerAction.execute(Unknown Source)
com.cognos.viewer.controller.CognosViewerDispatcherHandler.handleRequest(Unknown Source)
com.cognos.viewer.controller.CognosViewerDispatcherHandler.invokeImpl(Unknown Source)
com.cognos.pogo.pdk.BasicHandler.invoke(BasicHandler.java:194)
com.cognos.pogo.handlers.logic.ChainHandler.invokeImpl(ChainHandler.java:52)
com.cognos.pogo.pdk.BasicHandler.invoke(BasicHandler.java:194)
com.cognos.p2plb.clerver.balancer.RequestForwarder.rawForwardToSelf(RequestForwarder.java:181)
com.cognos.p2plb.clerver.balancer.RequestForwarder.forwardToSelf(RequestForwarder.java:154)
com.cognos.p2plb.clerver.balancer.LoadBalanceRequest.processRequest(LoadBalanceRequest.java:88)
com.cognos.p2plb.clerver.balancer.LoadBalanceRequest.processRequest(LoadBalanceRequest.java:45)
com.cognos.p2plb.clerver.LoadBalanceHandler.invokeImpl(LoadBalanceHandler.java:243)
com.cognos.pogo.pdk.BasicHandler.invoke(BasicHandler.java:194)
com.cognos.pogo.handlers.logic.ChainHandler.invokeImpl(ChainHandler.java:52)
com.cognos.pogo.pdk.BasicHandler.invoke(BasicHandler.java:194)
com.cognos.pogo.handlers.engine.ServiceLookupHandler.invokeImpl(ServiceLookupHandler.java:120)
com.cognos.pogo.pdk.BasicHandler.invoke(BasicHandler.java:194)
com.cognos.pogo.handlers.logic.ChainHandler.invokeImpl(ChainHandler.java:52)
com.cognos.pogo.pdk.BasicHandler.invoke(BasicHandler.java:194)
com.cognos.pogo.handlers.performance.PerformanceIndicationHandler.invokeImpl(PerformanceIndicationHandler.java:106)
com.cognos.pogo.pdk.BasicHandler.invoke(BasicHandler.java:194)
com.cognos.pogo.impl.PogoEngineImpl.service(PogoEngineImpl.java:125)
com.cognos.pogo.transport.PogoServlet.processRequest(PogoServlet.java:248)
com.cognos.pogo.transport.PogoServlet.doPost(PogoServlet.java:527)
javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
com.cognos.pogo.isolation.ServletWrapper.service(ServletWrapper.java:258)


root cause

java.lang.ClassNotFoundException: com.cognos.ccs.exceptions.CCSAnnAuthenticationException
java.lang.Throwable.<init>(Throwable.java:80)
java.lang.ClassNotFoundException.<init>(ClassNotFoundException.java:77)
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1266)
org.apache.catalina.loader.


Cause

Missing required components on Report Server.

Real-life Example
Specifically, in one real-life customer example, when installing the Report Server all the required components had successfully been installed *except* for the subcomponent "Application Tier Components" (which is located inside the overall container (also called) "Application Tier Components").

Diagnosing The Problem

In the real-life customer example, (after launching "Cognos Configuration") inside the section "Gateway Settings" there was no section called "Gateway URI". Instead, there were the other entries (e.g. "Gateway namespace") but no entry for "Gateway URI".

  • This is one symptom of the missing component(s).

Resolving The Problem

Install the missing required components for the Cognos BI reporting service.

  • Afterwards, ensure that the section "Gateway URI" is correctly configured (inside "Cognos Configuration").


Real-life Example
Specifically, in one real-life customer example, the problem was solved by re-running the Controller installation program (on the relevant report server) and ensuring that the components "Application Tier Components" were ticked.

[{"Product":{"code":"SS9S6B","label":"IBM Cognos Controller"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Controller","Platform":[{"code":"PF033","label":"Windows"}],"Version":"10.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
15 June 2018

UID

swg21616271