The root cause is java.lang.NoSuchMethodError: javax.servlet.http.HttpServletRequest.getUserPrincipal()Ljava/security/Princ
Meaning that a class cannot find getUserPrincipal() in HttpServletRequest. This is usualyl due to having and extra copy of HttpServletRequest in the wrong spot. Either in the system classloader (java/ext/) or in WEB-INF/lib, or something VERY similar.
-Tim
kgsat wrote:
Hi Tim,
I do not really understand how the servlet.jar is outof place as i did not
tamper with any of the classpath settings and the tomcat location etc...
i have been trying to find out the xact solution.
could you help me out?
thanks
sat
----- Original Message ----- From: "Tim Funk" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, September 30, 2003 7:59 PM
Subject: Re: Tomcat not showing pages-----
You probably have a servlet.jar floating around somewhere where it
shouldn't be.
-Tim
kgsat wrote:
Hi
I am running the tomcat version 4.1.24 for my web application. When i start the tomcat it gets started well with the usual prompt
messages.
But when i try to access the example directory or any sample pages, it
does
not show the jsp or html pages at all.The IE window comes out to be
empty
and i am not getting any error or exception in the server prompt.
On further analysis, it has been revealed that catalina log gives the following error messages.
****************************************************
2003-09-26 10:33:28 CoyoteAdapter An exception or error occurred in the container during the request processing java.lang.NoSuchMethodError:
javax.servlet.http.HttpServletRequest.getUserPrincipal()Ljava/security/Princ
ipal; at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
.java:455)
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
