<h2>CORBA in Websphere</h2> - how to registry interceptors in Websphere - [IBM Knowledge Center](https://www.ibm.com/support/knowledgecenter/en/SSYKE2_7.0.0/com.ibm.java.aix.70.doc/diag/understanding/orb_extras_intercept.html) - orb.properties file ``` # IBM JDK properties org.omg.CORBA.ORBClass=com.ibm.CORBA.iiop.ORB org.omg.CORBA.ORBSingletonClass=com.ibm.rmi.corba.ORBSingleton javax.rmi.CORBA.StubClass=com.ibm.rmi.javax.rmi.CORBA.StubDelegateImpl javax.rmi.CORBA.PortableRemoteObjectClass=com.ibm.rmi.javax.rmi.PortableRemoteObject javax.rmi.CORBA.UtilClass=com.ibm.ws.orb.WSUtilDelegateImpl # WS Plugins com.ibm.CORBA.ORBPluginClass.com.ibm.ws.wlm.client.WLMClient com.ibm.CORBA.ORBPluginClass.com.ibm.ws.orbimpl.transport.WSTransport com.ibm.CORBA.ORBPluginClass.com.ibm.ws.orbimpl.WSORBPropertyManager com.ibm.CORBA.ORBPluginClass.com.ibm.ISecurityUtilityImpl.SecurityPropertyManager com.ibm.CORBA.ORBPluginClass.com.ibm.ws.orb.WSSubcontractInitImpl # WS Interceptors org.omg.PortableInterceptor.ORBInitializerClass.com.ibm.ws.Transaction.JTS.TxInterceptorInitializer org.omg.PortableInterceptor.ORBInitializerClass.com.ibm.ejs.ras.RasContextSupport org.omg.PortableInterceptor.ORBInitializerClass.com.ibm.ISecurityLocalObjectBaseL13Impl.ClientRIWrapper org.omg.PortableInterceptor.ORBInitializerClass.com.ibm.ws.activity.remote.cos.ActivityServiceClientInterceptor org.omg.PortableInterceptor.ORBInitializerClass.com.ibm.ISecurityLocalObjectBaseL13Impl.CSIClientRI org.omg.PortableInterceptor.ORBInitializerClass.com.ibm.debug.olt.ivbtrjrt.OLT_RI org.omg.PortableInterceptor.ORBInitializerClass.com.ibm.ws.wlm.client.WLMClientInitializer # WS ORB & Plugins properties com.ibm.ws.orb.transport.ConnectionInterceptorName=com.ibm.ISecurityLocalObjectBaseL13Impl.SecurityConnectionInterceptor com.ibm.ws.orb.transport.WSSSLClientSocketFactoryName=com.ibm.ws.security.orbssl.WSSSLClientSocketFactoryImpl com.ibm.CORBA.enableLocateRequest=true com.ibm.CORBA.ORBCharEncoding=UTF8 com.ibm.CORBA.ForceTunnel=never com.ibm.CORBA.TransportMode=Pluggable ``` - client, server WebSphere IIOP Interceptors - `com.ibm.CORBA.iiop.ServiceContext` ``` int CODE_SETS = 1; int SENDING_CONTEXT_RUNTIME = 6; int UNKNOWN_EXCEPTION_INFO_ID = 9; int EXCEPTION_DETAIL_MESSAGE = 14; int CUSTOM_MAX_STREAM_FORMAT = 17; int IBM_DEBUGGER_SERVICE = 1229081856; int IBM_SECURITY_SERVICE = 1229081857; int IBM_RAS_SERVICE = 1229081858; int IBM_SERVER_GROUPS = 1229081859; int IBM_NATIVE390_LOCAL_SECURITY = 1229081860; int IBM_NATIVE390_PERFORMANCE = 1229081861; int IBM_NATIVE390_REMOTE_SECURITY = 1229081862; int IBM_SESSION_SERVICE = 1229081863; int IBM_BOUNDARY_ALIGNMENT = 1229081864; int IBM_WEBSPHERE_WLM = 1229081865; int IBM_SECURITY_SERVICE2 = 1229081866; int IBM_REPLY_HEADER_PADDING = 1229081867; int IBM_SSL_SECURITY_SERVICE = 1229081868; int IBM_UNIT_OF_WORK_SERVICE = 1229081869; int IBM_CLIENT_CONTEXT = 1229081870; int IBM_SSL_TYPE1_TO_390_SERVICE = 1229081871; int IBM_ACTIVITY_GROUP_SERVICE = 1229081872; int IBM_SYSTEM_EXCEPTION_REASON_MSG = 1229081873; int IBM_ORB_VERSION = 1229081874; int IBM_SECURITY_SERVICE3 = 1229081875; int IBM_CICS_TASK_TRACKING = 1229081876; int IBM_CICS_CONNECTION = 1229081877; int IBM_IDENTITY_ASSERTION_SEC = 1229081878; int IBM_CICS_REDIRECTION = 1229081879; int IBM_SSL_KRB_GSSAPI_SEC = 1229081880; int IBM_SSL_KRB_REALM_PRINC_PASS_SEC = 1229081881; int IBM_CICS_REALIGNMENT = 1229081882; int IBM_I18N_SERVICE = 1229081883; int IBM_CPP_ORB_LEVEL_CONTEXT = 1229081884; int IBM_NATIVE390_EUI_VERSION = 1229081885; int IBM_TIVOLI_MGR_FOR_TRANSACTION_PERF = 1229081886; int IBM_NATIVE390_WLM = 1229081887; int IBM_WEBSPHERE_XD_WPF_DATA = 1229081888; int IBM_SPLIT_PROCESS_TRANSACTION_CONTEXT = 1229081889; int IBM_TIVOLI_MGR_FOR_WEBSPHERE = 1229081890; int IBM_CSIV2_ZOS_SEED_CTX_ID = 1229081891; int IBM_CSIV2_ZOS_PRIVATE_CTX_ID = 1229081892; int IBM_WVE_FLOW_MANAGEMENT = 1229081893; ``` - stackstrace to invoke remote method ``` invoke:344, ClientRequestImpl (com.ibm.rmi.iiop) invoke:431, ClientDelegate (com.ibm.rmi.corba) invoke:1377, ClientDelegate (com.ibm.CORBA.iiop) invoke:695, ClientDelegate (com.ibm.rmi.corba) invoke:1407, ClientDelegate (com.ibm.CORBA.iiop) _invoke:484, ObjectImpl (org.omg.CORBA.portable) resolve_complete_info:492, _NamingContextStub (com.ibm.WsnOptimizedNaming) run:2958, CNContextImpl$2 (com.ibm.ws.naming.jndicos) run:2954, CNContextImpl$2 (com.ibm.ws.naming.jndicos) retry:871, CommonHelpers (com.ibm.ws.naming.util) cosResolve:2952, CNContextImpl (com.ibm.ws.naming.jndicos) doLookup:1818, CNContextImpl (com.ibm.ws.naming.jndicos) doLookup:1777, CNContextImpl (com.ibm.ws.naming.jndicos) lookupExt:1434, CNContextImpl (com.ibm.ws.naming.jndicos) lookup:616, CNContextImpl (com.ibm.ws.naming.jndicos) lookup:165, WsnInitCtx (com.ibm.ws.naming.util) lookup:179, WsnInitCtx (com.ibm.ws.naming.util) lookup:428, InitialContext (javax.naming) main:45, HelloClient (com.longofo.example) ```