JAVA orb problem
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Fernando_Glez
Posted On:   Friday, September 20, 2002 07:26 AM

Hi We have a server with tree ip address (199.0.0.5, 10.0.0.5 & 166.0.0.5). We are developing with j2se 1.3.3_02, under Solaris 2.6. When we call to localhost the system return 10.0.0.5. When we call to ORB.init(), the java's ORB retunr us an IOR. We write this ior to a file, after call to objetc_to_string function. Then we pass the filr to printior program, and we see than the ip is 10.0.0.5 The problem is that we need that the ip in the ior must be 199.0.0.5. We invoque our Corba Server with -DORBInitialHost 199.0.0.5, but it not works Also we have probe with system properties, and it not works Any help? Thanks you in advance    More>>

Hi


We have a server with tree ip address (199.0.0.5, 10.0.0.5 & 166.0.0.5).


We are developing with j2se 1.3.3_02, under Solaris 2.6. When we call to localhost the system return 10.0.0.5.


When we call to ORB.init(), the java's ORB retunr us an IOR. We write this ior to a file, after call to objetc_to_string function. Then we pass the filr to printior program, and we see than the ip is 10.0.0.5


The problem is that we need that the ip in the ior must be 199.0.0.5.


We invoque our Corba Server with -DORBInitialHost 199.0.0.5, but it not works
Also we have probe with system properties, and it not works


Any help?


Thanks you in advance


fgb

   <<Less

Re: JAVA orb problem

Posted By:   Mike_Friedrich  
Posted On:   Saturday, September 21, 2002 12:35 AM

You need to set -DORBServerHost 199.0.0.5.
This is the name/ip to use in the ior.
ORBInitialHost is the host where to find the initial service used with resolve_initial_references.


Regards, Mike

About | Sitemap | Contact