]
Alessio Soldano commented on JBWS-2400:
---------------------------------------
this has also some doc on the Sun's feature:
Rewrite large attachment testcase
---------------------------------
Key: JBWS-2400
URL:
https://jira.jboss.org/jira/browse/JBWS-2400
Project: JBoss Web Services
Issue Type: Task
Security Level: Public(Everyone can see)
Components: jbossws-metro
Reporter: Alessio Soldano
The JBWS2000 testcase lives in framework but currently fails with JBossWS-Metro because
of a java.lang.OutOfMemoryError on client side. This can be prevented enabling the chunked
transfer which seems to be off by default with Metro:
((BindingProvider)port).getRequestContext().put("com.sun.xml.ws.transport.http.client.streaming.chunk.size",
8192);
Unfortunately we still get a OOME on server side so, more generally, we should split this
test and rewrite the Metro one using the available feature for large attachments
(StreamingAttachment). See
https://metro.dev.java.net/guide/Large_Attachments.html .
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: