SAP Knowledge Base Article - Public

1994137 - Error: "HTTP Status 500 - java.lang.Runtime... JCo Exception" while clicking on Role Import tab under SAP Authentication in BI 4.1

Symptom

  • Error message "HTTP Status 500 - java.lang.RuntimeException: javax.servlet.ServletException: java.lang.NoClassDefFoundError: com/sap/conn/jco/JCoException received when Role Inport tab is clicked under SAP Authentication.
  • The issue occurred post upgrade from BI 4.x to newer BI4.x 
  • Multiple Entitlement Systems enabled and working.
  • Redeployment of BOE war file, does not help to fix the issue.

Environment

  • SAP BusinessObjects Business Intelligence 4.1 or 4.2
  • Tomcat 7 or tomcat 8
  • AIX Operating System
  • Windows OS

Reproducing the Issue

  1. Upgrade Business Objects server from one version to another
  2. Navigate to SAP Authentication under CMC.
  3. Click on Role Import tab to get the error message.

Cause

 sapjco3.jar file is not accessible or corrupted.

Resolution


There are 2 possible solutions :

On AIX/Unix :

  1. Stop Tomcat
  2. Take Backup of catalina.sh (/usr/sap/SID/sap_bobj/tomcat/bin).
  3. Add the /usr/sap/SID/sap_bobj/enterprise_xi40/java/lib/sapjco3.jar to classpath in catalina.sh file as below.
  4. Execute command usr/sap/SID/sap_bobj/tomcat/bin > . ./catalina.sh.
  5. Check for env variables for any duplicate enteries with sapjco3.jar ( make sure no enteries regarding sapjco3.jar in env).
  6. Start tomcat.

classpath.png

 

On windows :

We discovered that sapjco3.jar/dll files are not found during search.
the location of these files in \tomcat\webapps\BOE\WEB-INF\eclipse\plugins didn't exist as none of the plugins were extracted, they all were still in the form of jar files.
So, to resolve the problem we :

  1. Stop tomcat
  2. Delete BOE directory from tomcat/webapps and from tomcat/work locations
  3. Run wdeploy tomcat8 -DAPP=BOE deployonly
  4. Verify that sapjco3.jar and sapjco3.dll are now in proper locations.
  5. start tomcat.

See Also

 1787385 - HTTP Status 500 error when opening tab "Role Import" of SAP Authentication page in CMC

1677546 - Error: "HTTP Status 500- the server encountered an internal error () that prevented it from fulfilling this request." when clicking on Role Import tab in BI 4.0 

Keywords

http 500, error, unable, redeploy, roles, sap, users, entitlement , sap, authentication, runtime, error. , KBA , BI-BIP-DEP , Webapp Deployment, Networking, Vulnerabilities, Webservices , Problem

Product

SAP BusinessObjects Dashboards 4.0