• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

CORBA and Visibroker

 
Ranch Hand
Posts: 175
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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", "com.sun.corba.se.internal.iiop.ORB");
props.put("org.omg.CORBA.ORBSingletonClass", "com.sun.corba.se.internal.iiop.ORB");
props.put("ORBInitialHost", "10.80.62.30");
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
at com.sun.corba.se.internal.iiop.IIOPConnection.writeLock(IIOPConnection.java:919)
at com.sun.corba.se.internal.iiop.IIOPConnection.send(IIOPConnection.java:980)
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!
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic