jacorb 的使用(七) 检查对象是否存在

    技术2022-07-02  116

    1. bin/pingo.bat 内容如下: @echo off rem decodes and prints the components of a stringified IOR jaco org.jacorb.orb.util.PingObject %* 2. 命令如下: D:/jacorb/bin>pingo -i iorstring 通过前面的fixior可以修改IOR字符串,这样就可以测试该功能了。 运行结果如下: D:/jacorb/bin>pingo -i IOR:000000000000003349444C3A6F6D672E6F72672F436F734E6F746 96679436F6D6D2F53657175656E636550757368436F6E73756D65723A312E3000000000000100000 00000000078000102000000000A3132372E302E302E31001E1F0000004C2F656D73636F6E73756D6 57274657374373731302F636F6D2E7A74652E756D732E6E61662E746F6F6C2E7574696C2E5365717 5656E636550757368436F6E73756D65725F696D706C3737313000000001000000000000000800000 0004A414300 [jacorb.orb.print_ver] INFO :         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~         JacORB V 2.3.0, www.jacorb.org         (C) The JacORB project 17-Feb-2007         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [jacorb.orb] INFO : Property "jacorb.hashtable_class" is set to: java.util.HashM ap [org.jacorb.orb.codes] WARN : Warning - unknown codeset (GBK) - defaulting to IS O-8859-1 [jacorb.orb.intercept] INFO : InterceptorManager started with 0 Server Intercept ors, 0 Client Interceptors and 1 IOR Interceptors [jacorb.orb.singleton] INFO : created ORBSingleton [jacorb.orb.giop] INFO : ClientConnectionManager: created new ClientGIOPConnecti on to 127.0.0.1:7711 (1551f60) [jacorb.orb.iiop] INFO : Retrying to connect to 127.0.0.1:7711 [jacorb.orb.iiop] INFO : Retrying to connect to 127.0.0.1:7711 [jacorb.orb.iiop] INFO : Retrying to connect to 127.0.0.1:7711 [jacorb.orb.iiop] INFO : Retrying to connect to 127.0.0.1:7711 [jacorb.orb.iiop] INFO : Retrying to connect to 127.0.0.1:7711 Object not reachable! (Exception: org.omg.CORBA.TRANSIENT: Retries exceeded, cou ldn't reconnect to 127.0.0.1:7711  vmcid: 0x0  minor code: 0  completed: No) 修改IOR字符串 D:/jacorb/bin>fixior 127.0.0.1 7710 c://test.ior [jacorb.orb.print_ver] INFO :         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~         JacORB V 2.3.0, www.jacorb.org         (C) The JacORB project 17-Feb-2007         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [jacorb.orb] INFO : Property "jacorb.hashtable_class" is set to: java.util.HashM ap [org.jacorb.orb.codes] WARN : Warning - unknown codeset (GBK) - defaulting to IS O-8859-1 [jacorb.orb.intercept] INFO : InterceptorManager started with 0 Server Intercept ors, 0 Client Interceptors and 1 IOR Interceptors [jacorb.orb.singleton] INFO : created ORBSingleton D:/jacorb/bin>pingo -i IOR:000000000000003349444C3A6F6D672E6F72672F436F734E6F746 96679436F6D6D2F53657175656E636550757368436F6E73756D65723A312E3000000000000100000 00000000078000102000000000A3132372E302E302E31001E1E0000004C2F656D73636F6E73756D6 57274657374373731302F636F6D2E7A74652E756D732E6E61662E746F6F6C2E7574696C2E5365717 5656E636550757368436F6E73756D65725F696D706C3737313000000001000000000000000800000 0004A414300 [jacorb.orb.print_ver] INFO :         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~         JacORB V 2.3.0, www.jacorb.org         (C) The JacORB project 17-Feb-2007         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [jacorb.orb] INFO : Property "jacorb.hashtable_class" is set to: java.util.HashM ap [org.jacorb.orb.codes] WARN : Warning - unknown codeset (GBK) - defaulting to IS O-8859-1 [jacorb.orb.intercept] INFO : InterceptorManager started with 0 Server Intercept ors, 0 Client Interceptors and 1 IOR Interceptors [jacorb.orb.singleton] INFO : created ORBSingleton [jacorb.orb.giop] INFO : ClientConnectionManager: created new ClientGIOPConnecti on to 127.0.0.1:7710 (1551f60) [jacorb.orb.iiop] INFO : Connected to 127.0.0.1:7710 from local port 1324 Object exists: true 


    最新回复(0)