Only 48 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



  • Post Reply Bookmark Topic Watch Topic
  • New Topic

CORBA Problems  RSS feed

 
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?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!