<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="ProgId" content="Word.Document"><meta name="Generator" content="Microsoft Word 11"><meta name="Originator" content="Microsoft Word 11"><link rel="File-List" href="file:///C:%5CDOKUME%7E1%5CManuel%5CLOKALE%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml"><style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0cm;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{margin:0cm;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Courier New";
mso-fareast-font-family:"Times New Roman";}
@page Section1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;
mso-header-margin:36.0pt;
mso-footer-margin:36.0pt;
mso-paper-source:0;}
div.Section1
{page:Section1;}
-->
</style>
<p class="MsoPlainText">Hi,<br>
<br>
yesterday I tried to run some jsp scripts. In the beginning they worked without
any trouble, but after deleting the web archive via the GUI a few times, tomcat
didn't work anymore. I unsuccessfully restarted tomcat, httpd and the server
and eventually reinstalled tomcat.<br>
<br>
The status quo is that the jsp files still show errors even without jsp content.<br>
<br>
The errors of the example start with "javax.servlet.ServletException: Error allocating a servlet
instance" and continue with errors like
"java.lang.NoClassDefFoundError: javax/servlet/jsp/HttpJspPage" or
"java.lang.ClassNotFoundException: javax.servlet.jsp.HttpJspPage".<br>
<br>
echo $JAVA_HOME: "/etc/alternatives"<br>
echo $CATALINA_HOME: <blank> or after setting it
"usr/share/tomcat5"<br>
<br>
/usr/share/tomcat5/logs: <br>
<br>
Jan 3, 2011 1:50:03 AM org.apache.catalina.core.StandardWrapperValve
invoke<br>
SEVERE: Allocate exception for servlet jsp<br>
java.lang.ClassNotFoundException: javax.servlet.jsp.JspFactory<br>
<br>
Jan 3, 2011 1:53:29 AM org.apache.catalina.core.StandardWrapperValve
invoke<br>
SEVERE: Allocate exception for servlet
org.apache.jsp.jsp2.simpletag.hello_jsp</p><p class="MsoPlainText"><br></p><p class="MsoPlainText">(<a href="http://pastebin.com/Ai0JazC4">http://pastebin.com/Ai0JazC4</a>)<br>
<br>
I think that a library is missing or the xml configuration got messed up but I
think that you know better.<br>
<br>
Thanks for reading this mail,<br>
<br>
Manuel<br>
</p>