Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Component to component method call passing a component reference.

7 posts in General Discussion (old) Last posting was on 2000-03-23 20:41:24.0Z
Ronald Nasby Posted on 2000-03-21 19:59:55.0Z
Newsgroups: sybase.public.easerver
From: "Ronald Nasby" <rnasby@minn.net>
Subject: Component to component method call passing a component reference.
Date: Tue, 21 Mar 2000 13:59:55 -0600
Lines: 40
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: stpns.guidant.com 132.189.76.10
Message-ID: <347_SzQfID3k$GA.290@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:25981
Article PK: 155995

From all investigation this seems like something I should be able to do,
but....

I have a stateless component named "n_manager" that through createinstance()
gets references to three stateful components named "n_comtest1",
"n_comtest2", and "n_comtester". I then wish to call a method on the
instance of "n_comtester" passing the references to "n_comtest1" and
"n_comtest2".

The IDL generated for the "of_test" function I'm calling is:

interface n_comtester : n_combase
{
string of_test
(
in n_comtest1 an_comtest1,
in n_comtest2 an_comtest2
)
raises (CTS::PBUserException);
};

I can track execution into the "of_test" method, but as soon as I attempt to
call a method on one of the passed component references, execution just
ends. No error of any sort shows up in the log, connection objects, etc.
The "n_manager" instance goes back into the pool, and the stateful
components stay pooled.

I was able to track execution, using TransactionServer log calls.
Powerbuilders remote debugging won't step into the "test" method.

I'm using Jaguar 3.0.1 (Build 30033)

Thanks.


Scott McReynolds [Sybase] Posted on 2000-03-22 01:40:23.0Z
Newsgroups: sybase.public.easerver
From: "Scott McReynolds [Sybase]" <scottmc@sybase.com>
Subject: Re: Component to component method call passing a component reference.
Date: Tue, 21 Mar 2000 18:40:23 -0700
Lines: 55
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: 158.159.8.18
Message-ID: <347_kvbbJB6k$GA.201@forums.sybase.com>
References: <347_SzQfID3k$GA.290@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:25963
Article PK: 155984

Ronald,

two questions. Are you using the proxies to create the instances. are the
nvo's and the proxies in the same PBD. they shold be either named different
or in different PBDs. My recommendation is for you to name the proxies
different then the nvos and place the nvos in different PBDs.

Scott

"Ronald Nasby" <rnasby@minn.net> wrote in message
news:SzQfID3k$GA.290@forums.sybase.com...
> From all investigation this seems like something I should be able to do,
> but....
>
> I have a stateless component named "n_manager" that through
createinstance()
> gets references to three stateful components named "n_comtest1",
> "n_comtest2", and "n_comtester". I then wish to call a method on the
> instance of "n_comtester" passing the references to "n_comtest1" and
> "n_comtest2".
>
> The IDL generated for the "of_test" function I'm calling is:
>
> interface n_comtester : n_combase
> {
> string of_test
> (
> in n_comtest1 an_comtest1,
> in n_comtest2 an_comtest2
> )
> raises (CTS::PBUserException);
> };
>
> I can track execution into the "of_test" method, but as soon as I attempt
to
> call a method on one of the passed component references, execution just
> ends. No error of any sort shows up in the log, connection objects, etc.
> The "n_manager" instance goes back into the pool, and the stateful
> components stay pooled.
>
> I was able to track execution, using TransactionServer log calls.
> Powerbuilders remote debugging won't step into the "test" method.
>
> I'm using Jaguar 3.0.1 (Build 30033)
>
> Thanks.
>
>
>
>
>
>
>


Ronald Nasby Posted on 2000-03-22 22:03:46.0Z
Newsgroups: sybase.public.easerver
From: "Ronald Nasby" <rnasby@minn.net>
Subject: Re: Component to component method call passing a component reference.
Date: Wed, 22 Mar 2000 16:03:46 -0600
Lines: 141
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: stpns.guidant.com 132.189.76.10
Message-ID: <347_rKVVBtEl$GA.111@forums.sybase.com>
References: <347_SzQfID3k$GA.290@forums.sybase.com> <347_kvbbJB6k$GA.201@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:25876
Article PK: 155909

