我正在开发的XPAGES应用程序消耗了一个存储在存储库中XPAGE的文件的Web服务。为此,我称为在Java中开发的代理,其客户端以框架Apache CXF创建了Web服务。在存储库中存储了高达2.5 MB的文件,但是Web服务的较大文件给出了以下错误。我通过Eclipse执行了相同的过程,而大于2.5 MB的文件并未发生错误。有人知道问题是否与某些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
您是否检查了多米诺服务器的"请求内容的最大大小"one_answers"最大发布数据"设置?默认值通常分别为10MB和无限(0(,但可能已设置为较低的东西。这些设置在服务器文档中找到,然后转到" Internet协议-Domino Web引擎"选项卡。检查值是什么,并根据需要进行更新。如果更改设置,则需要重新启动HTTP。