Buffer overflow: what could cause this?
Aug 23, 2004 9:34:21 AM org.apache.jk.common.MsgAjp cpBytes SEVERE: Buffer overflow: buffer.len=8192 pos=9 data=78988 41 42 00 02 04 01 f4 34 | AB?4 Aug 23, 2004 9:34:21 AM org.apache.jk.common.MsgAjp cpBytes SEVERE: Overflow java.lang.Throwable That was from my catalina.out file. I'm using tomcat 4.1.30. How do I interpret a message like this and what can I do about it? I've googled a bit to figure this out, but I only see posts without replies. -- Thanks, Daniel Gibby - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Buffer overflow
Dear all, I've written a little servlet that gets some binairy data from my database and shows it to the user. Basicly an image servlet. Here's some code: // Set the response mime type response.setContentType(uiElement.getType()); // Get outputstream ServletOutputStream output = response.getOutputStream(); // Write the byte array byte[] data = output.write(uiElement.getByteValue()); output.flush(); output.close(); Now I see the following errors in my application.log: Jan 30, 2003 2:06:35 PM org.apache.jk.common.MsgAjp cpBytes SEVERE: Buffer overflow: buffer.len=8192 pos=29 data=30988 And this in my catalina.log: 00 00 00 00 04 00 c8 00 | ..?. | Do I have to increase that buffer size (how?) or should I place .flush() every 8k? Thanks in advance, Rico Tijsen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Strange behaviour of Tomcat like a buffer overflow
Hi! My application hehaves very strange in an unpredicable way. In both apache and tomcat logfiles I see requests that seem to arrive in a random order. The Tomcat logfile even shows HTML output of my servlets. At times in the apache access log the request with HTTP GET parameters is shown correct, but in tomcats access log the request is logged altered with some garbage behind the ?. My system config: httpd-2.0.40.tar.gz jakarta-tomcat-4.1.17.tar.gz j2sdk-1_4_1_01-fcs-linux-i586.rpm Here are a few lines from the Tomcat access log: 192.168.1.254 - - [18/Dec/2002:01:09:10 1000] POST /avsSignon/servlet/signonMember HTTP/1.1 200 - r report/tit - - [18/Dec/2002:01:09:11 1000] GET /avsSignon/member/clubFront.jsp HTTP/1.1 302 - ster Club/TI - - [18/Dec/2002:01:09:11 1000] GET /avsSignon/member/clubFront-en.jsp HTTP/1.1 200 - 192.168.1.254 - - [18/Dec/2002:01:09:11 1000] GET /avsSignon/signon.css HTTP/1.1 304 - 192.168.1.254 - - [18/Dec/2002:01:09:12 1000] POST /avsSignon/servlet/signonMember?ily to a new locatio HTTP/1.1 302 - ountry/TITLE - - [18/Dec/2002:01:09:12 1000] GET /avsSignon/member/usrCountry-en.jsp HTTP/1.1 200 - 192.168.1.254 - - [18/Dec/2002:01:09:12 1000] GET /avsSignon/signon.css HTTP/1.1 304 - r report/tit - - [18/Dec/2002:01:09:14 1000] POST /avsSignon/servlet/signonMember HTTP/1.1 302 - ype of paymen - - [18/Dec/2002:01:09:14 1000] GET /avsSignon/member/usrPayment-en.jsp HTTP/1.1 200 - 192.168.1.254 - - [18/Dec/2002:01:09:14 1000] GET /avsSignon/signon.css HTTP/1.1 304 - 192.168.1.254 - - [18/Dec/2002:01:09:14 1000] GET /avsSignon/images/YikesterLogo.gif HTTP/1.1 304 - 192.168.1.254 - - [18/Dec/2002:01:09:14 1000] GET /avsSignon/images/visa.gif HTTP/1.1 304 - 192.168.1.254 - - [18/Dec/2002:01:09:14 1000] GET /avsSignon/images/mastercard.gif HTTP/1.1 304 - r report/tit - - [18/Dec/2002:01:09:15 1000] POST /avsSignon/servlet/signonMember HTTP/1.1 302 - ent by credit - - [18/Dec/2002:01:09:15 1000] GET /avsSignon/member/usrCreditCard-en.jsp HTTP/1.1 200 - 192.168.1.254 - - [18/Dec/2002:01:09:15 1000] GET /avsSignon/signon.css HTTP/1.1 304 - 192.168.1.254 - - [18/Dec/2002:01:09:15 1000] GET /avsSignon/images/YikesterLogo.gif HTTP/1.1 304 - 192.168.1.254 - - [18/Dec/2002:01:09:15 1000] GET /avsSignon/images/visa.gif HTTP/1.1 304 - 192.168.1.254 - - [18/Dec/2002:01:09:15 1000] GET /avsSignon/images/mastercard.gif HTTP/1.1 304 - 192.168.1.254 - - [18/Dec/2002:01:09:16 1000] POST /avsSignon/servlet/signonMember HTTP/1.1 200 - r report/tit - - [18/Dec/2002:01:09:18 1000] GET /avsSignon/member/clubFront.jsp HTTP/1.1 302 - ster Club/TI - - [18/Dec/2002:01:09:18 1000] GET /avsSignon/member/clubFront-en.jsp HTTP/1.1 200 - 192.168.1.254 - - [18/Dec/2002:01:09:18 1000] GET /avsSignon/signon.css HTTP/1.1 304 - 192.168.1.254 - - [18/Dec/2002:01:09:19 1000] POST /avsSignon/servlet/signonMember?ily to a new locatio HTTP/1.1 302 - ountry/TITLE - - [18/Dec/2002:01:09:19 1000] GET /avsSignon/member/usrCountry-en.jsp HTTP/1.1 200 - 192.168.1.254 - - [18/Dec/2002:01:09:19 1000] GET /avsSignon/signon.css HTTP/1.1 304 - r report/tit - - [18/Dec/2002:01:09:19 1000] POST /avsSignon/servlet/signonMember HTTP/1.1 302 - ype of paymen - - [18/Dec/2002:01:09:19 1000] GET /avsSignon/member/usrPayment-en.jsp HTTP/1.1 200 - 192.168.1.254 - - [18/Dec/2002:01:09:20 1000] GET /avsSignon/signon.css HTTP/1.1 304 - 192.168.1.254 - - [18/Dec/2002:01:09:20 1000] GET /avsSignon/images/YikesterLogo.gif HTTP/1.1 304 - 192.168.1.254 - - [18/Dec/2002:01:09:20 1000] GET /avsSignon/images/visa.gif HTTP/1.1 304 - 192.168.1.254 - - [18/Dec/2002:01:09:20 1000] GET /avsSignon/images/mastercard.gif HTTP/1.1 304 - Any help is greatly appreciated. Stephan -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
JSP Buffer overflow
Hello all, I'm getting an Error in the screen, when clicking an link in any JSP page. The error is, "Error: JSP Buffer Overflow" What might b causing this error. I'm using Tomcat 3.2.1 / Debian GNU/Linux. Thankx in advance Regards Nagappan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]