No luck. Behavior is exactly the same when only stubs are used. It is also
identical under 3.5 with the first EBF applied.

After putting checks everywhere the only place I could detect an error is in
the CORBA log file. The final two GIOP entries are as follows:

----------------------------------------------------------------------------
---
IIOP putMessage Hexadecimal [padding] (interpretation) ISO 8859-1
encoding
--------------- - ---------------------------------------- -----------------
---
putOctet < 47 (71) G
putOctet < 49 (73) I
putOctet < 4F (79) O
putOctet < 50 (80) P
putOctet < 01 (1) .
putOctet < 01 (1) .
putBoolean < 01 (TRUE) .
putOctet < 00 (0) .
putULong < 00000000 (0) ....
putMessage | GIOP version = 1.1

| flags = 1 ('<' little endian)

| message type = 0 (Request)
putRequest | service context length:
putServiceContextList | service context length:
putULong < 00000000 (0) ....
putRequest | request id:
putULong < 00000000 (0) ....
putRequest | response expected:
putBoolean < 01 (TRUE) .
putRequest | object key:
putULong < 00000041000000 [3] (65) ...A...
putOctets < 452EE7E48636CCBB1612E7CAA5991D34C020C595 E.çä.6Ì»..çÊ¥..4À
Å.
215FA948DA711155764E2FF78CF30313362AF9A3
!_©HÚq.UvN/÷.ó..6*ù£
6A303FA1B4711160FB6C96F4BB1323E8DB4C6669
j0?¡´q.`ûl.ô».#èÛLfi
DBFAFD3B29 Ûúý;)
putRequest | operation:
putULong < 0000000B000000 [3] (11) .......
putString < 6F665F6578656375746500 of_execute.
putRequest | requesting principal:
putULong < 0000000000 [1] (0) .....
putRequest | request body:
endMessage | message size = 104 (after 12 byte header)
----------------------------------------------------------------------------
---
IIOP getMessage Hexadecimal [padding] (interpretation) ISO 8859-1
encoding
--------------- - ---------------------------------------- -----------------
---
getOctet < 47 (71) G
getOctet < 49 (73) I
getOctet < 4F (79) O
getOctet < 50 (80) P
getOctet < 01 (1) .
getOctet < 01 (1) .
getOctet < 01 (1) .
getOctet < 01 (1) .
getULong < 0C000000 (12) ....
getMessage | GIOP version = 1.1
| flags = 1 ('<' little endian)
| message type = 1 (Reply)
| message size = 12 (after 12 byte header)
getRequest | service context length:
getULong < 00000000 (0) ....
getULong < 00000000 (0) ....
getULong < 00000000 (0) ....
** exception ** | number = 18, reason = offset + length exceeds message size
for incoming data

=========================================================================

There's the exception. It fails silently otherwise.


"Scott McReynolds [Sybase]" <scottmc@sybase.com> wrote in message
news:kvbbJB6k$GA.201@forums.sybase.com...
> Ronald,
>
> two questions. Are you using the proxies to create the instances. are
the
> nvo's and the proxies in the same PBD. they shold be either named
different
> or in different PBDs. My recommendation is for you to name the proxies
> different then the nvos and place the nvos in different PBDs.
>
> Scott
>
> "Ronald Nasby" <rnasby@minn.net> wrote in message
> news:SzQfID3k$GA.290@forums.sybase.com...
> > From all investigation this seems like something I should be able to do,
> > but....
> >
> > I have a stateless component named "n_manager" that through
> createinstance()
> > gets references to three stateful components named "n_comtest1",
> > "n_comtest2", and "n_comtester". I then wish to call a method on the
> > instance of "n_comtester" passing the references to "n_comtest1" and
> > "n_comtest2".
> >
> > The IDL generated for the "of_test" function I'm calling is:
> >
> > interface n_comtester : n_combase
> > {
> > string of_test
> > (
> > in n_comtest1 an_comtest1,
> > in n_comtest2 an_comtest2
> > )
> > raises (CTS::PBUserException);
> > };
> >
> > I can track execution into the "of_test" method, but as soon as I
attempt
> to
> > call a method on one of the passed component references, execution just
> > ends. No error of any sort shows up in the log, connection objects,
etc.
> > The "n_manager" instance goes back into the pool, and the stateful
> > components stay pooled.
> >
> > I was able to track execution, using TransactionServer log calls.
> > Powerbuilders remote debugging won't step into the "test" method.
> >
> > I'm using Jaguar 3.0.1 (Build 30033)
> >
> > Thanks.
> >
> >
> >
> >
> >
> >
> >
>
>


Jim O'Neil [Sybase] Posted on 2000-03-22 22:24:05.0Z
Newsgroups: sybase.public.easerver
Date: Wed, 22 Mar 2000 17:24:05 -0500
From: "Jim O'Neil [Sybase]" <joneil@sybase.com>
Organization: Sybase, Inc.
X-Mailer: Mozilla 4.7 [en]C-CCK-MCD (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
Subject: Re: Component to component method call passing a component reference.
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Lines: 157
NNTP-Posting-Host: joneil-nt.sybase.com 204.167.42.111
Message-ID: <347_38D94805.17D85C81@sybase.com>
References: <347_SzQfID3k$GA.290@forums.sybase.com> <347_kvbbJB6k$GA.201@forums.sybase.com> <347_rKVVBtEl$GA.111@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:25872
Article PK: 155910


Ronald Nasby wrote:

> No luck. Behavior is exactly the same when only stubs are used. It is also
> identical under 3.5 with the first EBF applied.
>
> After putting checks everywhere the only place I could detect an error is in
> the CORBA log file. The final two GIOP entries are as follows:
>
> ----------------------------------------------------------------------------
> ---
> IIOP putMessage Hexadecimal [padding] (interpretation) ISO 8859-1
> encoding
> --------------- - ---------------------------------------- -----------------
> ---
> putOctet < 47 (71) G
> putOctet < 49 (73) I
> putOctet < 4F (79) O
> putOctet < 50 (80) P
> putOctet < 01 (1) .
> putOctet < 01 (1) .
> putBoolean < 01 (TRUE) .
> putOctet < 00 (0) .
> putULong < 00000000 (0) ....
> putMessage | GIOP version = 1.1
> | flags = 1 ('<' little endian)
> | message type = 0 (Request)
> putRequest | service context length:
> putServiceContextList | service context length:
> putULong < 00000000 (0) ....
> putRequest | request id:
> putULong < 00000000 (0) ....
> putRequest | response expected:
> putBoolean < 01 (TRUE) .
> putRequest | object key:
> putULong < 00000041000000 [3] (65) ...A...
> putOctets < 452EE7E48636CCBB1612E7CAA5991D34C020C595 E.çä.6Ì»..çÊ¥..4À
> Å.
> 215FA948DA711155764E2FF78CF30313362AF9A3
> !_©HÚq.UvN/÷.ó..6*ù£
> 6A303FA1B4711160FB6C96F4BB1323E8DB4C6669
> j0?¡´q.`ûl.ô».#èÛLfi
> DBFAFD3B29 Ûúý;)
> putRequest | operation:
> putULong < 0000000B000000 [3] (11) .......
> putString < 6F665F6578656375746500 of_execute.
> putRequest | requesting principal:
> putULong < 0000000000 [1] (0) .....
> putRequest | request body:
> endMessage | message size = 104 (after 12 byte header)
> ----------------------------------------------------------------------------
> ---
> IIOP getMessage Hexadecimal [padding] (interpretation) ISO 8859-1
> encoding
> --------------- - ---------------------------------------- -----------------
> ---
> getOctet < 47 (71) G
> getOctet < 49 (73) I
> getOctet < 4F (79) O
> getOctet < 50 (80) P
> getOctet < 01 (1) .
> getOctet < 01 (1) .
> getOctet < 01 (1) .
> getOctet < 01 (1) .
> getULong < 0C000000 (12) ....
> getMessage | GIOP version = 1.1
> | flags = 1 ('<' little endian)
> | message type = 1 (Reply)
> | message size = 12 (after 12 byte header)
> getRequest | service context length:
> getULong < 00000000 (0) ....
> getULong < 00000000 (0) ....
> getULong < 00000000 (0) ....
> ** exception ** | number = 18, reason = offset + length exceeds message size
> for incoming data
>
> =========================================================================
>
> There's the exception. It fails silently otherwise.
>
> "Scott McReynolds [Sybase]" <scottmc@sybase.com> wrote in message
> news:kvbbJB6k$GA.201@forums.sybase.com...
> > Ronald,
> >
> > two questions. Are you using the proxies to create the instances. are
> the
> > nvo's and the proxies in the same PBD. they shold be either named
> different
> > or in different PBDs. My recommendation is for you to name the proxies
> > different then the nvos and place the nvos in different PBDs.
> >
> > Scott
> >
> > "Ronald Nasby" <rnasby@minn.net> wrote in message
> > news:SzQfID3k$GA.290@forums.sybase.com...
> > > From all investigation this seems like something I should be able to do,
> > > but....
> > >
> > > I have a stateless component named "n_manager" that through
> > createinstance()
> > > gets references to three stateful components named "n_comtest1",
> > > "n_comtest2", and "n_comtester". I then wish to call a method on the
> > > instance of "n_comtester" passing the references to "n_comtest1" and
> > > "n_comtest2".
> > >
> > > The IDL generated for the "of_test" function I'm calling is:
> > >
> > > interface n_comtester : n_combase
> > > {
> > > string of_test
> > > (
> > > in n_comtest1 an_comtest1,
> > > in n_comtest2 an_comtest2
> > > )
> > > raises (CTS::PBUserException);
> > > };
> > >
> > > I can track execution into the "of_test" method, but as soon as I
> attempt
> > to
> > > call a method on one of the passed component references, execution just
> > > ends. No error of any sort shows up in the log, connection objects,
> etc.
> > > The "n_manager" instance goes back into the pool, and the stateful
> > > components stay pooled.
> > >
> > > I was able to track execution, using TransactionServer log calls.
> > > Powerbuilders remote debugging won't step into the "test" method.
> > >
> > > I'm using Jaguar 3.0.1 (Build 30033)
> > >
> > > Thanks.
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
> >

