tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sandy McPherson" <allse...@webmind.nl>
Subject RE: multipart requests and file uploads problems on the Apache connection
Date Thu, 12 Apr 2001 07:45:16 GMT
You need tp use Ajp12 for multipart request servlets.
Just specify something like this
#
# The following line mounts all JSP files and the /spqr/servlet/ uri to
tomcat
#
JkMount /spqr/servlet/* ajp13
JkMount /spqr/servlet/LogoUpload ajp12 # Ajp13 won't handle the multi-part
request properly
JkMount /spqr/*.jsp ajp13

I believe there is a patch somewhere in the CVS repository, but seeing as we
Upload Files once in a blue-moon, and the "slower" Ajp12 does the job, I
haven't bothered. Never fix a running system!

Sandy

> -----Original Message-----
> From: Bard [mailto:bard@orgdot.no]
> Sent: Sunday, April 08, 2001 4:19 PM
> To: allsetbv@webmind.nl
> Cc: bard@orgdot.no
> Subject: multipart requests and file uploads problems on the Apache
> connection
>
>
> Hello Sandy McPherson,
>
>
> Sorry to be mailing you directly, but I've had exactly the problems you
> described in you posting
>
> (http://archive.covalent.net/jakarta/tomcat-user/2000/12/0612.xml)
>
> and have been trying to find an answer for weeks now. Have you found out
> how Apache+mod_jk+tomcat can be configured properly to allow binary file
> uploads using servlets or JSPs? I tried the code that uses
> PerTools as well
> as several other variations with exactly the same "infinite loop" of
> "Y"s appearing in the console where tomcat was started.
>
> Very frustrated,
>
> Bard
>
>


Mime
View raw message