• Post Reply Bookmark Topic Watch Topic
  • New Topic

Tomcat not running JSPs  RSS feed

 
Elizabeth Lester
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am new to J2EE and have just installed both Orion and Tomcat on my machine. Orion is working fine, I have been able to run both test servlets and JSPs without a problem. Tomcat is only running servlets and even their example JSPs are giving this 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.
exception
javax.servlet.ServletException: Servlet.init() for servlet jsp threw exception......

Is there something more I need to do to implement JSP processing for Tomcat?
Thanks,
Liz
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Tomcat is only running servlets and even their example JSPs are giving this error:
Internal server errors...
Its not you its me.
Thats what Tomcat is trying to tell you, I guess.
I hate these when there are no helpful msgs.
Anyways, could you elaborate on your installation/settings.
Also, please verify the URL for the example you are trying to
access and the existance of the correct file in the sub-dir's.
Personally I haven't moved to Tomcat 4.0 so I haven't had
much experience with it.
The least I can suggest is (if you haven't tried it)
restart Tomcat. Other things would be to change something in
the JSP source file (like adding a new blank line) and so
forcing Tomcat to compile the page again.
Sorry without having tried it, I can't suggest anything better.
Good luck.
- satya
 
Elizabeth Lester
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Satya,
Thanks for the response. I have experimented a fair amount and talked with some of the guys in the SCWCD forum (link to our conversation here)--the general result has been that it seems like my setup is correct (all subdirectories are there, I have tried restarting, reinstalling, installing a different 4.x version, etc.) but Tomcat is not even compiling the JSPs into servlets.
It also seems like I am not the only one with this problem, which is encouraging, but still a bummer since no one has a solution yet!
Let me know if you see anything enlightening in the other thread?
Thanks a lot,
Liz
[This message has been edited by Elizabeth Lester (edited October 26, 2001).]
 
Elizabeth Lester
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I just wanted to let everyone know that I have solved the problem. If you have one similar, you can read this thread.
Thanks for the help!
--liz
 
Thomas Whalen
Ranch Hand
Posts: 123
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please tell us HOW you solved the problem. I am using instructions I got off a website, and even following those instructions *to the T* on my Windows NT Server machine has not provided me with a working server that serves JSP and Servlets.
Thank you,
Thomas
 
Angela Poynton
Ranch Hand
Posts: 3143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I know this problem has been solved but I thought I'd move this thread to our new Apache/Tomcat forum so it can be useful to folks over there too.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!