[jacorb-developer] jdk 14 and jacorb 3.9; corbaloc example

jayshankar nair jayshankar.nair at gmail.com
Wed Jun 24 09:48:18 CEST 2020


Hi,

I am able to compile corbaloc example in jacorb3.9, I am running server and
client. But the client is not able to connect to server. Its giving error
File doesn't exist. Please let me know the issue.

Attached is the log file.

Thanks,
Jayshankar

corbaloc example


Server



[@localhost corbaloc]$ java -cp "/home/jayshankar/jacorb-3.9/lib/*:."
 org.jacorb.demo.corbaloc.Server hello


INFO Initialising ORB with ID:
INFO InterceptorManager started with 0 Server Interceptors, 0 Client
Interceptors and 1 IOR Interceptors
INFO oid: 48 65 6C 6C 6F 53 65 72 76 65 72 49 44
 HelloServerIDobject is activated
Server 1 can be reached with:
   corbaloc::localhost:6969/HelloServer/HelloPOAP/HelloServerID

Server 1 ior:
IOR:000000000000001D49444C3A6F6D672E6F72672F434F5242412F4F626A6563743A312E300000000000000001000000000000003B000100000000000A3132372E302E302E31001B390000002348656C6C6F5365727665722F48656C6C6F504F41502F48656C6C6F5365727665724944
INFO oid: 00 21 3E 0A 18 23 4A 3C 24 3D 07 1F 1F 2A 46 24 28 1F
.!>..#J<$=...*F$(.object is activated
INFO Using server ID (4999000572) for transient POA
Server 2 can be reached with:

corbaloc:iiop:1.2 at 10.0.2.15:6969/4999000572/HelloPOAT/%00!%3E%0A%18%23J%3C$=%07%1F%1F*F$(%1F

Adding object mapping for server 1
ior:IOR:000000000000001D49444C3A6F6D672E6F72672F434F5242412F4F626A6563743A312E300000000000000001000000000000003B000100000000000A3132372E302E302E31001B390000002348656C6C6F5365727665722F48656C6C6F504F41502F48656C6C6F5365727665724944
^C

[jayshankar at localhost corbaloc]$ java -cp
"/home/jayshankar/jacorb-3.9/lib/*:. org.jacorb.demo.corbaloc.Server hello


INFO Initialising ORB with ID:
INFO InterceptorManager started with 0 Server Interceptors, 0 Client
Interceptors and 1 IOR Interceptors
INFO oid: 48 65 6C 6C 6F 53 65 72 76 65 72 49 44
 HelloServerIDobject is activated
Server 1 can be reached with:
   corbaloc::localhost:6969/HelloServer/HelloPOAP/HelloServerID


Server 1 ior:
IOR:000000000000001D49444C3A6F6D672E6F72672F434F5242412F4F626A6563743A312E300000000000000001000000000000003B000100000000000A3132372E302E302E31001B390000002348656C6C6F5365727665722F48656C6C6F504F41502F48656C6C6F5365727665724944
INFO oid: 00 43 16 28 06 23 30 19 24 3D 07 1F 1F 2A 46 24 28 1F
.C.(.#0.$=...*F$(.object is activated
INFO Using server ID (17591117) for transient POA
Server 2 can be reached with:

corbaloc:iiop:1.2 at 10.0.2.15:6969/17591117/HelloPOAT/%00C%16(%06%230%19$=%07%1F%1F*F$(%1F

Adding object mapping for server 1
ior:IOR:000000000000001D49444C3A6F6D672E6F72672F434F5242412F4F626A6563743A312E300000000000000001000000000000003B000100000000000A3132372E302E302E31001B390000002348656C6C6F5365727665722F48656C6C6F504F41502F48656C6C6F5365727665724944





Client
:

[@localhost corbaloc]$ java -cp "/home/jayshankar/jacorb-3.9/lib/*:."
 org.jacorb.demo.corbaloc.Client
 corbaloc::localhost:6969/HelloServer/HelloPOAP/HelloServerID


INFO Initialising ORB with ID:
INFO InterceptorManager started with 0 Server Interceptors, 0 Client
Interceptors and 1 IOR Interceptors
File
corbaloc::localhost:6969/HelloServer/HelloPOAP/HelloServerID.persistent
does not exist.


[@localhost corbaloc]$ ls
cl  hello.persistent  hello.transient  org  pom.xml  README  src


[@localhost corbaloc]$ java -cp "/home/jayshankar/jacorb-3.9/lib/*:."
 org.jacorb.demo.corbaloc.Client
 corbaloc::localhost:6969/HelloServer/HelloPOAP/hello


INFO Initialising ORB with ID:
INFO InterceptorManager started with 0 Server Interceptors, 0 Client
Interceptors and 1 IOR Interceptors
File corbaloc::localhost:6969/HelloServer/HelloPOAP/hello.persistent does
not exist.
[@localhost

corbaloc]$ netstat -pan | grep 6969
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp6       0      0 :::6969                 :::*                    LISTEN
     4679/java


<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>


More information about the jacorb-developer mailing list