Please report new issues athttps://github.com/DOCGroup
The following diff is sufficient to break $(ACE_ROOT)/TAO/tests/Interceptors: --- server.cpp.orig Tue Feb 8 09:14:24 2000 +++ server.cpp Tue Feb 8 09:13:04 2000 @@ -40,6 +40,10 @@ { ACE_TRY_NEW_ENV { + CORBA::ORB_var orb_a = + CORBA::ORB_init (argc, argv, "another orb", ACE_TRY_ENV); + ACE_TRY_CHECK; + CORBA::ORB_var orb = CORBA::ORB_init (argc, argv, "", ACE_TRY_ENV); ACE_TRY_CHECK; Swapping the order of the orb declarations and it works. Also, this is for version 1.0.13, but the little html widget only goes up to 1.0.9. Maybe you need a -current designator? Cheers, Russell
I'll look into this.
This is not really a bug in the interceptors. The problem stems from the fact that I use _this() to implicitly activate the servant, which uses the RootPOA in the default ORB to perform the activation. Creating an unrelated ORB changed the default ORB in this case. To solve the problem in your applications, make sure you activate the servant explicitly using the intended POA.