?
Solved

apache, tomcat, 4.1.37, Http status 500  The server encountered an internal error () that prevented it from fulfilling this request.

Posted on 2008-06-19
4
Medium Priority
?
1,797 Views
Last Modified: 2013-12-02
Hi

I have trying to test tomcat 4.1.37 installed on AIX and when trying to excess it get following message:

Please help.

HTTP Status 500 -

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

type Exception report

message

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

exception

org.apache.jasper.JasperException: Unable to compile class for JSP
      at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:432)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:142)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:240)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:187)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:199)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:145)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:955)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:139)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:955)
      at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2460)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
      at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:119)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:955)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:127)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:955)
      at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:157)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
      at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
      at java.lang.Thread.run(Thread.java:571)


root cause

java.lang.NullPointerException
      at java.util.Hashtable.put(Hashtable.java(Compiled Code))
      at org.apache.tools.ant.PropertyHelper.setProperty(PropertyHelper.java:330)
      at org.apache.tools.ant.Project.setPropertyInternal(Project.java:568)
      at org.apache.tools.ant.Project.setSystemProperties(Project.java:913)
      at org.apache.tools.ant.Project.initProperties(Project.java:307)
      at org.apache.tools.ant.Project.init(Project.java:295)
      at org.apache.jasper.compiler.Compiler.getProject(Compiler.java:124)
      at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:261)
      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:356)
      at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:427)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:142)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:240)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:187)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:199)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:145)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:955)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:139)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:955)
      at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2460)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
      at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:119)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:955)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:127)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:955)
      at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:157)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
      at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
      at java.lang.Thread.run(Thread.java:571)

0
Comment
Question by:ee-user08
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 19

Assisted Solution

by:Kuldeepchaturvedi
Kuldeepchaturvedi earned 480 total points
ID: 21826758
most probably your JAVA_HOME or TOMCAT_ROOT paths are not set..
0
 

Author Comment

by:ee-user08
ID: 21827245
Hi Kuldeep,

When I started the server with startup.sh, JAVA_HOME and CATALINA_HOME both are set.
IS TOMCAT_ROOT aother variable I need to set?

Thanks-
0
 
LVL 19

Assisted Solution

by:Kuldeepchaturvedi
Kuldeepchaturvedi earned 480 total points
ID: 21827731
I meant CATALINA_HOME only.. well if those are set.. then I will have to get some more details on your jsp.
In the meanwhile check this thread.
http://marc.info/?l=ant-dev&m=121208990204719&w=2
0
 

Accepted Solution

by:
ee-user08 earned 0 total points
ID: 21827761
Thanks Kuldeep,

I  just upgraded to 5.5.26 in compatibility mode to java 1.4 and it is up and running.

0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Knockoutjs (Knockout) is a JavaScript framework (Model View ViewModel or MVVM framework).   The main ideology behind Knockout is to control from JavaScript how a page looks whilst creating an engaging user experience in the least …
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question