Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

CORBA Problems

 
Terry McKee
Ranch Hand
Posts: 175
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have the following environment:

Server: HP-UX
-Visibroker for C++ 4.0
-Nameservice running
Client: Windows NT 4.0
When I run the following code:
<code>
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init(new String[0], null);
org.omg.CORBA.Object obj = orb.resolve_initial_references("NameService");
NamingContext rootContext = NamingContextHelper.narrow(obj);
</code>
I receive an InvalidName exception when it trys to downcast the Object to a NamingContext object. Any ideas?
 
No more fooling around. Read this tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!