If I'm not mistaken that last message rings of trying to pass NULLs - though I
don't know why it would fail silently in that case. Is there any chance the
stubs haven't actually been initialized?
--
Jim O'Neil
Senior Technical Support Engineer
Sybase, Inc


Ronald Nasby Posted on 2000-03-23 19:43:12.0Z
Newsgroups: sybase.public.easerver
From: "Ronald Nasby" <rnasby@minn.net>
Subject: Re: Component to component method call passing a component reference.
Date: Thu, 23 Mar 2000 13:43:12 -0600
Lines: 113
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: stpns.guidant.com 132.189.76.10
Message-ID: <347_MCG3KDQl$GA.201@forums.sybase.com>
References: <347_SzQfID3k$GA.290@forums.sybase.com> <347_kvbbJB6k$GA.201@forums.sybase.com> <347_rKVVBtEl$GA.111@forums.sybase.com> <347_38D94805.17D85C81@sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:25800
Article PK: 155841

This is really weird. I have been doing my testing under 3.5 with the first
EBF and with 3.1.

Here is the story:

I have four components. Two stateless: n_manager and n_comtester; Two
stateful: n_comtest1, and n_comtest2. Each component is a descendant of
n_combase, and is it's own Application with a library list that includes
n_combase and a proxies PBL.

From a Powerbuilder client I connect to the server and create a n_manager
proxy object to n_manager. I call n_manager.of_test() from the client
executing the following:

1: string ls_rv
2: n_factory ln_factory
3: n_comtest1 ln_comtest1
4: n_comtest2 ln_comtest2
5: n_comtester ln_comtester

6: ln_factory.of_setdefaultpackagename("test")
7: ln_factory.of_getobject("n_comtest1", ln_comtest1)
8: if not ln_comtest1._is_a("test/n_comtest1") then return "Error"
9: ln_factory.of_getobject("n_comtest2", ln_comtest2)
10: if not ln_comtest2._is_a("test/n_comtest2") then return "Error"
11: ln_factory.of_getobject("n_comtester", ln_comtester)
12: if not ln_comtester._is_a("test/n_comtester") then return "Error"

13: ln_comtester.of_ping()
14: ln_comtest1.of_ping()
15: ln_comtest2.of_ping()

16: ls_rv = ln_comtester.of_test(ln_comtest1, ln_comtest2)

17: ln_factory.of_setcomplete()
18: return ls_rv

============================================================================
=

Everything works great until line 16 is executed. The IDL for
n_comtester.of_test() is as follows:

module test
{
interface n_comtester : ::test::n_combase
{
string of_test
(
inout ::test::n_comtest1 an_comtest1,
inout ::test::n_comtest2 an_comtest2
)
raises (::CTS::PBUserException);
};
};


