You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Stella Xiao <st...@all-hotels.com> on 2000/03/03 11:27:24 UTC

flushBuffer()V, a bug?????

Hi, there

I download ASFtomcat.pkg.tar.Z and using jdk1.2.2, Apache web server,
JServ1.1 and Linux 2.2.13 i686. After startup.sh, I ran
http://localhost:8080/examples/jsp/num/numguess.jsp

but got following err:

SessionExample: init
Unhandled error! You might want to consider having an error page to
reportsuch errors more gracefully
java.lang.NoSuchMethodError: javax.servlet.ServletResponse: method
flushBuffer()V not found
        at
org.apache.jasper.runtime.JspWriterImpl.flush(JspWriterImpl.java
:193)
        at
jsp.num._0002fjsp_0002fnum_0002fnumguess_0002ejspnumguess_jsp_0.
_jspService(_0002fjsp_0002fnum_0002fnumguess_0002ejspnumguess_jsp_0.java:15
0)


and also after I shutdown.sh, it seems dead there after
shutdown.sh
Using classpath:
./webserver.jar:./lib/servlet.jar:./lib/jasper.jar:./lib/x
ml.jar:/home/stella/java/jdk1.2.2/bin/../lib/tools.jar:.:/home/stella/java/jdk1.2.2/lib/tools.jar:/home/stella/java/Oracle/jdbc/lib/:/home/stella/java/ASFtomcat/root/opt/tomcat/lib

Any instruction is highly appreciated!!

yang

classpath:
export
CLASSPATH=.:/home/stella/java/jdk1.2.2/lib/tools.jar:/home/stella/java/Oracle/jdbc/lib/:/home/stella/java/ASFtomcat/root/opt/tomcat/lib:/homestella/java/ASFtomcat/root/opt/tomcat/webserver.jar

path:
export
PATH=.:/home/stella/java/jdk1.2.2/bin:/home/stella/java/ASFtomcat/root/opt/tomcat::/home/stella/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/lib/java/bin:/var/lib/dosemu:/usr/games/bin:/usr/games:/opt/gnome/bin:/opt/kde/bin:/usr/openwin/bin:.:/usr/lib/pgsql/bin:/opt/pilotsdk/bin