Bug 783526 - Web Services component causes excesive data fragmentation
Summary: Web Services component causes excesive data fragmentation
Keywords:
Status: NEW
Alias: None
Product: JBoss Enterprise Application Platform 5
Classification: JBoss
Component: jbossas
Version: 5.1.2
Hardware: All
OS: All
unspecified
urgent
Target Milestone: ---
: ---
Assignee: Fernando Nasser
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-20 17:55 UTC by Pilar Bravo
Modified: 2012-01-20 17:56 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---


Attachments (Terms of Use)
Modified class (1.19 KB, patch)
2012-01-20 17:55 UTC, Pilar Bravo
no flags Details | Diff
pcap capture showing fragmentation (341.60 KB, application/vnd.tcpdump.pcap)
2012-01-20 17:56 UTC, Pilar Bravo
no flags Details
pcap capture showing fragmentation (682.90 KB, application/vnd.tcpdump.pcap)
2012-01-20 17:56 UTC, Pilar Bravo
no flags Details

Description Pilar Bravo 2012-01-20 17:55:45 UTC
Created attachment 556557 [details]
Modified class

Description of problem:

When calling web services from a client, and using WS-Security, there is a generated chunk for every tag inside the XML document, causing excesive fragmentation. This chunk is generated due to an unnecesary flush in org.jboss.common.DOMWriter. See attached the modified class.
In the modified class there is also a new system property domwriter.flush in order to be able to activate/deactivate the change with the option -Ddomwriter.flush

Version-Release number of selected component (if applicable):

jbossws-common.jar included in JBoss EAP 5.x

How reproducible:

Create a web service and capture network packets in order to see the fragmentation. I also attach pcap files showing the problem.

Comment 1 Pilar Bravo 2012-01-20 17:56:28 UTC
Created attachment 556558 [details]
pcap capture showing fragmentation

Comment 2 Pilar Bravo 2012-01-20 17:56:54 UTC
Created attachment 556559 [details]
pcap capture showing fragmentation


Note You need to log in before you can comment on or make changes to this bug.