Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 53625 invoked from network); 5 Jun 2000 08:35:32 -0000 Received: from biff.ibm.net.il (192.115.72.164) by locus.apache.org with SMTP; 5 Jun 2000 08:35:32 -0000 Received: from il.ibm.com (gvul.haifa.il.ibm.com [192.115.216.67]) by biff.ibm.net.il (Postfix) with ESMTP id 4F8C01027; Mon, 5 Jun 2000 11:35:22 +0300 (IDT) Message-ID: <393B740C.4D465629@il.ibm.com> Date: Mon, 05 Jun 2000 11:34:04 +0200 From: Gal Shachor Reply-To: shachor@il.ibm.com Organization: IBM X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en-US,en MIME-Version: 1.0 To: tomcat-dev@jakarta.apache.org Cc: tomcat-user@jakarta.apache.org Subject: Re: bug (?) with nsapi redirector on iPlanet 4.1 ? References: <393A2773.AF0F41EE@lyrisoft.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Taso Lyristis wrote: > > Below are some log excerpts (nsapi.log, tomcat stderr, and tomcat.log) > that occur right after I click submit: > > ==> nsapi.log <== > [jk_worker.c (123)]: Into wc_get_worker_for_name ajp12 > [jk_worker.c (127)]: wc_get_worker_for_name, done found a worker > [jk_ajp12_worker.c (223)]: Into jk_worker_t::get_endpoint > [jk_ajp12_worker.c (121)]: Into jk_endpoint_t::service > [jk_connect.c (108)]: Into jk_open_socket > [jk_connect.c (115)]: jk_open_socket, try to connect socket = 40 > [jk_connect.c (124)]: jk_open_socket, after connect ret = 0 > [jk_connect.c (132)]: jk_open_socket, set TCP_NODELAY to on > [jk_connect.c (140)]: jk_open_socket, return, sd = 40 > [jk_ajp12_worker.c (134)]: In jk_endpoint_t::service, sd = 40 > [jk_ajp12_worker.c (357)]: Into ajpv12_handle_request > [jk_ajp12_worker.c (361)]: ajpv12_handle_request, sending the ajp12 > start sequence > [jk_ajp12_worker.c (395)]: ajpv12_handle_request, sending the headers > [jk_ajp12_worker.c (414)]: ajpv12_handle_request, sending the > terminating mark > [jk_ajp12_worker.c (427)]: ajpv12_handle_request, sending the request > body > [jk_ajp12_worker.c (441)]: ajpv12_handle_request, read 300 bytes > [jk_ajp12_worker.c (449)]: ajpv12_handle_request, sent 300 bytes > [jk_ajp12_worker.c (441)]: ajpv12_handle_request, read 5 bytes > [jk_ajp12_worker.c (449)]: ajpv12_handle_request, sent 5 bytes > [jk_ajp12_worker.c (441)]: ajpv12_handle_request, read 2 bytes > [jk_ajp12_worker.c (449)]: ajpv12_handle_request, sent 2 bytes > [jk_ajp12_worker.c (437)]: In ajpv12_handle_request, failed to read from What's written here is that the nsapi_redirector failed to read your upload data from the web server! It first read 300byte and then another 5,5,2 and 2 bytes but then the server returned an error response! The exact loop that breaks is for(i = 0 ; i < l ; i++) { ch = netbuf_getc(inbuf); if(IO_ERROR == ch || IO_EOF == ch) { break; } buf[i] = ch; } So as you see, the server returns information that specifies end of file or even worst IO error. As a result of this error the redirector closed the connection to Tomcat and this is why you got the exception. I must say that this is rather puzzling, but I do not think that this is a redirector bug, I mean, I act according to the "instruction" that the server gives me... It looks as if Netscape fails to read the uploaded file. Gal Shachor