[omniORB] A quick problem about Object Reference

M300_ªLÀAÀs³Bªø edward_lin@iwin.com.tw
Fri Aug 9 10:43:00 2002


This is a multi-part message in MIME format.

------=_NextPart_000_003E_01C23FCB.EDB4B830
Content-Type: text/plain;
	charset="big5"
Content-Transfer-Encoding: quoted-printable

Hi all,
A quick question about object reference.
If the corba object fails, and restarts soon, is the object reference
held by clent still valid?
I wrote a corba object, which created a child POA with
idAssignmentPolicy to USER_ID, but I found the IOR varied when the
server process started each time.
I also tested 'genior' utility, the command line I typed is like
'genior myRepID aaa.bbb.ccc.ddd 2809 MyObjectID',
everytime genior generates the same IOR.
Is there any solution to solve this problem? What POA policies should I
apply with?
That is, I want the object reference held by client is valid after
server process restarg.
Thank you!
=20
Best Regards,
Edward

------=_NextPart_000_003E_01C23FCB.EDB4B830
Content-Type: text/html;
	charset="big5"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>

<META content=3D"MSHTML 5.50.4807.2300" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DVerdana size=3D3>Hi all,</FONT></DIV>
<DIV><FONT face=3DVerdana>A quick question about object =
reference.</FONT></DIV>
<DIV><FONT face=3DVerdana>If the corba object fails, and restarts soon, =
is the=20
object reference held by clent still valid?</FONT></DIV>
<DIV><FONT face=3DVerdana>I wrote a corba object,&nbsp;which created a =
child POA=20
with idAssignmentPolicy to USER_ID, but I found the IOR varied when the =
server=20
process started each time.</FONT></DIV>
<DIV><FONT face=3DVerdana>I also tested 'genior' utility, the command =
line I typed=20
is like</FONT></DIV>
<DIV><FONT face=3DVerdana>'genior myRepID aaa.bbb.ccc.ddd 2809=20
MyObjectID',</FONT></DIV>
<DIV><FONT face=3DVerdana>everytime genior generates the same =
IOR.</FONT></DIV>
<DIV><FONT face=3DVerdana>Is there any solution to solve this problem? =
What POA=20
policies should I apply with?</FONT></DIV>
<DIV><FONT face=3DVerdana>That is, I want the object reference held by =
client is=20
valid after server process restarg.</FONT></DIV>
<DIV><FONT face=3DVerdana>Thank you!</FONT></DIV>
<DIV><FONT face=3DVerdana></FONT>&nbsp;</DIV>
<DIV><FONT face=3DVerdana>Best Regards,</FONT></DIV>
<DIV><FONT face=3DVerdana>Edward</FONT></DIV></BODY></HTML>

------=_NextPart_000_003E_01C23FCB.EDB4B830--