SAP Knowledge Base Article - Preview

1199139 - "Servlet execution threw an exception" error when viewing a SAP BW report in Java InfoView

Symptom

  • More than one workflow can result in the following error: "Servlet execution threw an exception".
  • Generally, all workflows involve processing or viewing reports in InfoView

Here's an example of a Java Stack Trace produced by Tomcat when the error occurred:

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.ExceptionInInitializerError: JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC'
JCO.nativeInit(): Could not initialize dynamic link library librfc. Found version "620.0.1386" but required at least version "640.0.76".
com.sap.mw.jco.JCO.<clinit>(JCO.java:738)
com.crystaldecisions.sap.web.a.a(Unknown Source)
com.crystaldecisions.sap.web.parameter.a.i.a(Unknown Source)
com.crystaldecisions.sap.web.parameter.a.i.initialize(Unknown Source)
com.crystaldecisions.sap.web.parameter.a.i.initialize(Unknown Source)
com.crystaldecisions.ePortfolio.plugin.crystalenterprise.report.SAPViewReportAction.autoWrapExceptionPerform(SAPViewReportAction.java:301)
com.crystaldecisions.ePortfolio.framework.common.AutoWrapExceptionAction.process(AutoWrapExceptionAction.java:62)
com.crystaldecisions.webapp.struts.framework.AbstractEnterpriseAction.perform(AbstractEnterpriseAction.java:38)
com.crystaldecisions.ePortfolio.framework.common.IdentityAwareAction.perform(IdentityAwareAction.java:52)
org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1787)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1586)
com.crystaldecisions.webapp.struts.framework.CrystalUTF8InputActionServlet.process(CrystalUTF8InputActionServlet.java:29)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


Read more...

Product

SAP BusinessObjects Business Intelligence platform R2 ; SAP BusinessObjects Enterprise XI

Keywords

SAP BW Infoview Java librfc JCO sapjcofc servlet execution exception Tomcat , KBA , BI-BIP-IK , Integration; Integration kits for SAP, Baan, PeopleSoft, Sie , 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.