I was getting a step forward while using the reference implementation
large_upload from https://jax-ws.dev.java.net/2.1.7/
Now I have the following problem. (I'm using maven)
Nov 28, 2009 9:44:32 PM org.apache.cxf.phase.PhaseInterceptorChain
doIntercept
WARNING: Application has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: loader constraint violation: loader
(instance of <bootloader>) previously initiated loading for a different type
with name "javax/activation/DataHandler"
at
org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:148)
Any help would be appreciated!
2009/11/27 baeschtu baeschtu <[email protected]>
> Hi list
> for a fileupload I need a mtom enabled webservice (wsdl first.) I managed
> to write a working wsdl with wsdl2java
> When I send large binaries ~5GB I got a:
>
> WARNING: Interceptor has thrown exception, unwinding now
> org.apache.cxf.interceptor.Fault: Unmarshalling Error: Java heap space
>
> When I check with wireshark, for small files it looks like SwA seams to
> work:
> MIME Multipart Media Encapsulation, Type: multipart/related, Boundary:
> "uuid:910305cf-e4c6-45cd-a0f6-4f083b49c6c4"
>
> When trying to upload large files I see only "Continuation or non-HTTP
> traffic" and then follows the OutOfMemory exception.
> 35506 5625.427090 127.0.0.1 127.0.0.1 HTTP Continuation or
> non-HTTP traffic.
>
> I also have the xmime:expectedContentTypes="application/octet-stream" in
> and DataHandlers are generated.
> Has someone a working example, or some hints?
>
> Thanks
> Bast
>