Domino限制与CXF Web服务?

时间:2017-06-01 19:50:47

标签: web-services web cxf lotus-domino

我正在开发的xpages应用程序使用一种Web服务,该服务存储附加到存储库中的xpages的文件。为此,我调用了一个用Java开发的代理,其客户端使用Web服务是从框架APACHE CXF创建的。 存储库中存储的文件最大为2.5 MB,但Web服务提供的错误信息如下所示。我通过Eclipse执行了与Web服务相同的过程,并且对于大于2.5 MB的文件没有发生错误。有谁知道问题是否与某些Domino服务器配置有关?它可能是Domino服务器和存储库所在的服务器之间的通信问题吗?有没有人有类似的问题?

Java.io.IOException:写入服务器时出错

HTTP JVM: javax.xml.ws.WebServiceException: java.io.IOException: Error 
writing to server
HTTP JVM:   at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.readResponseCodeAndMessage(HttpClientTransport.java:213)
HTTP JVM:   at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:163)
HTTP JVM:   at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:95)
HTTP JVM:   at com.sun.xml.internal.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:117)
HTTP JVM:   at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Fiber.java:599)
HTTP JVM:   at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Fiber.java:558)
HTTP JVM:   at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Fiber.java:543)
HTTP JVM:   at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Fiber.java:440)
HTTP JVM:   at com.sun.xml.internal.ws.client.Stub.process(Stub.java:223)
HTTP JVM:   at com.sun.xml.internal.ws.client.sei.SEIStub.doProcess(SEIStub.java:136)
HTTP JVM:   at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:110)
HTTP JVM:   at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:90)
HTTP JVM:   at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:119)
HTTP JVM:   at com.sun.proxy.$Proxy30.incluirDossie(Unknown Source)
HTTP JVM:   at JavaAgent.NotesMain(Unknown Source)
HTTP JVM:   at lotus.domino.AgentBase.runNotes(Unknown Source)
HTTP JVM:   at lotus.domino.NotesThread.run(Unknown Source)
HTTP JVM: Caused by: 
HTTP JVM: java.io.IOException: Error writing to server
HTTP JVM:   at sun.net.www.protocol.http.HttpURLConnection.writeRequests(HttpURLConnection.java:594)
HTTP JVM:   at sun.net.www.protocol.http.HttpURLConnection.writeRequests(HttpURLConnection.java:606)
HTTP JVM:   at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1228)
HTTP JVM:   at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:390)
HTTP JVM:   at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.readResponseCodeAndMessage(HttpClientTransport.java:210)
HTTP JVM:   ... 16 more

1 个答案:

答案 0 :(得分:0)

您是否检查过Domino服务器的“请求内容的最大大小”和“最大POST数据”设置?默认值通常分别为10MB和无限(0),但可能已设置为较低的值。这些设置位于服务器文档中,然后转到“Internet协议 - Domino Web引擎”选项卡。检查值是什么,并根据需要进行更新。如果更改设置,则需要重新启动HTTP。