amolpallod
Programmer
Naming Service:
I am using visibroker for java and i am working with the naming service right now. I have implemented a simple time-date example. After compiling the code, I started osagent and then the Naming Service with the command 'nameserv'.
In the server code I have used the method:
orb.resolve_initial_references("NameService" to get the intial naming context.
But a run time exception is raised which is shown below :
org.omg.CORBA.ORBPackage.InvalidName
at com.inprise.vbroker.orb.ORB.resolve_initial_references(ORB.java:712)
at GoodDayServer.main(GoodDayServer.java:39)
Can anyone tell me why this is happening. I feel that I have done this as it is said in the Naming Service documentation of Visibroker.
Any help will be of great help.
Thank you
Amol
I am using visibroker for java and i am working with the naming service right now. I have implemented a simple time-date example. After compiling the code, I started osagent and then the Naming Service with the command 'nameserv'.
In the server code I have used the method:
orb.resolve_initial_references("NameService" to get the intial naming context.
But a run time exception is raised which is shown below :
org.omg.CORBA.ORBPackage.InvalidName
at com.inprise.vbroker.orb.ORB.resolve_initial_references(ORB.java:712)
at GoodDayServer.main(GoodDayServer.java:39)
Can anyone tell me why this is happening. I feel that I have done this as it is said in the Naming Service documentation of Visibroker.
Any help will be of great help.
Thank you
Amol