原因:ICE idempotent operation 存在超時重試機制導致。
解決方法:設置參數,Ice.Retry.Intervals=-1
Ice.RetryIntervals
Synopsis
Ice.RetryIntervals=num [num ...]
Description
This property defines the number of times an operation is automatically retried and the delay between each retry. For example, if the property is set to 0 100 500, the operation is retried 3 times: immediately after the first failure, again after waiting 100ms after the second failure, and again after waiting 500ms after the third failure. The default value (0) means Ice retries once immediately. If set to -1, no retry occurs.
另:可通過設置參數Ice.Trace.Network=3來跟蹤Ice建立連接尋找服務器過程。
Ice.Trace.Network
Synopsis
Ice.Trace.Network=num
Description
Controls the trace level for low-level network activities such as connection establishment and read/write operations:
| 0 |
No network trace (default). |
| 1 |
Trace successful connection establishment and closure. |
| 2 |
Like 1, but also trace attempts to bind, connect, and disconnect sockets. |
| 3 |
Like 2, but also trace data transfer, the published endpoints for an object adapter, and the current list of local addresses for an endpoint that uses the wildcard address. |
http://doc.zeroc.com/display/Ice35/Ice+Trace+Properties
