02-05-2021



Hello guys, this is my first jsp thread ever so excuse me if it's a bit retarded, anyways, me and my mate are creating a webpage in .jsp , a project in IntellaJ 10.0 and we've been using apache tomcat to view the progress of the webpage but now it wont show it anymore, all we get is this retarded error message in the browser that we dont understand and we've been stuck for days not being able to solve it, anyways any help would be greately appretiated and here's a copy:

HTTP Status 500 -

Your best bet is to restart the server. You could also go into the CLI and restart the tomcat services manually and see if this works. Im trying to recall where the application server configuration is. 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: Error allocating a. NetBeans 3.5, J2SDK1.4.204 Developed a J2EE application. Case 1: For jsp pages compiled in IDE with JDK jsp compiler, the corresponding java files contain new lines as below.

--------------------------------------------------------------------------------

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

Check tomcat status

Http Status 500 - Java.lang.nullpointerexception Tomcat

exception

org.apache.jasper.JasperException: java.lang.ClassNotFoundException: org.apache.jsp.index_jsp
org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:151)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)


root cause

java.lang.ClassNotFoundException: org.apache.jsp.index_jsp
java.net.URLClassLoader$1.run(Unknown Source)
java.security.AccessController.doPrivileged(Native Method)
java.net.URLClassLoader.findClass(Unknown Source)
org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:132)
org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:63)
org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:145)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)


note The full stack trace of the root cause is available in the Apache Tomcat/7.0.2 logs.


--------------------------------------------------------------------------------

Apache Tomcat/7.0.2

  • 2 Contributors
  • forum1 Reply
  • 923 Views
  • 19 Hours Discussion Span
  • commentLatest PostLatest Postby Shanti C

A '>ClassNotFoundException means that some where a class that is used in the code is missing.

check for that file..

Editedby Shanti C because:n/a

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

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.

On windows :

We discovered that sapjco3.jar/dll files are not found during search.
the location of these files in tomcatwebappsBOEWEB-INFeclipseplugins 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

Keywords

Check Tomcat Status

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

Apache Tomcat Http Status 500

Product