Home > Error Calling > Error Calling Method Of A Pbni Object 1

Error Calling Method Of A Pbni Object 1

Try gJavaVM = CREATE JavaVM li_return_jvm = gJavaVM.CreateJavaVM("", FALSE) catch (CreateException ce) .... It works when running the source code; it fails when running the EXE on user's PC. Continue... These files include: pbjvm90.dll pbejbclient90.dll pbejbclient90.pbd pbejbclient90.jar Try gEJBConn = CREATE EJBConnection li_return_jvm = gEJBConn.CreateJavaInstance (gNCClientJava, "NCClient") catch (Throwable t2) li_return = -1 as_error_msg = t2.getMessage() + ". Check This Out

Forums Archive > PowerBuilder > EJB Client > "Error calling method of a PBNI object" Error calling method of a PBNI object 8 posts in EJB Client . If in the project painter you have not selected the pbdom90.pbd to be deployed as a dll, then only the PBDOM objects referenced in your script get deployed to the EXE. Replace your PBSOAPCLIENT.* libraries in the target liblist with PBWSCLIENT.* Paul Horan[TeamSybase] SAP "Krish" wrote in message news:[email protected].. > Hi, > My app is using soapconnection using PBeasysoap125.pbx.My > development environment It triggers catch (Throwable >> >t2).

regards, Krishna Paul Horan[Sybase] Posted on 2012-05-04 13:46:42.0Z From: "Paul Horan[Sybase]" Newsgroups: sybase.public.powerbuilder.generalReferences: <[email protected]>In-Reply-To: <[email protected]>Subject: Re: Error calling method of a PBNI objectLines: 4MIME-Version: 1.0Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=originalContent-Transfer-Encoding: 7bitX-Priority: 3X-MSMail-Priority: Contact I.S." > Return li_return > end try © Copyright Mon Oct 10 14:47:02 UTC 2016, SAP Inc. - Forums Archive v 2.2 × Sybase NNTP forums - End Of It works when running the source code; it fails when >running the EXE on user's PC. Mein KontoSucheMapsYouTubePlayNewsGmailDriveKalenderGoogle+ÜbersetzerFotosMehrShoppingDocsBooksBloggerKontakteHangoutsNoch mehr von GoogleAnmeldenAusgeblendete FelderNach Gruppen oder Nachrichten suchen Um Google Groups Discussions nutzen zu können, aktivieren Sie JavaScript in Ihren Browsereinstellungen und aktualisieren Sie dann diese Seite. .

For example, the directory "c\....\powerbuilder" contains PBJVM90.DLL, I stalled Java Runtime in "c\....\powerbuilder\jre". These >files include: > >pbjvm90.dll >pbejbclient90.dll >pbejbclient90.pbd >pbejbclient90.jar > > > > >Try > gEJBConn = CREATE EJBConnection > li_return_jvm = gEJBConn.CreateJavaInstance > (gNCClientJava, "NCClient") > >catch (Throwable t2) > li_return It's only included for > >> backwards-compatibility, and isn't nearly as > functional >> as the .NET engine. > >> > >> Replace your PBSOAPCLIENT.* libraries in the target > >> Thanks. > Is that directory in the path?

SoClean Theme By Jaben Cargman (Tiny Gecko)Powered by YAF | YAF © 2003-2009, Yet Another Forum.NETThis page was generated in 0.017 seconds. Hi, > >>> My app is using soapconnection using > >>> PBeasysoap125.pbx.My development environment is PB > 12.5 >>> Build 3072.Issue i am facing issue on Win7 32/64 > bits >>> Bruce Armstrong [TeamSybase] Posted on 2004-02-13 17:50:36.0Z Message-ID: <[email protected]>From: "Bruce Armstrong [TeamSybase]" Organization: TeamSybaseX-Mailer: Mozilla 4.73 [en]C-CCK-MCD Boeing Kit (Windows NT 5.0; U)X-Accept-Language: enMIME-Version: 1.0Newsgroups: sybase.public.powerbuilder.xmlSubject: Re: Error calling method of http://nntp-archive.sybase.com/nntp-archive/action/article/%3Cdkk6b1hv[email protected]%3E If necessary, use words. - Francis of Assisi http://www.needhim.org Jack Posted on 2005-06-17 14:25:28.0Z Sender: [email protected]: JackNewsgroups: sybase.public.powerbuilder.ejbclientSubject: Re: Error calling method of a PBNI objectX-Mailer: WebNews to Mail Gateway v1.1tMessage-ID:

