Name did not resolve to an object

I am new to orbix, and got this error while trying to register a service "ProfilerServer" onto naming server on a Solaris machine,  how can I fix this.. 

 Error: the name "ProfilerServer" did not resolve to an object” .. please help.

 

Also I did try to get the names browser running to see if the above has dependency and to check hierarchy.. but got this below exception... any help on this will also be helpful.

./namesbrowser.sh
Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
        at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
        at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:59)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:120)
        at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:58)
        at java.awt.Window.<init>(Window.java:186)
        at java.awt.Frame.<init>(Frame.java:315)
        at java.awt.Frame.<init>(Frame.java:294)
        at javax.swing.JFrame.<init>(JFrame.java:172)
        at com.iona.guitools.names_browser.NamesBrowserEntryFrame.<init>(NamesBrowserEntryFrame.java:54)
        at com.iona.guitools.names_browser.NamesBrowser.main(NamesBrowser.java:54)

  • Hello Dithya,

    You will need to make sure if 'ProfileServer' object has been registered in the Naming Service first before resolving it in the client. Refer our banksimple example on how server registers the reference in the Naming Service and how client resolves it.

    For the X11 error, you can google on to find out how to solve it. You have to configure X11 server to display the GUI.
    www.google.com/search

    Regards,
    Karthi.
  • Hi Dithya,

    You can also find the Orbix 3.3 documentation below:
    www.microfocus.com/.../

    Please see the "OrbixNames 3.3 SP14 Programmer's and Administrator's Guide" if you want to familiarize yourself with the concepts of the CORBA Naming Service, and OrbixNames in particular.

    Regards,
    Roland
  • In reply to Karthikeyan:

    Thank you Karthi!
    I got this while rebuilding an already developed app.
    I am checking for registering part of code, Thanks for this help.
  • In reply to RolandS:

    Thank you Roland for this link, I will study this.