[jacorb-developer] Migration from JACORB 3.2 to 3.3

Marko Skocibusic | GAF AG marko.skocibusic at gaf.de
Wed Jun 13 11:43:57 CEST 2018


Hi there,

I have to maintain an old piece of server software and do not have much experience with JACORB. Currently I am facing an issue with the migration from version 3.2 to 3.3. There are no problems with version 3.2. With version 3.3 there is still no problem running it on our servers, but when I try to start it up on the server of our customer it fails to connect to the local ORB (I replaced IP addresses and ports):

org.omg.CORBA.TRANSIENT: Retries exceeded, couldn't reconnect to 123.123.123.123:12345
        at org.jacorb.orb.iiop.ClientIIOPConnection.connect(ClientIIOPConnection.java:223) ~[jacorb-3.3.jar:3.3 ${jacorb_version_info}]
        at org.jacorb.orb.giop.GIOPConnection.sendMessage(GIOPConnection.java:1042) ~[jacorb-3.3.jar:3.3 ${jacorb_version_info}]
        at org.jacorb.orb.giop.GIOPConnection.sendRequest(GIOPConnection.java:987) ~[jacorb-3.3.jar:3.3 ${jacorb_version_info}]
        at org.jacorb.orb.giop.ClientConnection.sendRequest(ClientConnection.java:308) ~[jacorb-3.3.jar:3.3 ${jacorb_version_info}]
        at org.jacorb.orb.giop.ClientConnection.sendRequest(ClientConnection.java:289) ~[jacorb-3.3.jar:3.3 ${jacorb_version_info}]
        at org.jacorb.orb.Delegate._invoke_internal(Delegate.java:1363) ~[jacorb-3.3.jar:3.3 ${jacorb_version_info}]
        at org.jacorb.orb.Delegate.invoke_internal(Delegate.java:1188) ~[jacorb-3.3.jar:3.3 ${jacorb_version_info}]
        at org.jacorb.orb.Delegate.invoke(Delegate.java:1176) ~[jacorb-3.3.jar:3.3 ${jacorb_version_info}]
        at org.jacorb.orb.Delegate.invokeBuiltin(Delegate.java:2200) ~[jacorb-3.3.jar:3.3 ${jacorb_version_info}]
        at org.jacorb.orb.Delegate.is_a(Delegate.java:2049) ~[jacorb-3.3.jar:3.3 ${jacorb_version_info}]
        at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:130) ~[?:1.8.0_172]
        at org.omg.CosNaming.NamingContextExtHelper.narrow(NamingContextExtHelper.java:73) ~[?:1.8.0_172]

Taking a look into the log shows a problem with port binding:

12 06 2018 13:17:48 [main] [INFO] jacorb.orb.singleton - created ORBSingleton
12 06 2018 13:17:48 [main] [WARN] jacorb.orb.singleton - OMG.ORB classloader does not match JacORB ORBSingleton classloader. This may cause problems; see the Programmi
ngGuide for further details
12 06 2018 13:17:48 [main] [INFO] jacorb.orb.singleton - created ORBSingleton
12 06 2018 13:17:48 [main] [WARN] jacorb.orb.singleton - OMG.ORB classloader does not match JacORB ORBSingleton classloader. This may cause problems; see the Programmi
ngGuide for further details
12 06 2018 13:17:48 [main] [INFO] jacorb.codeset - Set default native char codeset to ISO8859_1
12 06 2018 13:17:48 [main] [INFO] jacorb.orb.interceptors - InterceptorManager started with 0 Server Interceptors, 0 Client Interceptors and 1 IOR Interceptors
12 06 2018 13:20:22 [main] [INFO] jacorb.orb.interceptors - InterceptorManager started with 0 Server Interceptors, 0 Client Interceptors and 1 IOR Interceptors
12 06 2018 13:20:22 [main] [INFO] jacorb.poa - oid: 01 4B 15 4C 0D 3F 20 32 14 0E 16 16 40 30 0A 3F 46 10 35 0B .K.L.? 2.... at 0.?F.5.11 4D 4D 4D 4D 4D 32 36 11 0E 1F
                         .MMMMM26...object is activated
12 06 2018 13:20:22 [main] [INFO] jacorb.orb.interceptors - InterceptorManager started with 0 Server Interceptors, 0 Client Interceptors and 1 IOR Interceptors
12 06 2018 13:20:22 [main] [INFO] jacorb.poa - oid: 01 4B 15 4C 0E 39 07 37 4C 04 46 0E 4D 37 3D 38 38 3C 16 1B .K.L.9.7L.F.M7=88<..01 32 24 2E 48 4A
                         .2$.HJobject is activated
