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.

syntax error returned when deploying ejb proxy object

2 posts in EJB Client Last posting was on 2008-12-31 17:32:27.0Z
Eugene Choi Posted on 2008-12-30 18:28:25.0Z
Sender: 2e02.495a6411.1804289383@sybase.com
From: Eugene Choi
Newsgroups: sybase.public.powerbuilder.ejbclient
Subject: syntax error returned when deploying ejb proxy object
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <495a6849.2e66.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 30 Dec 2008 10:28:25 -0800
X-Trace: forums-1-dub 1230661705 10.22.241.41 (30 Dec 2008 10:28:25 -0800)
X-Original-Trace: 30 Dec 2008 10:28:25 -0800, 10.22.241.41
Lines: 19
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.ejbclient:802
Article PK: 424896

Hi,
I have a problem with the following scenario:
1) custom java class that uses a 3rd party library that
makes use of java.awt class (PaintEvent)
1a) my custom classes were written in java 1.5 and i set the
IDE's jdk to 1.5. I am using Powerbuilder 10.5.2 using the
most current EBF.
2) creation of the ejb proxy objects is successful.
3) but when i go to deploy my application making use of the
proxy objects, Powerbuilder returns back an error for the
following stubs:
mfa105.pbl(paintevent).9: Error C0031: Syntax error
mfa105.pbl(dialogtype).7: Error C0031: Syntax error

if i remove the stubs for these 2 objects, i can get around
the syntax error, but then i get a new set of syntax errors
from objects that used the original 2.

Does anyone know how to fix this?


Eugene Choi Posted on 2008-12-31 17:32:27.0Z
Sender: 2e02.495a6411.1804289383@sybase.com
From: Eugene Choi
Newsgroups: sybase.public.powerbuilder.ejbclient
Subject: Re: syntax error returned when deploying ejb proxy object
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <495bacab.787b.1681692777@sybase.com>
References: <495a6849.2e66.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 31 Dec 2008 09:32:27 -0800
X-Trace: forums-1-dub 1230744747 10.22.241.41 (31 Dec 2008 09:32:27 -0800)
X-Original-Trace: 31 Dec 2008 09:32:27 -0800, 10.22.241.41
Lines: 23
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.ejbclient:803
Article PK: 424897

The way i fixed it was to keep the interface to my java
object (the public methods) to have really basic signatures
(using basic POJOs that did not make use of objects that had
deep dependencies). what a headache.

> Hi,
> I have a problem with the following scenario:
> 1) custom java class that uses a 3rd party library that
> makes use of java.awt class (PaintEvent)
> 1a) my custom classes were written in java 1.5 and i set
> the IDE's jdk to 1.5. I am using Powerbuilder 10.5.2 using
> the most current EBF.
> 2) creation of the ejb proxy objects is successful.
> 3) but when i go to deploy my application making use of
> the proxy objects, Powerbuilder returns back an error for
> the following stubs:
> mfa105.pbl(paintevent).9: Error C0031: Syntax error
> mfa105.pbl(dialogtype).7: Error C0031: Syntax error
>
> if i remove the stubs for these 2 objects, i can get
> around the syntax error, but then i get a new set of
> syntax errors from objects that used the original 2.
>
> Does anyone know how to fix this?