Bug 3222 - NoSuchMethodError at ExceptionHandler.doService(DefaultCMSetter.java:289)
Summary: NoSuchMethodError at ExceptionHandler.doService(DefaultCMSetter.java:289)
Status: RESOLVED INVALID
Alias: None
Product: Tomcat 3
Classification: Unclassified
Component: Jasper (show other bugs)
Version: 3.2.3 Final
Hardware: PC Linux
: P3 blocker (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-08-22 02:33 UTC by martin.held
Modified: 2004-11-16 19:05 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description martin.held 2001-08-22 02:33:08 UTC
If I try to browse any jsp-file I get the following error:

Internal Servlet Error:

java.lang.NoSuchMethodError
        at 
org.apache.tomcat.context.ExceptionHandler.doService(DefaultCMSetter.java:289)
        at org.apache.tomcat.core.Handler.service(Handler.java:287)
        at 
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
        at 
org.apache.tomcat.core.ContextManager.handleError(ContextManager.java:1183)
        at org.apache.tomcat.core.Handler.service(Handler.java:312)
        at 
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
        at 
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812)
        at 
org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
        at 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConne
ctionHandler.java:213)
        at 
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
        at 
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
        at java.lang.Thread.run(Thread.java:484)


If you check out e.g. 
http://www.google.com/search?q=ExceptionHandler.doService+NoSuchMethodError&hl=e
n&safe=off&filter=0
you can see that many user do have the same problem with different 
configurations, so I guess it doesn't have to do with wrong settings of 
CLASSPATH, TOMCAT_HOME, JAVA_HOME or a specific OS.

Additionally I experience the following:
- If I start tomcat from the command line as follows 
java org.apache.tomcat.startup.Tomcat -h /home/ssg/httpd/jakarta-tomcat-3.2.3
or using the startup.sh script everything works fine.

- If I start tomcat from a tcl script using jacl as follows
set targs [java::new {String[]} 2 "-h /home/ssg/httpd/jakarta-tomcat-3.2.3"]
java::call org.apache.tomcat.startup.Tomcat main $targs
I'm getting the error described above.

- If I start tomcat with the work directory already containing the generated 
java and class files I get the error "document contains no data" from Netscape.

- Browsing of html or gif files works fine.

I'm using tomcat standalone on port 8082. My jdk version is 1.3.1, the Linux 
Version 
is RedHat 7.1.
Comment 1 martin.held 2001-08-22 06:14:36 UTC
No tomcat bug!
I had jsdk.jar in the CLASSPATH, this contained an old version of 
ServletException.