This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Distributed Java and the fly likes CORBA and Visibroker Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "CORBA and Visibroker" Watch "CORBA and Visibroker" New topic

CORBA and Visibroker

Terry McKee
Ranch Hand

Joined: Sep 29, 2000
Posts: 173
I am really in need of some help here! I have Visibroker for C++ running on HP-UX. I have a java client attempt to connect to the server using the standard Java ORB implementation with the following code:
Properties props = new Properties();
props.put("org.omg.CORBA.ORBClass", "");
props.put("org.omg.CORBA.ORBSingletonClass", "");
props.put("ORBInitialHost", "");
props.put("ORBInitialPort", "140015");
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init((String[])null, props);
org.omg.CORBA.Object objRef = orb.resolve_initial_references("NameService");

An exception is thrown when I hit this line:
org.omg.CORBA.Object objRef = orb.resolve_initial_references("NameService");

The exception is:
org.omg.CORBA.COMM_FAILURE: minor code: 1398079490 completed: No
Has anyone been able to connect the standard Java ORB Implementation with Visibroker for C++?
Can anyone provide any examples of what the process is to do so?
Any help would be greatly appreciated!
Consider Paul's rocket mass heater.
subject: CORBA and Visibroker
Similar Threads
New to CORBA, problem with java client application
CORBA Problems
CORBA newbie question
Create multiple Servants/objects
Share information between Web App and Stand-alone Java App