The Powerbuilder script in n_comtester.of_test() is as follows:

1: errorlogging lo_log
2: lo_log = create errorlogging

3: lo_log.log("In of_test()")

4: an_comtest1.of_ping()
5: an_comtest2.of_ping()

6: an_comtest1.of_setname("Albert")
7: an_comtest2.of_add(10)
8: return an_comtest1.of_getname() + " " + string(an_comtest2.of_getsum())

Everything works until line 4. This is the point where execution just ends.
No errors show anywhere except the CORBA log where the very last entry there
is:

** exception ** | number = 18, reason = offset + length exceeds message size
for incoming data

============================================================================
====

I also noticed that the Powerbuilder proxy that was generated seems to be
wrong for n_comtester. It generated the following:

$PBExportHeader$n_comtester.srx
$PBExportComments$Proxy imported from Jaguar via Jaguar Proxy generator.
global type n_comtester from n_combase
end type
global n_comtester n_comtester

forward prototypes
public:
function String of_test (REF n_comtest1 an_comtest1,REF n_comtest2
an_comtest2) alias for "of_test"
end prototypes

It did not inherit from CORBAObject like the other stubs, and did not
include the ancestor function "of_ping()".

After changing the exported syntax and importing I received the afore
mentioned results.

============================================================================
======

I get the same results by having everything in the same PBL and not using
proxies at all, except that the "_is_a()" fucntion calls don't work.


Any ideas anyone ?????????????


