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.

Problem when calling java in PB10

2 posts in EJB Client Last posting was on 2005-09-23 08:56:31.0Z
William Posted on 2005-09-13 06:59:57.0Z
From: "William" <wuso1016@hotmail.com>
Newsgroups: sybase.public.powerbuilder.ejbclient
Subject: Problem when calling java in PB10
Lines: 21
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
NNTP-Posting-Host: 158.132.23.188
X-Original-NNTP-Posting-Host: 158.132.23.188
Message-ID: <432678ed$1@forums-1-dub>
Date: 12 Sep 2005 23:59:57 -0700
X-Trace: forums-1-dub 1126594797 158.132.23.188 (12 Sep 2005 23:59:57 -0700)
X-Original-Trace: 12 Sep 2005 23:59:57 -0700, 158.132.23.188
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.ejbclient:567
Article PK: 424695

I want to call a java to make a request to do the ldap authentication
through SSL.
I follow the instruction stated in http://www.sybase.com/detail?id=1037085.
Originally, I set my JAVA_HOME=C:\jdk1.4, it works fine.
But if I set my JAVA_HOME=C:\1.3.1_16, the program terminate without any
message.
And there is some alert message in vm.out :
***ALERT: JNI local ref creation exceeded capacity (creating: 17, limit:
16).
at java.lang.System.initProperties(Native Method)
at java.lang.System.initializeSystemClass(System.java:853)
***ALERT: JNI local ref creation exceeded capacity (creating: 18, limit:
16).
at java.lang.System.initProperties(Native Method)
at java.lang.System.initializeSystemClass(System.java:853)

Is there any setting i forget to set?
And can the EJB Client Proxy work fine with JDK1.3?


M Posted on 2005-09-23 08:56:31.0Z
Reply-To: "M" <cs99cs1@hotmail.com>
From: "M" <cs99cs1@hotmail.com>
Newsgroups: sybase.public.powerbuilder.ejbclient
References: <432678ed$1@forums-1-dub>
Subject: Re: Problem when calling java in PB10
Lines: 43
Organization: M
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
NNTP-Posting-Host: dchhajed-xp2.sybase.com
X-Original-NNTP-Posting-Host: dchhajed-xp2.sybase.com
Message-ID: <4333c33f@forums-1-dub>
Date: 23 Sep 2005 01:56:31 -0700
X-Trace: forums-1-dub 1127465791 10.44.146.113 (23 Sep 2005 01:56:31 -0700)
X-Original-Trace: 23 Sep 2005 01:56:31 -0700, dchhajed-xp2.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.ejbclient:570
Article PK: 424699

I am also facing same problem , can you tell me the step to call java
classes
I follow all then steps but i got below error :

-----------------------------------------------------------------------------------------------------------------------
---------- Deploy: Deploy of pbjava
Retrieving PowerBuilder Proxies from EJB...
Generation Errors: Class 'JavaPBTestHome' not found
Deployment Error: No files returned for package/component
'JavaPBTest'. Error code: Unknown. Proxy was not created.
---------- Finished Deploy of pbjava

-----------------------------------------------------------------------------------------------------------------------

Thanks

"William" <wuso1016@hotmail.com> wrote in message
news:432678ed$1@forums-1-dub...
>I want to call a java to make a request to do the ldap authentication
> through SSL.
> I follow the instruction stated in
> http://www.sybase.com/detail?id=1037085.
> Originally, I set my JAVA_HOME=C:\jdk1.4, it works fine.
> But if I set my JAVA_HOME=C:\1.3.1_16, the program terminate without any
> message.
> And there is some alert message in vm.out :
> ***ALERT: JNI local ref creation exceeded capacity (creating: 17, limit:
> 16).
> at java.lang.System.initProperties(Native Method)
> at java.lang.System.initializeSystemClass(System.java:853)
> ***ALERT: JNI local ref creation exceeded capacity (creating: 18, limit:
> 16).
> at java.lang.System.initProperties(Native Method)
> at java.lang.System.initializeSystemClass(System.java:853)
>
> Is there any setting i forget to set?
> And can the EJB Client Proxy work fine with JDK1.3?
>
>
>