my dog learned polymorphism
The moose likes Java in General and the fly likes How do I solve this error? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "How do I solve this error?" Watch "How do I solve this error?" New topic

How do I solve this error?

rita mistry

Joined: Dec 04, 2001
Posts: 27
Hi all,
I am getting the following error:
Apache Tomcat/4.0.1 - HTTP Status 500 - Internal Server Error
type Exception report
message Internal Server Error
description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
blah blah blah........
root cause
How do I solve this?
Any help will be much appreciated.
Many Thanks.
David O'Meara

Joined: Mar 06, 2001
Posts: 13459

Sounds like either a Servlet or JSP problem, I'd guess you either have an infinite loop or infinite recursion in a servlet, or a circular reference in your JSPs (ie A includes B includes A)
Can you get any closer to where the code is when it runs out of memory?
rita mistry

Joined: Dec 04, 2001
Posts: 27
Hi David,
Your reply got me thinking and I checked out the javabean the login page was calling and you were right there was an infinite loop. I altered it and now it works. So thanks very much for all your help.
Cheers mate.
I agree. Here's the link:
subject: How do I solve this error?
It's not a secret anymore!