[jacorb-developer] Fwd: Name Service

Nick Cross jacorb at goots.org
Mon Feb 20 16:17:01 CET 2012


Firstly I would advise using the current beta although 2.3 should 
suffice for your needs.

You should configure ORBInitRef.NameService in your jacorb properties to 
point to where you will write your IOR (assuming you are using the 
simplest form of file IORs to start with). When starting the server, as 
documented in chapter 5 your will need to set the ior_filename to write 
out this reference.

Could you perhaps be clearer about where you are getting stuck? Have you 
tried starting the service?

Regards

Nick


On 20/02/12 15:01, Carlo R wrote:
> Hi Nick,
>
> I'm using jacorb-2.3.1.
> For my upcoming project i have to learn how to work with the NameService.
> In the demo the nameservice is started by something like this:
>
> ns /home/me/public html/NS Ref.
>
> I want also start the name service but i have no idea how to configure
> this. I read chapter 5 from the programming guide but that did not really
> help me.
>
> So my big question is what to configure for starting the nameservice and
> how to start it on my local machine.
>
> Thanks
>
> Carlo
>
>
> 2012/2/20 Nick Cross<nick at goots.org>
>
>> What version did you use?
>>
>> You might want to start with the hello demo that does not require a
>> NameService. Alternatively, depending on what version you downloaded if you
>> pass arguments to the Client&  Server that should make it use an IOR file
>> which would remove your (immediate) need for a NameService. The later
>> chapters explain how to start and run the NS.
>>
>> You should be able to run the client and server on your local machine in
>> different java processes.
>>
>> Could you explain further where you have got stuck?
>>
>> Cheers
>>
>> Nick
>>
>>
>> On 20/02/12 11:55, Carlo Reijmer wrote:
>>
>>> Hello,
>>>
>>> I'm really new to JacOrb. At the moment i'm reading the programming guide
>>> which is delivered in the download of JacOrb. Now i want to use the
>>> example
>>> from this programming guide. The example code is also delivered in the
>>> download.
>>>
>>> I have done the configuration steps. One of the steps is to start the name
>>> service. I'm not sure what to do here. I want to run the example on my
>>> local machine, so the server is on my machine and also the client.
>>>
>>> Could someone provide me an example, or explain what to do.
>>>
>>> Thanks in advance.
>>>
>>> Carlo
>>> ______________________________**_________________
>>> jacorb-developer maillist  -  jacorb-developer at lists.spline.**
>>> inf.fu-berlin.de<jacorb-developer at lists.spline.inf.fu-berlin.de>
>>> https://lists.spline.inf.fu-**berlin.de/mailman/listinfo/**
>>> jacorb-developer<https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer>
>>>
>>
>>
> _______________________________________________
> jacorb-developer maillist  -  jacorb-developer at lists.spline.inf.fu-berlin.de
> https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer



More information about the jacorb-developer mailing list