Hi,

More info for experts:
=====================

I enabled debugging using log4j. My findings are as under and one of the
experts might be able to point me in right direction.

When I click on Execute link of Basic-Arithmetic JSP-EXAMPLES, I get the
error as

javax.servlet.ServletException: Wrapper cannot find servlet class
org.apache.jsp.jsp2.el.basic_002darithmetic_jsp or a class it depends on

The log4j debug shows this message in the log file.

==========================================
INFO http-8080-Processor25
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/jsp-examples
] - Marking servlet org.apache.jsp.jsp2.el.basic_002darithmetic_jsp as
unavailable
 INFO http-8080-Processor25
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/jsp-examples
] - Marking servlet org.apache.jsp.jsp2.el.basic_002darithmetic_jsp as
unavailable
 ERROR http-8080-Processor25
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/jsp-examples
] - Error loading WebappClassLoader^M
  delegate: false^M
  repositories:^M
    /WEB-INF/classes/^M
----------> Parent Classloader:^M
[EMAIL PROTECTED]
 org.apache.jsp.jsp2.el.basic_002darithmetic_jsp
 java.lang.ClassNotFoundException:
org.apache.jsp.jsp2.el.basic_002darithmetic_jsp
===========================================

When I go to the jsp-examples/WEB-INF/classes/org/apache/jsp/jsp2/el
directory, the directory listing is as shown.

-rw-r--r--   1 root     system         6944 Mar 04 19:23 functions_jsp.class
-rw-r--r--   1 root     system         7145 Mar 04 19:23 basic_002dcompariso
-rw-r--r--   1 root     system         7427 Mar 04 19:23 implicit_002dobject
-rw-r--r--   1 root     system         6361 Mar 04 19:23 basic_002darithmeti

So, somehow this file name is truncated. I do not know why or what options
am I missing?

I saw this issue widely reported but somehow no one shows an answer. This
might be a simple fix but Tomcat is not known to me at all. I am looking for
your help.

I guess that there tow issues.

1. Class name getting truncated
2. SEVERE: Error filterStart error with message 
SEVERE: Context startup failed due to previous errors
  

-----Original Message-----
From: Vikram [mailto:[EMAIL PROTECTED] 
Sent: Saturday, March 18, 2006 4:36 PM
To: users@tomcat.apache.org
Subject: problem running servlets-examples

I did a clean install on Tomcat 5.5.16, 5.5.15 and 5.028 on Aix 5.3 on Power
4 and Power 5 (64bit) running with IBM Java 5_64. In each one of this
installation, I could not get servlets-examples working. I know little about
Tomcat so please pardon my ignorance.

 

This is the output from log file that it shows in each version.

 

SEVERE: Error filterStart

Mar 18, 2006 3:31:53 PM org.apache.catalina.core.StandardContext start

SEVERE: Context startup failed due to previous errors

Mar 18, 2006 3:31:53 PM org.apache.catalina.core.StandardHostDeployer
install

SEVERE: Error filterStart

Mar 18, 2006 3:31:54 PM org.apache.catalina.core.StandardContext start

SEVERE: Context startup failed due to previous errors

When I load servlets-examples page using
http://hostname:8080/servlets-examples/, it shows the page and when I try to
execute HelloWorld, it shows that the The requested resource
(/servlets-examples/servlet/HelloWorldExample) is not available.

Before posting this question, I googled it and found that many other people
have also reported same but nobody gave a satisfactory answer as what might
be causing this. One person said that he fixed it but did not give the
solution. I know that this could be a little issue which I am not able to
detect. Please remember that it was clean install and I have not even tried
to run the webapp.

Is it the problem related to the filterstart and after that it says that
Context startup failed due to previous errors.

I appreciate your help.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to