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.

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>(
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(
        at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(
        at java.awt.Window.<init>(
        at java.awt.Frame.<init>(
        at java.awt.Frame.<init>(
        at javax.swing.JFrame.<init>(
        at com.iona.guitools.names_browser.NamesBrowserEntryFrame.<init>(
        at com.iona.guitools.names_browser.NamesBrowser.main(

  • 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.

  • Hi Dithya,

    You can also find the Orbix 3.3 documentation below:

    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.

  • 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.