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.new(user,password,'', host)
  context.login
  sleep(5)
  context.clear
  context.logout
end

Following along with TaskInfo, the process leaks 3 connections at each
login.

I did not run this against ARS 7+ but will soon and will report back here
(as my customer is planning to upgrade).

-- Thibaut

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are"

Reply via email to