Geronimo has an IORInterceptor that adds some tagged components to the
TAG_INTERNET_IOP profile (profile #0). When I dump a subsequent IOR
associated with this ORB instance, I'm seeing the following:
|IOR:0000000000000057524d493a636f6d2e73756e2e74732e74657374732e696e7465726f702e6e616d696e672e636f736e616d696e674e6f53534c2e54657374456e746974794265616e486f6d653a30303030303030303030303030303030000000000001000000000000028c000102000000000a6c6f63616c686f7374001a1c000001baabacab3131313634383330323533005f526f6f74504f41007365727665722f494f5233006765726f6e696d6f3a454a424d6f64756c653d696e7465726f705f636f736e616d696e674e6f53534c5f746573746265616e735f6a326565325f656a622e6a61722c4a3245454170706c69636174696f6e3d64656661756c742f696e7465726f705f636f736e616d696e674e6f53534c5f746573746265616e735f6a326565322f312d64656661756c742f6361722c4a3245455365727665723d6765726f6e696d6f2c6a326565547970653d456e746974794265616e2c6e616d653d54657374456e746974794265616e00006765726f6e696d6f3a454a424d6f64756c653d696e7465726f705f636f736e616d696e674e6f53534c5f746573746265616e735f6a326565325f656a622e6a61722c4a3245454170706c69636174696f6e3d64656661756c742f696e7465726f705f636f736e616d696e674e6f53534c5f746573746265616e735f6a326565322f312d64656661756c742f6361722c4a3245455365727665723d6765726f6e696d6f2c6a326565547970653d456e746974794265616e2c6e616d653d54657374456e746974794265616e000000000004000000010000001c000000000001000100000002000100200501000100010109000000000000002000000004000000010000001f00000004000000030000002100000070000000000000000100060000000000240000001c0000002600060000000000010000000a6c6f63616c686f7374001a1c0000000000000008060667810201010100000010040100080606678102010101000000000400000000000000000000010000000806066781020101010000000f|
|byteorder: big endian|
|type_id:
RMI:com.sun.ts.tests.interop.naming.cosnamingNoSSL.TestEntityBeanHome:0000000000000000|
|Profile #1: iiop|
|iiop_version: 1.2|
|host: localhost|
|port: 6684|
|object_key: (442)|
|171 172 171 49 49 49 54 52 "...11164"|
| 56 51 48 50 53 51 0 95 "830253._"|
| 82 111 111 116 80 79 65 0 "RootPOA."|
|115 101 114 118 101 114 47 73 "server/I"|
| 79 82 51 0 103 101 114 111 "OR3.gero"|
|110 105 109 111 58 69 74 66 "nimo:EJB"|
| 77 111 100 117 108 101 61 105 "Module=i"|
|110 116 101 114 111 112 95 99 "nterop_c"|
|111 115 110 97 109 105 110 103 "osnaming"|
| 78 111 83 83 76 95 116 101 "NoSSL_te"|
|115 116 98 101 97 110 115 95 "stbeans_"|
|106 50 101 101 50 95 101 106 "j2ee2_ej"|
| 98 46 106 97 114 44 74 50 "b.jar,J2"|
| 69 69 65 112 112 108 105 99 "EEApplic"|
| 97 116 105 111 110 61 100 101 "ation=de"|
|102 97 117 108 116 47 105 110 "fault/in"|
|116 101 114 111 112 95 99 111 "terop_co"|
|115 110 97 109 105 110 103 78 "snamingN"|
|111 83 83 76 95 116 101 115 "oSSL_tes"|
|116 98 101 97 110 115 95 106 "tbeans_j"|
| 50 101 101 50 47 49 45 100 "2ee2/1-d"|
|101 102 97 117 108 116 47 99 "efault/c"|
| 97 114 44 74 50 69 69 83 "ar,J2EES"|
|101 114 118 101 114 61 103 101 "erver=ge"|
|114 111 110 105 109 111 44 106 "ronimo,j"|
| 50 101 101 84 121 112 101 61 "2eeType="|
| 69 110 116 105 116 121 66 101 "EntityBe"|
| 97 110 44 110 97 109 101 61 "an,name="|
| 84 101 115 116 69 110 116 105 "TestEnti"|
|116 121 66 101 97 110 0 0 "tyBean.."|
|103 101 114 111 110 105 109 111 "geronimo"|
| 58 69 74 66 77 111 100 117 ":EJBModu"|
|108 101 61 105 110 116 101 114 "le=inter"|
|111 112 95 99 111 115 110 97 "op_cosna"|
|109 105 110 103 78 111 83 83 "mingNoSS"|
| 76 95 116 101 115 116 98 101 "L_testbe"|
| 97 110 115 95 106 50 101 101 "ans_j2ee"|
| 50 95 101 106 98 46 106 97 "2_ejb.ja"|
|114 44 74 50 69 69 65 112 "r,J2EEAp"|
|112 108 105 99 97 116 105 111 "plicatio"|
|110 61 100 101 102 97 117 108 "n=defaul"|
|116 47 105 110 116 101 114 111 "t/intero"|
|112 95 99 111 115 110 97 109 "p_cosnam"|
|105 110 103 78 111 83 83 76 "ingNoSSL"|
| 95 116 101 115 116 98 101 97 "_testbea"|
|110 115 95 106 50 101 101 50 "ns_j2ee2"|
| 47 49 45 100 101 102 97 117 "/1-defau"|
|108 116 47 99 97 114 44 74 "lt/car,J"|
| 50 69 69 83 101 114 118 101 "2EEServe"|
|114 61 103 101 114 111 110 105 "r=geroni"|
|109 111 44 106 50 101 101 84 "mo,j2eeT"|
|121 112 101 61 69 110 116 105 "ype=Enti"|
|116 121 66 101 97 110 44 110 "tyBean,n"|
| 97 109 101 61 84 101 115 116 "ame=Test"|
| 69 110 116 105 116 121 66 101 "EntityBe"|
| 97 110 "an"|
|Native char codeset: |
| "ISO 8859-1:1987; Latin Alphabet No. 1"|
|Char conversion codesets:|
| "ISO 646:1991 IRV (International Reference Version)"|
| "X/Open UTF-8; UCS Transformation Format 8 (UTF-8)"|
|Native wchar codeset: |
| "ISO/IEC 10646-1:1993; UTF-16, UCS Transformation Format 16-bit form"|
|Component: unknown (tag = 32)|
|Component data: (4)|
| 0 0 0 1 "...."|
|Component: unknown (tag = 31)|
|Component data: (4)|
| 0 0 0 3 "...."|
|Component: unknown (tag = 33)|
|Component data: (112)|
| 0 0 0 0 0 0 0 1 "........"|
| 0 6 0 0 0 0 0 36 ".......$"|
| 0 0 0 28 0 0 0 38 ".......&"|
| 0 6 0 0 0 0 0 1 "........"|
| 0 0 0 10 108 111 99 97 "....loca"|
|108 104 111 115 116 0 26 28 "lhost..."|
| 0 0 0 0 0 0 0 8 "........"|
| 6 6 103 129 2 1 1 1 "..g....."|
| 0 0 0 16 4 1 0 8 "........"|
| 6 6 103 129 2 1 1 1 "..g....."|
| 0 0 0 0 4 0 0 0 "........"|
| 0 0 0 0 0 0 0 1 "........"|
| 0 0 0 8 6 6 103 129 "......g."|
| 2 1 1 1 0 0 0 15 "........"
If I'm reading this dump correctly, this IOR only contains a single
profile element (#1), and all of the tagged components got added to
profile 1, not profile 0. The tagged components with ids 32, 31, and 33
were all added by the Geronimo interceptor.
I tried following the add_ior_component_to_profile() code, but I'm
really confused by what that code is trying to do. It appears to be
mapping the profile ID to an Acceptor instance, which really seems wrong
to me. Is this IOR in fact incorrect for the operation Geronimo
requested, and how should this be fixed?
Rick
|