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
to really log out ? (v7.1) ** 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

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

2012-01-24 Thread John Baker
ARServerUser.clear() doesn't do anything but call logout. ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug12 www.wwrug12.com ARSList: Where the Answers Are

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

2012-01-23 Thread Misi Mladoniczky
/ From: Action Request System 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

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
. 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: how to really log out ? (v7.1) Hi Ben, Are not MetaUpdate

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 =

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 appajee_pap...@bmc.comwrote: 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

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

2012-01-22 Thread Ben Chernys
(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 appajee_pap...@bmc.com wrote: AR API methoods in essense have a notion

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

2011-05-31 Thread Thibaut Barrère
Hello, if I issue an ARServerUser.logout via the Java API (7.1), I can still connect to the server, retrieve entries etc. Is it a known issue ? Is there a work-around ? thanks! -- Thibaut ___ UNSUBSCRIBE or access

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

2011-05-31 Thread LJ LongWing
31, 2011 9:04 AM To: arslist@ARSLIST.ORG Subject: Java API: how to really log out ? (v7.1) ** Hello, if I issue an ARServerUser.logout via the Java API (7.1), I can still connect to the server, retrieve entries etc. Is it a known issue ? Is there a work-around ? thanks

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

2011-05-31 Thread Papolu, Appajee
@ARSLIST.ORG] On Behalf Of Thibaut Barrère [thibaut.barr...@gmail.com] Sent: Tuesday, May 31, 2011 8:03 AM To: arslist@ARSLIST.ORG Subject: Java API: how to really log out ? (v7.1) ** Hello, if I issue an ARServerUser.logout via the Java API (7.1), I can still connect to the server, retrieve