14/06/2001 15:28:44, Robert Slifka <[EMAIL PROTECTED]> wrote:
Cheers,
Tried that, exactly the same problem. Only jars in classpath are the original ones
installed in \lib and C:\jdk1.3\tools.jar
Seems like there's a change in the API structure, hence the NoSuchMethod error??
Any ideas gladly accepted
>Maybe blank your classpath before starting 3.2.2? You didn't add any .jarS
>to the new $TOMCAT_HOME/lib, did you?
>
>- r
>
>> -----Original Message-----
>> From: Peter Cave [mailto:[EMAIL PROTECTED]]
>> Sent: June 14, 2001 10:04 AM
>> To: [EMAIL PROTECTED]
>> Subject: Tomcat config problem??
>>
>>
>> Hi,
>>
>> Attempting to move to tomcat 3.2.2 (dated 28/5/2001) from 3.1 (working
>> out-of-process with apache 1.3) on win2K, using the same webapps setup
>> as before, but I keep getting an exception thrown when I try
>> and compile
>> any jsp page (including the samples - servlets work fine).
>> I've checked
>> that there's only one version of jasper.jar anywhere on the classpath,
>> tomcat initialises OK and all contexts are set up correctly
>> for the new
>> setup. Below is a print of the stacktrace given when I try and execute
>> the numguess jsp example:
>>
>> Can anyone shed light on the cause of this, and say what to
>> do to remedy
>> the situation?
>>
>> Cheers,
>> Peter
>>
>>
>> Error: 500
>> Location: /examples/jsp/num/numguess.jsp
>> Internal Servlet Error:
>>
>> javax.servlet.ServletException
>> at
>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:508)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
>> at
>> org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper
>> .java:405)
>> 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.internalService(ContextM
>> anager.java:797)
>> at
>> org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
>> at
>> org.apache.tomcat.service.http.HttpConnectionHandler.processCo
>> nnection(HttpConnectionHandler.java:213)
>> at
>> org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoin
>> t.java:416)
>> at
>> org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPo
>> ol.java:501)
>> at java.lang.Thread.run(Thread.java:484)
>>
>> Root cause:
>> java.lang.NoSuchMethodError
>> at
>> org.apache.jasper.runtime.JspWriterImpl.flush(JspWriterImpl.java:209)
>> at
>> jsp.num._0002fjsp_0002fnum_0002fnumguess_0002ejspnumguess_jsp_
>> 0._jspService(_0002fjsp_0002fnum_0002fnumguess_0002ejspnumgues
>> s_jsp_0.java:150)
>> at
>> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
>> at
>> org.apache.jasper.servlet.JspServlet$JspCountedServlet.service
>> (JspServlet.java:130)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
>> at
>> org.apache.jasper.servlet.JspServlet$JspServletWrapper.service
>> (JspServlet.java:282)
>> at
>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet
>> .java:429)
>> at
>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
>> at
>> org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper
>> .java:405)
>> 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.internalService(ContextM
>> anager.java:797)
>> at
>> org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
>> at
>> org.apache.tomcat.service.http.HttpConnectionHandler.processCo
>> nnection(HttpConnectionHandler.java:213)
>> at
>> org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoin
>> t.java:416)
>> at
>> org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPo
>> ol.java:501)
>> at java.lang.Thread.run(Thread.java:484)
>>
>