Hi All, I'm upgrading an application written for tomcat 3.1.1 to 3.3.1. After fixing some bugs on using tomcat internal classes, I can startup the application in 3.3.1 with the following message ======================================== Using classpath: bin/../lib/tomcat.jar Using JAVA_HOME: /opt/jdk1.2.2 Using TOMCAT_HOME: /opt/isa-tomcat [isatom@demo isa-tomcat]$ [isatom@demo isa-tomcat]$ 2002-07-30 10:51:32 - LogEvents: Adding LogEvents, cm.debug=0 true 2002-07-30 10:51:32 - LogEvents: addInterceptor org.apache.tomcat.modules.loggers.LogEvents@c562dddb 2002-07-30 10:51:32 - LogEvents: addInterceptor org.apache.tomcat.modules.config.ContextXmlReader@33beddd8 2002-07-30 10:51:32 - LogEvents: addInterceptor org.apache.tomcat.modules.config.ContextXmlReader@2bdaddd8 2002-07-30 10:51:32 - LogEvents: addInterceptor org.apache.tomcat.modules.config.AutoDeploy@2626ddd8 2002-07-30 10:51:32 - LogEvents: addInterceptor org.apache.tomcat.modules.config.AutoWebApp@32aeddd8 2002-07-30 10:51:32 - LogEvents: addInterceptor org.apache.tomcat.modules.config.PolicyLoader@c046dddb 2002-07-30 10:51:33 - LogEvents: addInterceptor org.apache.tomcat.modules.mappers.SimpleMapper1@d18edddb 2002-07-30 10:51:33 - LogEvents: addInterceptor org.apache.tomcat.modules.session.SessionExpirer@f746dddb 2002-07-30 10:51:33 - SessionIdGenerator: Opening /dev/urandom 2002-07-30 10:51:33 - LogEvents: addInterceptor org.apache.tomcat.modules.session.SessionIdGenerator@1936ddd8 2002-07-30 10:51:33 - LogEvents: addInterceptor org.apache.tomcat.modules.config.LogSetter@cdeddd8 2002-07-30 10:51:33 - LogEvents: addInterceptor org.apache.tomcat.modules.config.LogSetter@48addd8 2002-07-30 10:51:33 - LogEvents: addInterceptor org.apache.tomcat.facade.WebXmlReader@7082ddd8 2002-07-30 10:51:33 - LogEvents: addInterceptor org.apache.tomcat.modules.generators.ErrorHandler@6226ddd8 2002-07-30 10:51:33 - LogEvents: addInterceptor org.apache.tomcat.modules.config.WorkDirSetup@58a2ddd8 2002-07-30 10:51:33 - LogEvents: addInterceptor org.apache.tomcat.modules.generators.Jdk12Interceptor@5112ddd8 2002-07-30 10:51:33 - LogEvents: addInterceptor org.apache.tomcat.modules.generators.InvokerInterceptor@46daddd8 2002-07-30 10:51:33 - LogEvents: addInterceptor org.apache.tomcat.facade.JspInterceptor@b7ceddd8 2002-07-30 10:51:33 - LogEvents: addInterceptor org.apache.tomcat.modules.generators.StaticInterceptor@a722ddd8 2002-07-30 10:51:33 - LogEvents: addInterceptor org.apache.tomcat.modules.mappers.ReloadInterceptor@9846ddd8 2002-07-30 10:51:33 - LogEvents: addInterceptor org.apache.tomcat.modules.session.SimpleSessionStore@8e8addd8 2002-07-30 10:51:33 - LogEvents: addInterceptor org.apache.tomcat.modules.aaa.AccessInterceptor@ca3eddda 2002-07-30 10:51:33 - LogEvents: addInterceptor org.apache.tomcat.modules.aaa.CredentialsInterceptor@c3f6ddda 2002-07-30 10:51:33 - LogEvents: addInterceptor org.apache.tomcat.modules.aaa.SimpleRealm@3832dddb 2002-07-30 10:51:33 - LogEvents: addInterceptor org.apache.tomcat.facade.LoadOnStartupInterceptor@311edddb 2002-07-30 10:51:33 - LogEvents: addInterceptor org.apache.tomcat.facade.Servlet22Interceptor@26a6dddb 2002-07-30 10:51:33 - LogEvents: addInterceptor org.apache.tomcat.modules.mappers.DecodeInterceptor@896eddd8 2002-07-30 10:51:33 - LogEvents: addInterceptor org.apache.tomcat.modules.session.SessionId@9d96ddd8 2002-07-30 10:51:33 - LogEvents: addInterceptor org.apache.tomcat.modules.config.ApacheConfig@b166ddd8 2002-07-30 10:51:33 - LogEvents: addInterceptor org.apache.tomcat.modules.config.IISConfig@4372ddd8 2002-07-30 10:51:33 - LogEvents: addInterceptor org.apache.tomcat.modules.config.NSConfig@5e36ddd8 2002-07-30 10:51:33 - LogEvents: addInterceptor org.apache.tomcat.modules.server.Http10Interceptor@7836ddd8 2002-07-30 10:51:33 - LogEvents: addInterceptor org.apache.tomcat.modules.server.JNIConnectionHandler@219eddd8 2002-07-30 10:51:33 - LogEvents: addInterceptor org.apache.tomcat.modules.server.Ajp12Interceptor@cc5adddb 2002-07-30 10:51:33 - ServerXmlReader: Config=$TOMCAT_HOME/conf/server.xml 2002-07-30 10:51:33 - LogEvents: addInterceptor org.apache.tomcat.modules.config.ServerXmlReader@643edddb 2002-07-30 10:51:33 - PathSetter: home=/opt/isa-tomcat-3.3.1 2002-07-30 10:51:33 - LogEvents: engineInit 2002-07-30 10:51:33 - AutoWebApp: Auto-Adding DEFAULT:/ 2002-07-30 10:51:33 - LogEvents: engineState 1 2002-07-30 10:51:33 - ContextManager: Tomcat configured and in stable state 2002-07-30 10:51:33 - LogEvents: addContext DEFAULT:/ROOT 2002-07-30 10:51:33 - WorkDirSetup: Creating work dir /opt/isa-tomcat-3.3.1/work/DEFAULT/ROOT 2002-07-30 10:51:33 - ContextManager: Adding DEFAULT:/ROOT 2002-07-30 10:51:33 - LogEvents: contextInit DEFAULT:/ROOT 2002-07-30 10:51:33 - Ctx() : Validating web.xml 2002-07-30 10:51:33 - LogEvents: preServletInit DEFAULT:/ROOT ServletH InitServlet(SW (null CN=com.isteelasia.common.Ini tServlet)) 2002-07-30 10:51:37 - LogEvents: postServletInit DEFAULT:/ROOT ServletH InitServlet(SW (null CN=com.isteelasia.common.In itServlet)) EmbededTomcat: Init time 4840 2002-07-30 10:51:37 - LogEvents: engineState 2 2002-07-30 10:51:37 - LogEvents: engineStart 2002-07-30 10:51:37 - Http10Interceptor: Starting on 8080 2002-07-30 10:51:37 - Ajp12Interceptor: Starting on 8007 EmbededTomcat: Startup time 112 2002-07-30 10:51:37 - LogEvents: engineState 3
============================================================================ == But then, if I access any page of the site, the following error: 500 appear in the browser ============================================================================ === org.apache.jasper.JasperException: Unable to compile /opt/isa-tomcat-3.3.1/work/DEFAULT/ROOT/ch_gb2312/news/news410_1.java:1398: No method matching flushBuffer() found in class org.apache.jasper.runtime.JspWriterImpl. ((org.apache.jasper.runtime.JspWriterImpl)out).flushBuffer(); ^ 1 error at org.apache.tomcat.facade.JasperLiaison.javac(JspInterceptor.java:898) at org.apache.tomcat.facade.JasperLiaison.processJspFile(JspInterceptor.java:73 3) at org.apache.tomcat.facade.JspInterceptor.requestMap(JspInterceptor.java:506) at org.apache.tomcat.core.ContextManager.processRequest(ContextManager.java:968 ) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:87 5) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833) at org.apache.tomcat.modules.server.Ajp12Interceptor.processConnection(Ajp12Int erceptor.java:221) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:516) at java.lang.Thread.run(Thread.java:472) ====================================================================== Anyone have idea? I have struggle with this for long time...................... Any suggesting, advise will be greatly appreciated!!!! Eric