Re: Java API: how to really log out ? (v7.1)

2012-02-02 Thread Thibaut Barrère
Hi Ben, > Not being a Java guy, I hesitate to ask, but should you not logout first > then clear the context? > that wa a good suggestion :) I tried both orders but the leak still occurs. I'll see with a more recent version of ARS later on. thanks anyway! Thibaut -- http://www.logeek.fr _

Re: Java API: how to really log out ? (v7.1)

2012-01-24 Thread Ben Chernys
Not being a Java guy, I hesitate to ask, but should you not logout first then clear the context? Ben From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of Thibaut Barrère Sent: January-24-12 08:59 To: arslist@ARSLIST.ORG Subject: Re: Java API: how to

Re: Java API: how to really log out ? (v7.1)

2012-01-23 Thread Thibaut Barrère
Hi > Leaks are almost always the app’s fault and not the API’s fault. Well in this case, the repro was fairly simple. I used JRuby and the Java ARS API 5.1, basically the following code: require 'arapi51' include_class 'com.remedy.arsys.api.ARServerUser' while true context = ARServerUser.ne

Re: Java API: how to really log out ? (v7.1)

2012-01-23 Thread Misi Mladoniczky
ion calls. > > Cheers Misi. > Ben. > > -Original Message- > From: Action Request System discussion list(ARSList) > [mailto:arslist@ARSLIST.ORG] On Behalf Of Misi Mladoniczky > Sent: January-23-12 09:05 > To: arslist@ARSLIST.ORG > Subject: Re: Java API: ho

Re: Java API: how to really log out ? (v7.1)

2012-01-23 Thread Ben Chernys
Of Misi Mladoniczky Sent: January-23-12 09:05 To: arslist@ARSLIST.ORG Subject: Re: Java API: how to really log out ? (v7.1) Hi Ben, Are not MetaUpdate linked to the C-API? In the C-API, you have to issue an ARTermination() or each session you have created, which is typically one if you work

Re: Java API: how to really log out ? (v7.1)

2012-01-23 Thread Misi Mladoniczky
eta-Update, our premium ARS Data tool, lets you automate > your imports, migrations, in no time at all, without programming, > without staging forms, without merge workflow. > <http://www.softwaretoolhouse.com/> http://www.softwaretoolhouse.com/ > > > > > > > &

Re: Java API: how to really log out ? (v7.1)

2012-01-22 Thread Ben Chernys
m discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of Thibaut Barrère Sent: January-22-12 12:30 To: arslist@ARSLIST.ORG Subject: Re: Java API: how to really log out ? (v7.1) ** Hi, On Tue, May 31, 2011 at 5:42 PM, Papolu, Appajee wrote: AR API methoods in essense have a notio

Re: Java API: how to really log out ? (v7.1)

2012-01-22 Thread Thibaut Barrère
Hi, On Tue, May 31, 2011 at 5:42 PM, Papolu, Appajee wrote: > AR API methoods in essense have a notion of establishing connection, > authenticating, performing the eventual network api call to the Server and > so on. That is why your subsequent ops after logout just work seamlessly. > Of course a

Re: Java API: how to really log out ? (v7.1)

2011-05-31 Thread Papolu, Appajee
AR API methoods in essense have a notion of establishing connection, authenticating, performing the eventual network api call to the Server and so on. That is why your subsequent ops after logout just work seamlessly. Of course all this noted additional work happens conditionally on as needed ba

Re: Java API: how to really log out ? (v7.1)

2011-05-31 Thread LJ LongWing
Thibaut, Give this a try….turn on user logging log in, do your normal stuff, log out, and then perform your query….check to see if it does another login automatically….I think you will find that it does. In my mind I only do a log out when my program is terminating…so I’ve never tried to do anyth