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.

Failed to find Proxy

2 posts in EJB Client Last posting was on 2006-12-07 12:31:35.0Z
Rich Posted on 2006-05-01 17:18:51.0Z
Reply-To: "Rich" <rtorcasio@uniland.com>
From: "Rich" <rtorcasio@uniland.com>
Newsgroups: sybase.public.powerbuilder.ejbclient
Subject: Failed to find Proxy
Lines: 32
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
X-Original-NNTP-Posting-Host: gw.uniland.com
Message-ID: <44563217@forums-2-dub>
X-Original-Trace: 1 May 2006 09:06:47 -0700, gw.uniland.com
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 1 May 2006 09:06:47 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 1 May 2006 10:18:51 -0700
X-Trace: forums-1-dub 1146503931 10.22.108.75 (1 May 2006 10:18:51 -0700)
X-Original-Trace: 1 May 2006 10:18:51 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.ejbclient:641
Article PK: 424762

Hello,

I've seen this error posted,but have not seen an answer. Any help would be
gretly appreciated.

I created a java class to query our db and return an arraylist of
propertyshort objects for use in a datawindow. I'm using pb 10 and a 1.42
jvm. a returns 256 on the second code line. I get the error "Failed to find
the proxy to represent the Java class: PropertyShort.
It implements the following interfaces: java.io.Serializable; " on the first
line inside the for loop. My proxy objects appear to be generated correctly.

long a, l_row
arraylist a_props
propertyshort p

a_props = n_prop.getproperties()
a = a_props.size()
for a = 1 to a_props.size()
p = a_props.get(a - 1)

l_row = dw_2.InsertRow(0)
dw_2.Object.prop_id[l_row] = p.getid()
dw_2.Object.prop_name[l_row] = p.getname()
dw_2.Object.prop_file_no[l_row] = p.getfileno()
next


Thanks an avance,
Rich


GGR Posted on 2006-12-07 12:31:35.0Z
Sender: 644b.457706e4.1804289383@sybase.com
From: GGR
Newsgroups: sybase.public.powerbuilder.ejbclient
Subject: Re: Failed to find Proxy
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <457817b7.752a.1681692777@sybase.com>
References: <44563217@forums-2-dub>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 7 Dec 2006 05:31:35 -0700
X-Trace: forums-1-dub 1165498295 10.22.241.41 (7 Dec 2006 05:31:35 -0700)
X-Original-Trace: 7 Dec 2006 05:31:35 -0700, 10.22.241.41
Lines: 46
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.ejbclient:698
Article PK: 424799

Hallo,

I've the same problem.
My app use different types, but behaviour is the same.
I'm using PB 10.2.1 and J2SE 1.4.2_05.

Could anyone tell me if this is a Powerbuilder bug or if I'm
coding wrong?

Thanks a lot

> Hello,
>
> I've seen this error posted,but have not seen an answer.
> Any help would be gretly appreciated.
>
> I created a java class to query our db and return an
> arraylist of propertyshort objects for use in a
> datawindow. I'm using pb 10 and a 1.42 jvm. a returns 256
> on the second code line. I get the error "Failed to find
> the proxy to represent the Java class: PropertyShort. It
> implements the following interfaces: java.io.Serializable;
> " on the first line inside the for loop. My proxy objects
> appear to be generated correctly.
>
> long a, l_row
> arraylist a_props
> propertyshort p
>
> a_props = n_prop.getproperties()
> a = a_props.size()
> for a = 1 to a_props.size()
> p = a_props.get(a - 1)
>
> l_row = dw_2.InsertRow(0)
> dw_2.Object.prop_id[l_row] = p.getid()
> dw_2.Object.prop_name[l_row] = p.getname()
> dw_2.Object.prop_file_no[l_row] = p.getfileno()
> next
>
>
> Thanks an avance,
> Rich
>
>