javax.xml.ws.WebServiceException:java.io.IOException:写入服务器时出错(大型SOAP请求)

时间:2018-10-16 10:42:26

标签: java web-services glassfish-4 wsimport ibm-datapower

我打算将wsdl作为WSImport生成的客户端代码中的大型SOAP请求发送到DataPower作为请求的接收者,该客户端代码已部署在带有JDK 1.7的glassFish服务器4.1.1上,并确保一切正常通常,我从glassfish发送了一些小请求,并从Datapower获得了响应,但是当我尝试发送一个大请求(大约80MB)时,我在glassfish服务器日志中遇到了异常,并且datapower没有收到大请求,我无法确定在玻璃鱼,数据能力或网络级别发生问题的层。 以下例外:

  

[2018-10-16T11:50:52.967 + 0300] [glassfish 4.1] [SeverE] [] [] [tid:_ThreadID = 88 _ThreadName = Thread-9] [timeMillis:1539679852967] [levelValue:1000] [ [     javax.xml.ws.WebServiceException:java.io.IOException:写入服务器时出错               在com.sun.xml.ws.transport.http.client.HttpClientTransport.readResponseCodeAndMessage(HttpClientTransport.java:210)               在com.sun.xml.ws.transport.http.client.HttpTransportPipe.createResponsePacket(HttpTransportPipe.java:241)               在com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:232)               在com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:145)               在com.sun.xml.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:139)               在com.sun.xml.ws.api.pipe.Fiber .__ doRun(Fiber.java:1136)               在com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:1050)               在com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:1019)               在com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:877)               在com.sun.xml.ws.client.Stub.process(Stub.java:463)               在com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:191)               在com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:108)               在com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:92)               在com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:161)               在com.sun.proxy。$ Proxy388.payrollSubmit2(未知来源)               在src.sa.mof.xocialive.configuration.jobs.JobV2HelperEJB.help(JobV2HelperEJB.java:121)               在sun.reflect.GeneratedMethodAccessor96.invoke(未知来源)               在sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)               在java.lang.reflect.Method.invoke(Method.java:606)               在org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1081)               在org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1153)               在com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:4786)               在com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:656)               在com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:822)               在com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:608)               在org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:64)               在org.jboss.weld.ejb.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:52)               在sun.reflect.GeneratedMethodAccessor65.invoke(未知来源)               在sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)               在java.lang.reflect.Method.invoke(Method.java:606)               在com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:883)               在com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:822)               在com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:608)               在com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doCall(SystemInterceptorProxy.java:163)               在com.sun.ejb.containers.interceptors.SystemInterceptorProxy.aroundInvoke(SystemInterceptorProxy.java:140)               在sun.reflect.GeneratedMethodAccessor67.invoke(未知来源)               在sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)               在java.lang.reflect.Method.invoke(Method.java:606)               在com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:883)               在com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:822)               在com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:369)               在com.sun.ejb.containers.BaseContainer .__ intercept(BaseContainer.java:4758)               在com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:4746)               在com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:212)               在com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:88)               com.sun.proxy。$ Proxy252.help(未知来源)               在src.sa.mof.xocialive.configuration.jobs.JobHelperEJBImpleRemote.help(JobHelperEJBImpleRemote.java:39)               在sun.reflect.GeneratedMethodAccessor95.invoke(未知来源)               在sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)               在java.lang.reflect.Method.invoke(Method.java:606)               在org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1081)               在org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1153)               在com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:4786)               在com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:656)               在com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:822)               在com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:608)               在org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:73)               在org.jboss.weld.ejb.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:52)               在sun.reflect.GeneratedMethodAccessor65.invoke(未知来源)               在sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)               在java.lang.reflect.Method.invoke(Method.java:606)               在com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:883)               在com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:822)               在com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:608)               在com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doCall(SystemInterceptorProxy.java:163)               在com.sun.ejb.containers.interceptors.SystemInterceptorProxy.aroundInvoke(SystemInterceptorProxy.java:140)               在sun.reflect.GeneratedMethodAccessor67.invoke(未知来源)               在sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)               在java.lang.reflect.Method.invoke(Method.java:606)               在com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:883)               在com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:822)               在com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:369)               在com.sun.ejb.containers.BaseContainer .__ intercept(BaseContainer.java:4758)               在com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:4746)               在com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:205)               在com.sun.ejb.containers.EJBObjectInvocationHandlerDelegate.invoke(EJBObjectInvocationHandlerDelegate.java:79)               com.sun.proxy。$ Proxy251.help(未知来源)               在sun.reflect.GeneratedMethodAccessor94.invoke(未知来源)               在sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)               在java.lang.reflect.Method.invoke(Method.java:606)               在com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:239)               在com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:150)               在com.sun.corba.ee.impl.presentation.rmi.codegen.CodegenStubBase.invoke(CodegenStubBase.java:226)               在src.sa.mof.xocialive.ugpadapter.RemoteServices.ejb.__JobHelperEJBRemote_Remote_DynamicStub.help(src / sa / mof / xocialive / ugpadapter / RemoteServices / ejb / __ JobHelperEJBRemote_Remote_Dynamic)               在src.sa.mof.xocialive.ugpadapter.RemoteServices.ejb._JobHelperEJBRemote_Wrapper.help(src / sa / mof / xocialive / ugpadapter / RemoteServices / ejb / _JobHelperEJBRemote_Wrapper.java)               在src.sa.mof.xocialive.configuration.jobs.MOFPayRollJob.executeAcualJob(MOFPayRollJob.java:36)               在src.sa.mof.xocialive.configuration.jobs.DisallowConcurrentExecution.execute(DisallowConcurrentExecution.java:23)               在org.quartz.core.JobRunShell.run(JobRunShell.java:216)               在org.quartz.simpl.SimpleThreadPool $ WorkerThread.run(SimpleThreadPool.java:549)   引起原因:java.io.IOException:写入服务器时出错               在sun.net.www.protocol.http.HttpURLConnection.writeRequests(HttpURLConnection.java:625)               在sun.net.www.protocol.http.HttpURLConnection.writeRequests(HttpURLConnection.java:637)               在sun.net.www。]]

0 个答案:

没有答案