Solved

HTTP Error & Tomcat Error Helps

Posted on 2004-03-25
1
236 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
Comment Utility
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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

771 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

16 Experts available now in Live!

Get 1:1 Help Now