John Fletcher
2005-04-08 16:15:10 UTC
TAO VERSION: 1.4.4
ACE VERSION: 5.4.4
HOST MACHINE and OPERATING SYSTEM:
Windows 2000 on Pentium 4 PC
TARGET MACHINE and OPERATING SYSTEM, if different from HOST:
COMPILER NAME AND VERSION (AND PATCHLEVEL):
Microsoft Visual C++ 6.0 with SP6
CONTENTS OF $ACE_ROOT/ace/config.h:
#define ACE_HAS_STANDARD_CPP_LIBRARY 1
#define ACE_HAS_STDCPP_STL_INCLUDES 1
#include "ace/config-Win32.h"
CONTENTS OF $ACE_ROOT/include/makeinclude/platform_macros.GNU
(unless
this isn't used in this case, e.g., with Microsoft Visual C++):
CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features
(used by MPC when you generate your own makefiles):
AREA/CLASS/EXAMPLE AFFECTED:
Relative Roundtrip Timeout
DOES THE PROBLEM AFFECT:
COMPILATION?
LINKING?
EXECUTION?
Yes
OTHER (please specify)?
SYNOPSIS:
Timeout during connect phase of a remote invocation throws a TRANSIENT
rather than a TIMEOUT exception.
DESCRIPTION:
Use Messaging::RELATIVE_RT_TIMEOUT_POLICY_TYPE to set a roundtrip
timeout.
Then attempt an operation on an object reference, the remote
server for which is disconnected from the network (tcp/ip).
After the timeout expires, an exception is thrown. So far so good.
But the exception is not CORBA::TIMEOUT as it used to be in earlier
versions of TAO but is CORBA::TRANSIENT.
If the timeout is in the request rather than the connect phase, the
exception is CORBA::TIMEOUT as expected.
REPEAT BY:
SAMPLE FIX/WORKAROUND:
Regards,
John Fletcher
ACE VERSION: 5.4.4
HOST MACHINE and OPERATING SYSTEM:
Windows 2000 on Pentium 4 PC
TARGET MACHINE and OPERATING SYSTEM, if different from HOST:
COMPILER NAME AND VERSION (AND PATCHLEVEL):
Microsoft Visual C++ 6.0 with SP6
CONTENTS OF $ACE_ROOT/ace/config.h:
#define ACE_HAS_STANDARD_CPP_LIBRARY 1
#define ACE_HAS_STDCPP_STL_INCLUDES 1
#include "ace/config-Win32.h"
CONTENTS OF $ACE_ROOT/include/makeinclude/platform_macros.GNU
(unless
this isn't used in this case, e.g., with Microsoft Visual C++):
CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features
(used by MPC when you generate your own makefiles):
AREA/CLASS/EXAMPLE AFFECTED:
Relative Roundtrip Timeout
DOES THE PROBLEM AFFECT:
COMPILATION?
LINKING?
EXECUTION?
Yes
OTHER (please specify)?
SYNOPSIS:
Timeout during connect phase of a remote invocation throws a TRANSIENT
rather than a TIMEOUT exception.
DESCRIPTION:
Use Messaging::RELATIVE_RT_TIMEOUT_POLICY_TYPE to set a roundtrip
timeout.
Then attempt an operation on an object reference, the remote
server for which is disconnected from the network (tcp/ip).
After the timeout expires, an exception is thrown. So far so good.
But the exception is not CORBA::TIMEOUT as it used to be in earlier
versions of TAO but is CORBA::TRANSIENT.
If the timeout is in the request rather than the connect phase, the
exception is CORBA::TIMEOUT as expected.
REPEAT BY:
SAMPLE FIX/WORKAROUND:
Regards,
John Fletcher