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 testservlets 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
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
Take a Minute, Donate an Hour, Change a Life
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).]
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
if you don't know, then ask. if you do know, then share. love is knowledge.