Home Help Center

TimeoutException throws at Outgoing.cpp:183

Yunqiao YinYunqiao Yin Member Yin YunqiaoOrganization: BaosteelProject: real time process control system ✭✭
Ice Version :3.1.0
if(timedOut)
            {
                //
                // Must be called outside the synchronization of this
                // object.
                //
                _connection->exception(TimeoutException(__FILE__, __LINE__));//I catch a TimeoutException throwed from here!

                //
                // We must wait until the exception set above has
                // propagated to this Outgoing object.
                //
                {
                    IceUtil::Monitor<IceUtil::Mutex>::Lock sync(*this);

                    while(_state == StateInProgress)
                    {
                        wait();
                    }
                }
            }

:confused:
Would you please tell me what's the mostly probably reason about the exception? I confused with it? Connection timeout or invoke timeout or other reason ?
Thanks.

Comments

  • matthewmatthew NL, CanadaMember Matthew NewhookOrganization: ZeroC, Inc.Project: Internet Communications Engine ✭✭✭
    The connection establishment has already occurred by this point so this would be a request timeout. Connection timeouts also result in a different exception (ConnectTimeoutException).

    You might want to enable network tracing in order to get more information about general network activity. There are several levels of network tracing (0, 1, 2, 3) each providing more & more information.

    If you are communicating only over a LAN and are not using extremely short timeout values and don't have long running operations (for long running operations you should use AMD anyway) typically a timeout exception would mean that you have a deadlock in your servers.
Sign In or Register to comment.