0 Replies Latest reply on Mar 4, 2015 4:49 PM by Venkat Gottipati

    Web Service call fails when sending large byte stream

    Venkat Gottipati Newbie

      Hi -

       

      We are using JBoss EAP 6.1. I'm consuming a SOAP web service from a .NET client, passing in a large byte stream (2M+). I used the same piece of code in Jetty server (via Eclipse) and had no issues. When I deploy it to Production on JBoss server, I get a SOAP Fault Exception as below. The other end of web service received only partial sets of data. Is there any way I can configure in JBoss to send large amount of data or is it timing out, I am not sure.

       

      Please help.

       

      -Venkat

       

      Here is the stack trace.

       

      16:02:17,980 ERROR [org.jboss.stdio.AbstractLoggingWriter] javax.xml.ws.soap.SOAPFaultException: Null or zero length.

       

       

      16:02:17,981 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:156)

       

       

      16:02:17,982 ERROR [org.jboss.stdio.AbstractLoggingWriter] at com.sun.proxy.$Proxy92.enroll(Unknown Source)

       

       

      16:02:17,982 ERROR [org.jboss.stdio.AbstractLoggingWriter] at com.dsc.seeker.service.EventsServiceImpl.enrollmentRequest(EventsServiceImpl.java:373)

       

       

      16:02:17,982 ERROR [org.jboss.stdio.AbstractLoggingWriter] at com.dsc.seeker.service.EventsServiceImpl.getEvents(EventsServiceImpl.java:110)

       

       

      16:02:17,983 ERROR [org.jboss.stdio.AbstractLoggingWriter] at com.dsc.seeker.service.EventsServiceImpl$$FastClassByCGLIB$$3f65da41.invoke(<generated>)

       

       

      16:02:17,983 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)

       

       

      16:02:17,984 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:698)

       

       

      16:02:17,984 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)

       

       

      16:02:17,985 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96)

       

       

      16:02:17,985 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260)

       

       

      16:02:17,985 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94)

       

       

      16:02:17,986 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

       

       

      16:02:17,986 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:631)

       

       

      16:02:17,986 ERROR [org.jboss.stdio.AbstractLoggingWriter] at com.dsc.seeker.service.EventsServiceImpl$$EnhancerByCGLIB$$c0380149.getEvents(<generated>)

       

       

      16:02:17,987 ERROR [org.jboss.stdio.AbstractLoggingWriter] at com.dsc.seeker.controller.EventController.getEnrollmentEvents(EventController.java:110)

       

       

      16:02:17,987 ERROR [org.jboss.stdio.AbstractLoggingWriter] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

       

       

      16:02:17,987 ERROR [org.jboss.stdio.AbstractLoggingWriter] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

       

       

      16:02:17,988 ERROR [org.jboss.stdio.AbstractLoggingWriter] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

       

       

      16:02:17,988 ERROR [org.jboss.stdio.AbstractLoggingWriter] at java.lang.reflect.Method.invoke(Unknown Source)

       

       

      16:02:17,988 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:219)

       

       

      16:02:17,989 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132)

       

       

      16:02:17,989 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104)

       

       

      16:02:17,989 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:745)

       

       

      16:02:17,990 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:686)

       

       

      16:02:17,990 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)

       

       

      16:02:17,990 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925)

       

       

      16:02:17,991 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)

       

       

      16:02:17,991 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:936)

       

       

      16:02:17,991 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:827)

       

       

      16:02:17,992 ERROR [org.jboss.stdio.AbstractLoggingWriter] at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)

       

       

      16:02:17,992 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:812)

       

       

      16:02:17,992 ERROR [org.jboss.stdio.AbstractLoggingWriter] at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

       

       

      16:02:17,992 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)

       

       

      16:02:17,993 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)

       

       

      16:02:17,993 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)

       

       

      16:02:17,993 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)

       

       

      16:02:17,994 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)

       

       

      16:02:17,994 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

       

       

      16:02:17,994 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)

       

       

      16:02:17,995 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

       

       

      16:02:17,995 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)

       

       

      16:02:17,995 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

       

       

      16:02:17,996 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)

       

       

      16:02:17,996 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

       

       

      16:02:17,996 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)

       

       

      16:02:17,996 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

       

       

      16:02:17,997 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)

       

       

      16:02:17,997 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

       

       

      16:02:17,997 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)

       

       

      16:02:17,998 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

       

       

      16:02:17,998 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:183)

       

       

      16:02:17,998 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

       

       

      16:02:17,999 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)

       

       

      16:02:17,999 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

       

       

      16:02:17,999 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.springframework.security.web.session.ConcurrentSessionFilter.doFilter(ConcurrentSessionFilter.java:125)

       

       

      16:02:17,999 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

       

       

      16:02:18,000 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)

       

       

      16:02:18,000 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

       

       

      16:02:18,000 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)

       

       

      16:02:18,001 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)

       

       

      16:02:18,001 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343)

       

       

      16:02:18,001 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260)

       

       

      16:02:18,011 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)

       

       

      16:02:18,011 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)

       

       

      16:02:18,011 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)

       

       

      16:02:18,021 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149)

       

       

      16:02:18,021 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)

       

       

      16:02:18,021 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145)

       

       

      16:02:18,021 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)

       

       

      16:02:18,021 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)

       

       

      16:02:18,021 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336)

       

       

      16:02:18,021 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)

       

       

      16:02:18,021 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)

       

       

      16:02:18,021 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:920)

       

       

      16:02:18,021 ERROR [org.jboss.stdio.AbstractLoggingWriter] at java.lang.Thread.run(Unknown Source)

       

       

      16:02:18,021 ERROR [org.jboss.stdio.AbstractLoggingWriter] Caused by: org.apache.cxf.binding.soap.SoapFault: 2D image was null or 0 length.  This operation is not supported.

       

       

      16:02:18,021 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.unmarshalFault(Soap11FaultInInterceptor.java:75)

       

       

      16:02:18,021 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:46)

       

       

      16:02:18,021 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:35)

       

       

      16:02:18,021 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262)

       

       

      16:02:18,021 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:114)

       

       

      16:02:18,021 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.apache.cxf.binding.soap.interceptor.CheckFaultInterceptor.handleMessage(CheckFaultInterceptor.java:69)

       

       

      16:02:18,021 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.apache.cxf.binding.soap.interceptor.CheckFaultInterceptor.handleMessage(CheckFaultInterceptor.java:34)

       

       

      16:02:18,021 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262)

       

       

      16:02:18,021 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:800)

       

       

      16:02:18,021 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1696)

       

       

      16:02:18,021 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1532)

       

       

      16:02:18,021 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1440)

       

       

      16:02:18,021 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)

       

       

      16:02:18,031 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:659)

       

       

      16:02:18,031 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)

       

       

      16:02:18,031 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262)

       

       

      16:02:18,031 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:530)

       

       

      16:02:18,031 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:463)

       

       

      16:02:18,031 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:366)

       

       

      16:02:18,031 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:319)

       

       

      16:02:18,031 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)

       

       

      16:02:18,031 ERROR [org.jboss.stdio.AbstractLoggingWriter] at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:134)

       

       

      16:02:18,031 ERROR [org.jboss.stdio.AbstractLoggingWriter] ... 74 more