org.omg.CORBA.ORBPackage.InvalidName ERROR

org.omg.CORBA.ORBPackage.InvalidName ERROR

Post by Shank » Sat, 12 Apr 2003 10:08:27



Hi,
   I get this error when I try to get an initial reference to the NamingService.
Can someone please tell me what the reason could be?

MY CODE
-------
-------

 ORB orb = ORB.init(args,null);
 POA rootpoa = POAHelper.narrow(orb.resolve_initial_references("RootPOA"));

 rootpoa.the_POAManager().activate();

 org.omg.CORBA.Object objRef = orb.resolve_initial_references("NameService");

THE ERROR I GET.
---------------
---------------

  org.omg.CORBA.ORBPackage.InvalidName
        at com.inprise.vbroker.orb.ORB.resolve_initial_references(ORB.java:591)
        at ActiveRegistry.main(ActiveRegistry.java:109)

thank you,
Shankar.

 
 
 

1. Exception caught org.omg.CORBA.ORBPackage.InvalidName

Hi,

I am using solaris, visibroker4.4, c++ server  and java client.

While  starting the client using appletviewer i am getting the following
error.  But i am able to launch java client using IE or Netscape.
I would appriciate any help.

Regards,
Raj.

------------------------------------
Exception caught org.omg.CORBA.ORBPackage.InvalidName
org.omg.CORBA.ORBPackage.InvalidName
        at java.lang.Throwable.fillInStackTrace(Native Method)
        at java.lang.Throwable.fillInStackTrace(Compiled Code)
        at java.lang.Throwable.<init>(Compiled Code)
        at java.lang.Exception.<init>(Compiled Code)
        at org.omg.CORBA.UserException.<init>(UserException.java:34)
        at
org.omg.CORBA.ORBPackage.InvalidName.<init>(InvalidName.java:32)
        at
com.inprise.vbroker.orb.ORB.resolve_initial_references(ORB.java:591)
        at
com.ericsson.nms.umts.ranos.rsd.gui.main.SDM_Applet.init(Compiled Code)
        at sun.applet.AppletPanel.run(Compiled Code)
        at java.lang.Thread.run(Thread.java:479)
java.lang.NullPointerException
        at
com.ericsson.nms.umts.ranos.rsd.gui.main.Toolbar.bindToPOAObjects(Toolbar.java:79)

        at
com.ericsson.nms.umts.ranos.rsd.gui.main.SDM_Applet.init(Compiled Code)
        at sun.applet.AppletPanel.run(Compiled Code)
        at java.lang.Thread.run(Thread.java:479)
-------------------------------------------

2. Cyrix Problems

3. org.omg.CORBA.ORBPackage.InvalidName

4. Wanted: Help in testing Info-Zip

5. strange corba marshal error org.omg.CORBA.MARSHAL

6. ACAD12 Windows & Tablet

7. org.omg.CORBA.portable.InputStream/OutputStream buf

8. org.omg.CORBA.UNKNOWN: remote exception - Unknown error

9. org.omg or omg.org, interoperability between orbix and visibroker

10. org.omg.PortableServer.ORBInitializer.post_init()

11. org.omg.CosnamingContextPackage.NotFound