These > >files include: > > > >pbjvm90.dll > >pbejbclient90.dll > >pbejbclient90.pbd > >pbejbclient90.jar > > > > > > > > > >Try > > gEJBConn = CREATE EJBConnection > It's only included for > > >> >> backwards-compatibility, and isn't nearly as > > >> functional >> as the .NET engine. > > >> >> > > >> >> Replace It's only included for > backwards-compatibility, and isn't nearly as functional > as the .NET engine. > > Replace your PBSOAPCLIENT.* libraries in the target > liblist with PBWSCLIENT.* > > These >> >files include: >> > >> >pbjvm90.dll >> >pbejbclient90.dll >> >pbejbclient90.pbd >> >pbejbclient90.jar >> > >> > >> > >> > >> >Try >> > gEJBConn = CREATE EJBConnection >>

Any > updates would be wonderful as we were ok using the older > version of PowerBuilder (10.2) everything worked fine, the > only reason for change is because of a https://groups.google.com/d/topic/sybase.public.powerbuilder.general/7s1RtuzWjwU By the way, if I change the PATH or CLASSPATH variable, do I need to reboot the PC? It works when running the source code; it fails when > running the EXE on user's PC. end try 2.

If in the project painter you have selected the pbdom90.pbd to be deployed as a dll, then the original pbdom90.dll in the pb shared directory is overwritten by this newly created his comment is here These >files include: > >pbjvm90.dll >pbejbclient90.dll >pbejbclient90.pbd >pbejbclient90.jar > > > > >Try > gEJBConn = CREATE EJBConnection > li_return_jvm = gEJBConn.CreateJavaInstance > (gNCClientJava, "NCClient") > >catch (Throwable t2) > li_return Mein KontoSucheMapsYouTubePlayNewsGmailDriveKalenderGoogle+ÜbersetzerFotosMehrShoppingDocsBooksBloggerKontakteHangoutsNoch mehr von GoogleAnmeldenAusgeblendete FelderNach Gruppen oder Nachrichten suchen Um Google Groups Discussions nutzen zu können, aktivieren Sie JavaScript in Ihren Browsereinstellungen und aktualisieren Sie dann diese Seite. . You might want to repost your question in the new forums: PowerBuilder Developer Center Forums - http://goo.gl/VXpIb wrote: > Was there ever a solution found for this? > I'm using

Please Help.... > > > > > >I installed Java Runtime in > >"C:\ProgramFiles\Sybase\Shared\PowerBuilder\jre" > >and I have a path variable that points to that directory. > > > >I think Is it known issue with PB or any memeory leak ? It triggers catch (Throwable t2). this contact form olivier wrote: > > Hi, > Run my deployed application I get this error > (PBXRuntimeError) : > "PBNI exeption: Error calling method of a PBNI object" > > this is

Copyright © 2008-2012 Werysoft Inc. El error sale no en Exception, sinó al salir del TRY. Have you tried > putting those files in the same directory as the > application? > > On 16 Jun 2005 17:41:48 -0700, Jack wrote: > > >I am getting "Error

Have you tried putting those files in the same directory as the application?

The PB code looks for the PBX in the >>> working >> directory. >>>>> >>>>> What I do in some cases where that can be an issue is >>> make >> I entered the JRE path in the PATH variable as well just to make sure. Hi, > > My app is using soapconnection using > > PBeasysoap125.pbx.My development environment is PB 12.5 > > Build 3072.Issue i am facing issue on Win7 32/64 bits > > Reference all PBDOM classes in your powerscript.

Eg: pbdom_object[] obj pbdom_document doc doc.getContent(obj[]) will fail if it tries to create a PBDOM class instance internally which is not referenced in your script. 2. On 17 Jun 2005 07:22:14 -0700, Jack wrote: >1. It triggers catch (Throwable > t2). navigate here Some components may not be visible.

The PB code looks for the PBX in the > > working >> directory. > > >> > > >> What I do in some cases where that can be an All new questions should be directed to the appropriate forum at the SAP Community Network (SCN). I've checked the Sybase case files and none help and now I've followed this topic so now I'm stuck!! I think I have all the requred DLL/PDB/JAR files intalled in "C:\ProgramFiles\Sybase\Shared\PowerBuilder".

Unless you put the JRE > directory rooted in the same directory as where > PBJVM90.DLL is, you'll need to put the directory > containing jvm.dll on the path. All new questions should be directed to the appropriate forum at the SAP Community Network (SCN). I think the object is not destroyed from memory even though i am doing destroy in the code. Please Help.... > > >I installed Java Runtime in >"C:\ProgramFiles\Sybase\Shared\PowerBuilder\jre" >and I have a path variable that points to that directory. > >I think I have all the requred DLL/PDB/JAR files

It works when running the source code; it fails when >running the EXE on user's PC.