tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 38464] - Data corruption when using APR
Date Thu, 02 Feb 2006 13:29:45 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38464>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38464


psamek@redash.cz changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WORKSFORME                  |




------- Additional Comments From psamek@redash.cz  2006-02-02 14:29 -------
When APR and compression="off" are used I will get only:
- 16Kb (yes 16384B) output from jsp on AMD64 (2xOpteron, Sun JDK
1.5.0.06,APR 1.2.2,tomcat-native-1.1.1 from the 5.5.15 distribution, gcc
3.4.4, StockTomcat 5.5.15)
- 64Kb output from jsp on Intel P4 (Sun JDK 1.5.0.06,APR
1.2.2,tomcat-native-1.1.1 from the 5.5.15 distribution, gcc 3.4.4,
StockTomcat 5.5.15).
These sizes are reported by firefox 1.5. If I use wget, then the output
seems complete (goes beyond 64Kb), but some corruptions take place (f.e.
"</psp;" instead of "</p>&nbsp;"). The jsp gets some data from MySQL db.

Binary data (.mp3) and static text/plain are OK, but static html or xml not.
With wget and html I have similar reconnecting behavior like described
in the initial report. The simple test - serving only static web.xml from tomcat
distribution - looks so with wget:
pavel$ wget http://myserver.cz:8080/web.xml
--14:23:41--  http://myserver.cz:8080/web.xml
           => `web.xml'
Resolving myserver.cz... x.x.x.x
Connecting to myserver.cz|x.x.x.x|:8080... connected.
HTTP request sent, awaiting response... 200 OK
Length: 45,215 (44K) [application/xml]

78% [===========================>         ] 35,279        --.--K/s    ETA 00:05

14:24:02 (1.64 KB/s) - Connection closed at byte 35279. Retrying.

--14:24:02--  http://myserver.cz:8080/web.xml
  (try: 2) => `web.xml'
Connecting to myserver.cz|x.x.x.x|:8080... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 45,215 (44K), 9,936 (9.7K) remaining [application/xml]

100%[++++++++++++++++++++++++++++========>] 45,215        --.--K/s             

14:24:02 (13.12 MB/s) - `web.xml' saved [45215/45215]


In the case of APR and compression="on" the .jsp are OK (but the
reported size is far below the above limits, so I can't say if it works
in general).

Maybe I have to "set some option" in server.xml or in configure for apr, but
which one???

Similar output has been reported: [1],[2]
[1] http://marc.theaimsgroup.com/?l=tomcat-user&m=113711225801348&w=2
[2] http://marc.theaimsgroup.com/?l=tomcat-user&m=113819615811780&w=2


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message