12 06 2018 13:20:22 [main] [INFO] jacorb.orb.interceptors - InterceptorManager started with 0 Server Interceptors, 0 Client Interceptors and 1 IOR Interceptors
12 06 2018 13:20:22 [main] [INFO] jacorb.poa - oid: 01 4B 15 4C 10 3C 4B 49 06 07 0D 32 10 39 05 47 14 15 36 21 .K.L.<KI...2.9.G..6!01 06 24 42 28 19
                         ..$B(.object is activated
12 06 2018 13:20:22 [main] [INFO] jacorb.orb.interceptors - InterceptorManager started with 0 Server Interceptors, 0 Client Interceptors and 1 IOR Interceptors
12 06 2018 13:20:22 [main] [INFO] jacorb.poa - oid: 01 4B 15 4C 11 23 29 15 21 0F 22 48 1A 00 20 38 21 4D 3D 2B .K.L.#).!."H.. 8!M=+11 4D 4D 4D 4D 4C 37 04 29 16 48
                         .MMMML7.).Hobject is activated
12 06 2018 13:20:22 [main] [INFO] jacorb.orb.interceptors - InterceptorManager started with 0 Server Interceptors, 0 Client Interceptors and 1 IOR Interceptors
12 06 2018 13:20:22 [main] [INFO] jacorb.orb.interceptors - InterceptorManager started with 0 Server Interceptors, 0 Client Interceptors and 1 IOR Interceptors
12 06 2018 13:20:22 [main] [INFO] jacorb.orb.giop - ClientConnectionManager: created new ClientGIOPConnection to 123.123.123.123:12345 (4dc7a2a3)
12 06 2018 13:20:22 [main] [WARN] jacorb.orb.socketfactory - Cannot bind socket between ports 59000 and 59999 to target 123.123.123.123:12345
12 06 2018 13:20:22 [main] [INFO] jacorb.orb.iiop - Retrying to connect to 123.123.123.123:12345
12 06 2018 13:20:23 [main] [WARN] jacorb.orb.socketfactory - Cannot bind socket between ports 59000 and 59999 to target 123.123.123.123:12345
12 06 2018 13:20:23 [main] [INFO] jacorb.orb.iiop - Retrying to connect to 123.123.123.123:12345
12 06 2018 13:20:24 [main] [WARN] jacorb.orb.socketfactory - Cannot bind socket between ports 59000 and 59999 to target 123.123.123.123:12345
12 06 2018 13:20:24 [main] [INFO] jacorb.orb.iiop - Retrying to connect to 123.123.123.123:12345
12 06 2018 13:20:24 [main] [WARN] jacorb.orb.socketfactory - Cannot bind socket between ports 59000 and 59999 to target 123.123.123.123:12345
12 06 2018 13:20:24 [main] [INFO] jacorb.orb.iiop - Retrying to connect to 123.123.123.123:12345
12 06 2018 13:20:25 [main] [WARN] jacorb.orb.socketfactory - Cannot bind socket between ports 59000 and 59999 to target 123.123.123.123:12345
12 06 2018 13:20:25 [main] [INFO] jacorb.orb.iiop - Retrying to connect to 123.123.123.123:12345
12 06 2018 13:20:25 [main] [WARN] jacorb.orb.socketfactory - Cannot bind socket between ports 59000 and 59999 to target 123.123.123.123:12345
12 06 2018 13:20:25 [main] [INFO] jacorb.orb - prepare ORB for shutdown...
12 06 2018 13:20:25 [main] [INFO] jacorb.orb - ORB going down...
12 06 2018 13:20:25 [POADestructor] [INFO] jacorb.poa - POA RootPOA destroyed
12 06 2018 13:20:25 [ServerSocketListener] [INFO] jacorb.orb.iiop - Listener exiting
12 06 2018 13:20:25 [POADestructor] [INFO] jacorb.poa - POA NameServer-POA destroyed
12 06 2018 13:20:25 [main] [INFO] jacorb.orb - ORB shutdown complete

I'm ignoring the warning that OMG.ORB classloader does not match JacORB ORBSingleton classloader as this appears in the log since before I took over this project and so far did not cause any problems. But what could be the reason, that it could not bind a port to the local ORB? As I said I am not familiar with JACORB and would be glad for any ideas and hints or pointers to documentation that could help.

And please let me know if should provide some additional information.

Thank you very much and kind regards,
Marko Skocibusic
----------------------------------------------------------------------------

Marko Skocibusic

GAF AG | Arnulfstr. 199 | 80634 Munich | Germany
Phone: +49 89 121528 888 | Fax: +49 89 121528 79

mailto:marko.skocibusic at gaf.de | http://www.gaf.de

CEO: Dr. Peter Volk, Chairman of the supervisory board: Massimo Comparini
Place of business: Munich, Magistrate's court Munich HRB 140 509

WARNING: This message contains confidential and/or proprietary information which may be subject to privilege or immunity and which is intended for the use of its addressee only. Should you receive this message in error, you are kindly requested to inform the sender and to definitively remove it from any paper or electronic format. Any other use of this e-mail is strictly forbidden. Thank you in advance for your cooperation.



More information about the jacorb-developer mailing list