我一直在观察Orbeon日志中的零星“读取超时”消息(在Linux上运行在Tomcat 7.0.59中的v4.9),这导致了其他明智的健康POST提交返回时表单提交错误。
2016-01-26 02:56:55,708 DEBUG XFormsServer - end opening connection {time (ms): "6010"}
2016-01-26 02:56:55,708 DEBUG XFormsServer - end connecting {time (ms): "6011"}
2016-01-26 02:56:55,708 DEBUG XFormsServer - start handling result
2016-01-26 02:56:55,708 DEBUG XFormsServer - end handling result {time (ms): "0"}
2016-01-26 02:56:55,708 DEBUG XFormsServer - end submission {time (ms): "6201"}
2016-01-26 02:56:55,731 ERROR XFormsServer - xforms-submit-error - setting throwable {throwable: "
+----------------------------------------------------------------------------------------------------------------------+
|An Error has Occurred |
|----------------------------------------------------------------------------------------------------------------------|
|Read timed out |
|----------------------------------------------------------------------------------------------------------------------|
|Application Call Stack |
|----------------------------------------------------------------------------------------------------------------------|
|http://core-stage.demo.marklogic.com:80/DataCollection/logs/2015-CORE-AR-SH.xml | | |
|----------------------------------------------------------------------------------------------------------------------|
|Exception: java.net.SocketTimeoutException |
梳理完orbeon日志后,我看到POST请求:
end opening connection {time (ms): "6010"}
end connecting {time (ms): "6011"}
start handling result
end handling result {time (ms): "0"}
end submission {time (ms): "6201"}
xforms-submit-error - setting throwable {throwable: "
...
即。六秒或更长时间导致超时但低于六秒:
end opening connection {time (ms): "5563"}
deserializing to mutable instance
end connecting {time (ms): "5565"}
start handling result
...
看起来很开心。
2009年在discuss.orbeon.com
上有一个类似的主题