[omniORB] puzzling INV_OBJREF

Rob Cecil rceci@master.adams.com
Tue, 04 Jan 2000 14:17:45 -0500


--------------FAAA3B303689C790AFA422D9
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

It fails in a complex application.  I'm sure it is related to some cleanup that
I have failed to add to my program, because it occurs only during the second
invocation of these statements.  They are encapsulated in the ctor of a class,
which, in the main program, is created and destroyed twice.


David Riddoch wrote:

> Rob,
>
> Can you give us a complete minimal example, or does it only fail in a
> complex application?
>
> David
>
> On Tue, 4 Jan 2000, Rob Cecil wrote:
>
> > ...
> > objRef->ping();
> > serverRef->ping();
> > serverRef->method( objRef );
> > ...
> >
> > Can anyone think why the last operation would throw a INV_OBJREF, when the
> > previous two did not?
> >
> > omniORB2.8.0/Solaris
> >
> > Rob
> >
> > --
> > | Rob Cecil          | Senior Development Engineer                 |
> > | rceci@adams.com    | Product Development                         |
> > | (734) 913-9351     | Mechanical Dynamics, Inc. (www.adams.com)   |
> > --------------------------------------------------------------------
> >  Modern Quantum Physics has found that the universe is composed of
> >  25% protons, 15% electrons, 15% neutrons, and 45% morons.
> >
> >
> >

--
| Rob Cecil          | Senior Development Engineer                 |
| rceci@adams.com    | Product Development                         |
| (734) 913-9351     | Mechanical Dynamics, Inc. (www.adams.com)   |
--------------------------------------------------------------------
 Modern Quantum Physics has found that the universe is composed of
 25% protons, 15% electrons, 15% neutrons, and 45% morons.



--------------FAAA3B303689C790AFA422D9
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
It fails in a complex application.&nbsp; I'm sure it is related to some
cleanup that I&nbsp;have failed to add to my program, because it occurs
only during the second invocation of these statements.&nbsp; They are encapsulated
in the ctor of a class, which, in the main program, is created and destroyed
twice.
<br>&nbsp;
<p>David Riddoch wrote:
<blockquote TYPE=CITE>Rob,
<p>Can you give us a complete minimal example, or does it only fail in
a
<br>complex application?
<p>David
<p>On Tue, 4 Jan 2000, Rob Cecil wrote:
<p>> ...
<br>> objRef->ping();
<br>> serverRef->ping();
<br>> serverRef->method( objRef );
<br>> ...
<br>>
<br>> Can anyone think why the last operation would throw a INV_OBJREF,
when the
<br>> previous two did not?
<br>>
<br>> omniORB2.8.0/Solaris
<br>>
<br>> Rob
<br>>
<br>> --
<br>> | Rob Cecil&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
| Senior Development Engineer&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
|
<br>> | rceci@adams.com&nbsp;&nbsp;&nbsp; | Product Development&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
|
<br>> | (734) 913-9351&nbsp;&nbsp;&nbsp;&nbsp; | Mechanical Dynamics, Inc.
(www.adams.com)&nbsp;&nbsp; |
<br>> --------------------------------------------------------------------
<br>>&nbsp; Modern Quantum Physics has found that the universe is composed
of
<br>>&nbsp; 25% protons, 15% electrons, 15% neutrons, and 45% morons.
<br>>
<br>>
<br>></blockquote>

<pre>--&nbsp;
| Rob Cecil&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | Senior Development Engineer&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |
| rceci@adams.com&nbsp;&nbsp;&nbsp; | Product Development&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |
| (734) 913-9351&nbsp;&nbsp;&nbsp;&nbsp; | Mechanical Dynamics, Inc. (www.adams.com)&nbsp;&nbsp; |
--------------------------------------------------------------------
&nbsp;Modern Quantum Physics has found that the universe is composed of
&nbsp;25% protons, 15% electrons, 15% neutrons, and 45% morons.</pre>
&nbsp;</html>

--------------FAAA3B303689C790AFA422D9--