Solved

HTTP Error & Tomcat Error Helps

Posted on 2004-03-25
1
243 Views
Last Modified: 2010-04-01
I'm using Tomcat 5.0.19 to serve my JSP pages.  At times I get http errors, and/or Tomcat errors.  In trying to analyze my problem, I am using the http error information off my browser screen, and also the Tomcat log.  (The browser screen directs me to the Tomcat Logs for the "full stack trace.")

Are there some general helps I could read that would help me in interpreting what I'm seeing?
0
Comment
Question by:LarryAndro
[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
1 Comment
 
LVL 14

Accepted Solution

by:
kennethxu earned 50 total points
ID: 10681811
generally there are 2 types of error. compile error and runtime error. futher there are 2 types of compile error, jsp syntax error and java syntax error.

for the jsp syntax error, you'll see the line number of your jsp page and error description, it think that should be very straightforward.

jsp page is then translated into java source code and javac will try to compile it into class file. you migth get java compile error at this point. it refers to a java file, you should be able to find the java fine in tomcat work directory, locate the link and find the corresponding jsp line.

then, the jsp file is executed. you could get runtime error for various reason, one common cause is the program bug. you'll need to study the stacktrace, make sure have a look at the root cause. and find the _jsp.java file in the stacktrace, study the method call before and after it and also, you should find the line of the java file in tomcat work directory.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone 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

Why do some people recommend buying business VoIP from an ISP? What are the benefits to my company? What are the costs?
The recent Petya-like ransomware attack served a big blow to hundreds of banks, corporations and government offices The Acronis blog takes a closer look at this damaging worm to see what’s behind it – and offers up tips on how you can safeguard your…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

632 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