You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2010/04/01 18:31:45 UTC
DO NOT REPLY [Bug 49035] New: data lost when post a
multipart/form-data form
https://issues.apache.org/bugzilla/show_bug.cgi?id=49035
Summary: data lost when post a multipart/form-data form
Product: Tomcat Connectors
Version: 1.2.28
Platform: All
OS/Version: Windows XP
Status: NEW
Severity: major
Priority: P2
Component: mod_jk
AssignedTo: dev@tomcat.apache.org
ReportedBy: alexandre.petrillo@gmail.com
I have a communication problem between Apache and Tomcat.
When a post a big form with enctype="multipart/form-data". Sometimes some data
are lost.
I actived jk's log (with JkLogFile "logs/mod_jk.log" and JkLogLevel trace)
and i see 2 packet to transport form's informations.
And the lost data is localized between two packet like this :
the lost data is :
<input type="text" name="utilisationRegroupement[1]" value="46.0">
and packets are :
------7da28a1a20
82a..Content-Dis
position:.form-d
ata;.name="utili
sationRegroupeme
nt[1]"....46.0..
----------------
[Second packet]
.4....----------
---7da28a1a2082a
..Content-Dispos
ition:.form-data
;.name="etatRegr
oupement[1]"....
The problem is not systematic, it's depend of other input's size.
When the transfert is correct i can see this :
-------7da1d0620
82a..Content-Dis
position:.form-d
ata;.name="utili
sationRegroupeme
nt[1]"....46.0..
----------------
-------------7da
1d062082a..Conte
nt-Disposition:.
form-data;.name=
"etatRegroupemen
.4.%.#t[1]"....E
..--------------
---------------7
da1d062082a..Con
tent-Disposition
:.form-data;.nam
It's not same log.
I use
apache 2.2.8
mod_jk 1.2.30 (win32)
Tomcat 6.x
I'm sure it's a mod_jk with enctype="multipart/form-data", because without
apache, or with mod_prox, or without enctype, i havn't problem.
Thanks
AP
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 49035] data lost when post a multipart/form-data form
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49035
Rainer Jung <ra...@kippdata.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #4 from Rainer Jung <ra...@kippdata.de> ---
I can only reproduce this problem with commons fileupload 1.2, the version you
were using. After updating to commons fileupload 1.2.1 I can no longer
reproduce, also not with the latest commons fileupload 1.3.1.
The problem seems to be independent of mod_jk or common io version.
>From the commons fileupload changelog I guess this is either
https://issues.apache.org/jira/browse/FILEUPLOAD-134
or
https://issues.apache.org/jira/browse/FILEUPLOAD-135
Therefore closing as INVALID.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49035] data lost when post a multipart/form-data
form
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49035
--- Comment #3 from M8R-3mye921@thisisnotmyrealemail.com 2012-02-08 12:29:38 UTC ---
setting the
packetSize Attribute in jboss server.xml fixed the problem for me
<Connector port="8009" address="${jboss.bind.address}" protocol="AJP/1.3"
packetSize="20000"
emptySessionPath="true" enableLookups="false" redirectPort="8443" />
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49035] data lost when post a multipart/form-data
form
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49035
Michael Diener <md...@gmx.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mdxyz@gmx.de
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49035] data lost when post a multipart/form-data
form
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49035
--- Comment #1 from Alexandre PETRILLO <al...@gmail.com> 2010-07-23 10:48:30 EDT ---
Created an attachment (id=25798)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25798)
a jsp testcase
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49035] data lost when post a multipart/form-data
form
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49035
--- Comment #2 from Alexandre PETRILLO <al...@gmail.com> 2010-07-23 10:52:16 EDT ---
This is a simple jsp testcase. There is a form with
enctype="multipart/form-data" and 300 inputs. When i submit (more that one
time) my form, sometimes, some data are lost !
This is very simple to reproduce, just a jsp with lib common-fileupload.jar
This is my apache configuration
LoadModule proxy_module modules/mod_proxy.so
JkWorkerProperty worker.list=myappli
JkWorkerProperty worker.myappli.type=ajp13
JkWorkerProperty worker.myappli.host=localhost
JkWorkerProperty worker.myappli.port=8009
JkMount /myappli/* myappli
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org