You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "shailg ." <sh...@hotmail.com> on 2002/09/19 20:53:03 UTC

ServletException, NoSuchMethodError : Trying JSP Examples in 4.1.10

Hi,

I am a new user of Tomcat, first time I installed v4.1.10. I am getting 
following error when trying to invole some JSP Examples (Numberguess, 
Forward, JSP-Servlet-JSP, Simple custom tage and XML Syntax), other examples 
and all Servlet examples works fine :

---------------------------------------------
HTTP Status 500 -

The server encountered an internal error () that prevented it from 
fulfilling this request.

javax.servlet.ServletException
       at 
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:497)
        at org.apache.jsp.numguess_jsp._jspService(numguess_jsp.java:102)
        at 
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:136)
        .
        .
        .
        .
        at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533)
        at java.lang.Thread.run(Thread.java:479)
Root cause is; java.lang.NoSuchMethodError
        at 
org.apache.catalina.session.StandardSession.setAttribute(StandardSession.java:1262)
        .
        .
        .
        .
        at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533)
        at java.lang.Thread.run(Thread.java:479)

----------------------------------------------------------

I have following environment :
OS     : Win2K
Tomcat : v4.1.10 (installed in d:\tomcat4110 directory)
JDK    : 1.3.1_03

JAVA_HOME : c:\jdk1.3.1_03

CATALINA_HOME : d:\tomcat4110

CLASSPATH=D:\iAS902\j2ee\home\oc4j.jar;D:\iAS902\j2ee\home\lib\ojsp.jar;D:\iAS902\jlib\zrclient.jar;D:\iAS902\reports\jlib\rwrun.jar;C:\9iDSR2\jlib\bigraphbean.jar;C:\9iDSR2\jlib\LW_PfjBean.jar;C:\9iDSR2\jlib\bigraphbean-nls.zip;D:\iAS902\jlib\bigraphbean.jar;D:\iAS902\jlib\LW_PfjBean.jar;D:\iAS902\jlib\bigraphbean-nls.zip

As I said I can access all other examples successfully, also /tomcat-docs 
and /manager works fine but get the same error for /admin too.

I also tried to deploy one of my application but getting same error there 
too.

Any pointer/comment/suggestion would be much appreciated.

Regards
Shail

_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>