Solved

HTTP Error & Tomcat Error Helps

Posted on 2004-03-25
1
237 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 Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
reflections, dynamic class loading 3 66
error when compiling my project in eclipse luna 30 349
Market Place not working in Eclipse Luna 2 102
main method of string class 3 103
Note: This is the second blog post in a series on email clearinghouses (https://www.xmatters.com/alert-management/blog-email-has-failed-us?utm_campaign=70138000000ydLoAAI&utm_source=exex&utm_medium=article&utm_content=blog-post).   Every month t…
When we talk about DevOps toolchains, I sometimes wonder how many people really get what we’re talking about. I don’t know if it’s just semantics or tone or something else, but sometimes I think it just sounds like buzzword sausage. So it’s always …
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

867 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now