Solved

HTTP Error & Tomcat Error Helps

Posted on 2004-03-25
1
239 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
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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
reflection example 3 103
How to set default webapp for host 6 46
Java Script nested call 3 86
HTTPSessionBindingListernter not configured in deployment descriptor 2 53
Adding Computers to AD groups through an SCCM Task Sequence
February 24, 2017 — On February 23, Travis Ormandy, a vulnerability researcher at Google, reported on Twitter (https://twitter.com/taviso/status/834900838837411840) that massive stores of data have been leaked by CloudFlare, a company that provide…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

803 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