Trying to use the NameService

"Julien Regnart" <[email protected]> Tue, 14 Feb 2006 14:03:22 +0100
Newsgroups gmane.comp.corba.orbacus
Organization Cetic
Message-ID <[email protected]>
Hi,

I'm trying to launch the NameService's demo (/naming/demo/). I look in the User guide but I can't find the way to lunch it.
I launch the nameservice :
java -Xbootclasspath/p:%naming% com.ooc.CosNaming.Server -ORBconfig l:\name.conf

where naming is set to the path of OB.jar and OBNaming.jar

name.conf contains it:
corbaloc::pt-mda.cetic.be:7000/NameService

after I launch the Server :
java java -Xbootclasspath/p:OB.jar;OBNaming.jar Server -ORBInitRef NameService =corbaloc::pt-mda.cetic.be:7000/NameService
errors are : 
ORB.init : invalid value for -ORBInitRef
org.omg.CORBA.INITIALIZE : vmcid : 0x0 minor code : 0 completed : No
                at com.ooc.OBCORBA.ORB_impl.ParseArgs(ORB_impl.java : 1888)
                at com.ooc.OBCORBA.ORB_impl.setParameters(ORB_impl.java : 942)
                at com.ooc.OBCORBA.ORB_impl.set_parameters(ORB_impl.java : 1611)
                at org.omg.CORBA.ORB.init(ORB.java :337)
            at Server.main (Server.java :38)
Can you help me?
Thanks a lot.
Regards
Julien Regnart

_______________________________________________
OB-Users Mailing List - [email protected]
http://mail.ooc.nf.ca/mailman/listinfo/ob-users
Visit our support FAQ before you send a message.
http://www.orbacus.com/faq/support.html