Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

MultipartRequest class with Tomcat 3.2.1

Fausto Zorzi

2003-10-08

Replies:

Hi, I have a problem using the com.oreilly.servlet.MultipartRequest class
by Jason Hunter (documentation at http://www.servlets.com/cos/index.html)
with Tomcat 3.2.1 and Apache 1.3.20.
The configuration I'm using is the following:
- RedHat 7.3
- JDK 1.4.1_01
- Apache 1.3.20
- Tomcat 3.2.1
- Servlet 2.3

I'm using JK for integrating Apache with Tomcat, with the ajp13 protocol.
Every other feature of my web application works fine, it hangs only when
trying to upload a file using the MultipartRequest class mentioned above.
The problem arises when constructing the MultipartRequest object:

  mreq=new MultipartRequest([HttpServletRequest],[path],[max_size]);
 
It gives no Exception, it just hangs with no further messages.

Consider that the same web application, with exactly the same configuration
but Resin 2.0.4 instead of Tomcat 3.2.1, works perfectly.

I tried to use a newer version of Tomcat, but I can't get Tomcat 4.x and
Apache 1.3.20 to work together. If the problem can be solved using a more
recent version of Tomcat, can someone please tell me where I can find a
decent explanation of how to make it work with Apache? The documentation
from the Jakarta-Apache site is very confusing, according to me...

Thank you in advance :-)

--

Fausto Zorzi
NetiX s.r.l.
fausto.zorzi@(protected)




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.