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.

Bug in EJB2PB105, Problem with JDK 1.5

3 posts in EJB Client Last posting was on 2006-05-10 02:42:52.0Z
M. Stier Posted on 2006-04-21 17:39:35.0Z
From: "M. Stier" <NoStier.Spam@rs-system.de>
User-Agent: Thunderbird 1.5 (Windows/20051201) Hamster-Pg/1.22.2.0
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.ejbclient
Subject: Bug in EJB2PB105, Problem with JDK 1.5
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
X-Original-NNTP-Posting-Host: pd95b28b7.dip0.t-ipconnect.de
Message-ID: <44490828@forums-2-dub>
X-Original-Trace: 21 Apr 2006 09:28:24 -0700, pd95b28b7.dip0.t-ipconnect.de
Lines: 19
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 21 Apr 2006 09:28:25 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 21 Apr 2006 10:39:35 -0700
X-Trace: forums-1-dub 1145641175 10.22.108.75 (21 Apr 2006 10:39:35 -0700)
X-Original-Trace: 21 Apr 2006 10:39:35 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.ejbclient:635
Article PK: 424753

Hi there!
I've recently encountered a bug in ejb2pb105.exe which took hours to
track down. Maybe this information could save you some time.

1. ejb2pb105 refers to the registry settings of PB 10.0 and not as you
might assume PB 10.5.
This leads to the problem, that javap.exe of the jdk is not found or
even worse an arbitrary javap is used if it happens to be on the system
path. Solution: copy the HKLM/Software/Sybase/Powerbuilder/10.5/Java
hiven of the registry to HKLM/Software/Sybase/Powerbuilder/10.0/Java.

2. The output format of javap.exe has changed as of JDK version 1.5.
ejb2pb*.exe can't handle the new syntax and produces corrupt
proxy-files. No workaround for that. Hello Sybase?



regards
M. Stier


Bede <bede_nosp Posted on 2006-04-25 14:22:56.0Z
From: Bede <bede_nosp@m_sofico.be>
Newsgroups: sybase.public.powerbuilder.ejbclient
Subject: Re: Bug in EJB2PB105, Problem with JDK 1.5
Message-ID: <MPG.1eb83e34273e04629897ad@forums.sybase.com>
References: <44490828@forums-2-dub>
Organization: Sofico
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-15"
Content-Transfer-Encoding: 7bit
User-Agent: MicroPlanet-Gravity/2.70.2067
X-Original-NNTP-Posting-Host: uu194-7-38-226.unknown.uunet.be
X-Original-Trace: 25 Apr 2006 06:11:27 -0700, uu194-7-38-226.unknown.uunet.be
Lines: 31
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 25 Apr 2006 06:11:28 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 25 Apr 2006 07:22:56 -0700
X-Trace: forums-1-dub 1145974976 10.22.108.75 (25 Apr 2006 07:22:56 -0700)
X-Original-Trace: 25 Apr 2006 07:22:56 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.ejbclient:636
Article PK: 424755

JDK 1.5 is not yet supported, only JDKs 1.3 and 1.4 are
however, i believe that it will be supported in the future.

in regard to your bug, thanks for sharing this with the forum.
but it would be best if you could also submit it as a proper bug via
sybase caseXpress or open a support case if this needs to get fixed
urgently.

Ben

In article <44490828@forums-2-dub>, NoStier.Spam@rs-system.de says...

> Hi there!
> I've recently encountered a bug in ejb2pb105.exe which took hours to
> track down. Maybe this information could save you some time.
>
> 1. ejb2pb105 refers to the registry settings of PB 10.0 and not as you
> might assume PB 10.5.
> This leads to the problem, that javap.exe of the jdk is not found or
> even worse an arbitrary javap is used if it happens to be on the system
> path. Solution: copy the HKLM/Software/Sybase/Powerbuilder/10.5/Java
> hiven of the registry to HKLM/Software/Sybase/Powerbuilder/10.0/Java.
>
> 2. The output format of javap.exe has changed as of JDK version 1.5.
> ejb2pb*.exe can't handle the new syntax and produces corrupt
> proxy-files. No workaround for that. Hello Sybase?
>
>
>
> regards
> M. Stier
>


Li-xiang.Sun Posted on 2006-05-10 02:42:52.0Z
From: Li-xiang.Sun@sybase.com
Subject: Re: Bug in EJB2PB105, Problem with JDK 1.5
Newsgroups: sybase.public.powerbuilder.ejbclient
MIME-Version: 1.0
References: <44490828@forums-2-dub> <MPG.1eb83e34273e04629897ad@forums.sybase.com>
X-Newsreader: Lotus Notes Release 6.5 September 26, 2003
X-MIMETrack: Serialize by Notes Client on Li-xiang Sun/SYBASE(Release 6.5|September 26, 2003) at 05/10/2006 10:41:32 AM, Serialize complete at 05/10/2006 10:41:32 AM
Content-Type: multipart/alternative; boundary="=_alternative 000EC9FF4825716A_="
NNTP-Posting-Host: li-xiangsun.sybase.com
X-Original-NNTP-Posting-Host: li-xiangsun.sybase.com
Message-ID: <4461532c@forums-1-dub>
Date: 9 May 2006 19:42:52 -0700
X-Trace: forums-1-dub 1147228972 10.42.14.211 (9 May 2006 19:42:52 -0700)
X-Original-Trace: 9 May 2006 19:42:52 -0700, li-xiangsun.sybase.com
Lines: 15
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.ejbclient:646
Article PK: 424761


Actually,from 14.2.06 javap had changed the output format.This issue have been  fixed at March lastyear.But maybe javap changed their output format again in 1.5