[jacorb-developer] Starting a service with the same IOR

Nick Cross jacorb at goots.org
Sun Dec 2 15:41:51 CET 2012


Hi,

As documented in the ProgrammingGuide it is possible to create 'fixed' 
IORs (by explicitly configuring the impl name/poa name/object oid). It 
is also advisable to configure a fixed port.

Can you expand on what you are setting/configuring? (and what is 
changing in the IOR)?

Thanks

Nick

On 30/11/12 04:44, Marc Winoto wrote:
> Hi,
> I am trying to set up my service such that it always uses the same IOR
> when it starts.
>
> I've been able to do this using Orbacus and OpenORB by setting the port
> and using the policies:
> rootPOA.create_lifespan_policy(org.omg.PortableServer.LifespanPolicyValue.PERSISTENT)
>
> rootPOA.create_id_assignment_policy(org.omg.PortableServer.IdAssignmentPolicyValue.USER_ID)
>
>
> I just adapted my old Server code while refering to the JacORB docs to
> write a new server. This starts up, but the IOR keeps changing.
>
> Is there a way to start up a server and having it always use the same IOR?
>
> Thanks
> Marc
>
> _______________________________________________
> 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