Jim O'Neil [Sybase] Posted on 2000-03-23 20:17:19.0Z
Newsgroups: sybase.public.easerver
Date: Thu, 23 Mar 2000 15:17:19 -0500
From: "Jim O'Neil [Sybase]" <joneil@sybase.com>
Organization: Sybase, Inc.
X-Mailer: Mozilla 4.7 [en]C-CCK-MCD (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
Subject: Re: Component to component method call passing a component reference.
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 111
NNTP-Posting-Host: joneil-nt.sybase.com 204.167.42.111
Message-ID: <347_38DA7BCF.367C5AA0@sybase.com>
References: <347_SzQfID3k$GA.290@forums.sybase.com> <347_kvbbJB6k$GA.201@forums.sybase.com> <347_rKVVBtEl$GA.111@forums.sybase.com> <347_38D94805.17D85C81@sybase.com> <347_MCG3KDQl$GA.201@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:25797
Article PK: 155839


Ronald Nasby wrote:

> This is really weird. I have been doing my testing under 3.5 with the first
> EBF and with 3.1.
>
> Here is the story:
>
> I have four components. Two stateless: n_manager and n_comtester; Two
> stateful: n_comtest1, and n_comtest2. Each component is a descendant of
> n_combase, and is it's own Application with a library list that includes
> n_combase and a proxies PBL.
>
> From a Powerbuilder client I connect to the server and create a n_manager
> proxy object to n_manager. I call n_manager.of_test() from the client
> executing the following:
>
> 1: string ls_rv
> 2: n_factory ln_factory
> 3: n_comtest1 ln_comtest1
> 4: n_comtest2 ln_comtest2
> 5: n_comtester ln_comtester
>
> 6: ln_factory.of_setdefaultpackagename("test")
> 7: ln_factory.of_getobject("n_comtest1", ln_comtest1)
> 8: if not ln_comtest1._is_a("test/n_comtest1") then return "Error"
> 9: ln_factory.of_getobject("n_comtest2", ln_comtest2)
> 10: if not ln_comtest2._is_a("test/n_comtest2") then return "Error"
> 11: ln_factory.of_getobject("n_comtester", ln_comtester)
> 12: if not ln_comtester._is_a("test/n_comtester") then return "Error"
>
> 13: ln_comtester.of_ping()
> 14: ln_comtest1.of_ping()
> 15: ln_comtest2.of_ping()
>
> 16: ls_rv = ln_comtester.of_test(ln_comtest1, ln_comtest2)
>
> 17: ln_factory.of_setcomplete()
> 18: return ls_rv
>
> ============================================================================
> =
>
> Everything works great until line 16 is executed. The IDL for
> n_comtester.of_test() is as follows:
>
> module test
> {
> interface n_comtester : ::test::n_combase
> {
> string of_test
> (
> inout ::test::n_comtest1 an_comtest1,
> inout ::test::n_comtest2 an_comtest2
> )
> raises (::CTS::PBUserException);
> };
> };
>
> The Powerbuilder script in n_comtester.of_test() is as follows:
>
> 1: errorlogging lo_log
> 2: lo_log = create errorlogging
>
> 3: lo_log.log("In of_test()")
>
> 4: an_comtest1.of_ping()
> 5: an_comtest2.of_ping()
>
> 6: an_comtest1.of_setname("Albert")
> 7: an_comtest2.of_add(10)
> 8: return an_comtest1.of_getname() + " " + string(an_comtest2.of_getsum())
>
> Everything works until line 4. This is the point where execution just ends.
> No errors show anywhere except the CORBA log where the very last entry there
> is:
>
> ** exception ** | number = 18, reason = offset + length exceeds message size
> for incoming data
>
> ============================================================================
> ====
>
> I also noticed that the Powerbuilder proxy that was generated seems to be
> wrong for n_comtester. It generated the following:
>
> $PBExportHeader$n_comtester.srx
> $PBExportComments$Proxy imported from Jaguar via Jaguar Proxy generator.
> global type n_comtester from n_combase
> end type
> global n_comtester n_comtester
>
> forward prototypes
> public:
> function String of_test (REF n_comtest1 an_comtest1,REF n_comtest2
> an_comtest2) alias for "of_test"
> end prototypes
>
> It did not inherit from CORBAObject like the other stubs, and did not
> include the ancestor function "of_ping()".
>
> After changing the exported syntax and importing I received the afore
> mentioned results.
>
> ============================================================================
> ======
>
> I get the same results by having everything in the same PBL and not using
> proxies at all, except that the "_is_a()" fucntion calls don't work.
>
> Any ideas anyone ?????????????

From what you posted I don't see anything you are specifically doing wrong
here. You note about the proxy for n_comtester is interesting. Just to humor
me, can you change the of_test function to accept the arguments by value and not
by reference? Also, try doing an IsValid(as_comtest1) on that Line 4. If you
were going to have a problem with this code, I really would have though it would
be line 13 of the first script, but since you're getting past that point, I'm
not certain where the problem lies. Unless someone else wants to jump in here or
I'm missing something obvious, you may be at the stage where you'll want to open
an issue with support and have someone here look into it.
--
Jim O'Neil
Senior Technical Support Engineer
Sybase, Inc


Ronald Nasby Posted on 2000-03-23 20:41:24.0Z
Newsgroups: sybase.public.easerver
From: "Ronald Nasby" <rnasby@minn.net>
Subject: Re: Component to component method call passing a component reference.
Date: Thu, 23 Mar 2000 14:41:24 -0600
Lines: 11
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: stpns.guidant.com 132.189.76.10
Message-ID: <347_yKvMsjQl$GA.201@forums.sybase.com>
References: <347_SzQfID3k$GA.290@forums.sybase.com> <347_kvbbJB6k$GA.201@forums.sybase.com> <347_rKVVBtEl$GA.111@forums.sybase.com> <347_38D94805.17D85C81@sybase.com> <347_MCG3KDQl$GA.201@forums.sybase.com> <347_38DA7BCF.367C5AA0@sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:25794
Article PK: 155836

Changed of_test() to pass by reference as you suggested and no go. In the
of_test() script, I also put in checks to determine if the reference
an_comtest1 was null or invalid. It's neither. I also put in a call to
it's "_is_a()" method at which point the server appears to hang.

The PBLs are small and simple. I'll send them to anyone who wants to give
this a try.

Ronald.