Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 75264 invoked by uid 500); 26 Sep 2001 12:39:32 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: tomcat-user@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 75252 invoked from network); 26 Sep 2001 12:39:31 -0000 Message-ID: <3BB1CC56.36570408@sympatico.ca> Date: Wed, 26 Sep 2001 08:38:46 -0400 From: Raimee X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: tomcat-user@jakarta.apache.org Subject: Re: Apache -> mod_webapp -> Tomcat 4 with multipart/form-data encodingproblem References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I have the Oreilly MultiPart working on an NT Server with Tomcat 4.0. I am running the upload servlet through the beta 7 webapp_mod, as there isn't a final release available. This works. Jaek wrote: > I've got a small test webapp that uses > com.oreilly.servlet.MultipartRequest in order to allow file uploading. > > The following occurs while using Tomcat 4.0: > > When I go to the web-app directly via the Tomcat server via port 8080 > everything works fine. > > When I go through Apache via mod_webapp to the Tomcat server I get the > exception "java.io.IOException: unexpected end of part". > > Note that everything seems to be setup properly - I can execute the > servlets in the /examples webapp just fine. > > Note also that it works correctly with the same Linux install and Apache > setup (on a different machine), but with Tomcat 3.2 using mod_jk. > > Given the above information I suspect that it's mod_webapp that is having > the problems. > > I am planning on reading through the any docs I can find on mo_webapp, but > won't be able to do so before the weekend. However, I would like to have > this in place and working by Friday evening as we will be using this > install for servlet development (thus before I have a chance to dig in > deeper). > > If you have an ideas or suggestions on how to get this working correctly, > please let me know. > > Thanks in advance, > --Jaek Smith