Domino Bug? - Waiting for session to finish: Session State

My application uses xmlHttp to connect to the server and get same information. All system are working fine for a while, but after a time the http process get lower and stop to response the requests. When I type “tell http show thread state” the console shows me a lot of threads with the message bellow:

27/04/2008 19:39:15 HTTP Server: Waiting for session to finish: Session State [Processing Request] Session ID [10189] Thread ID [6116 (0x17e4)] POST /Partreq/Partreqtestes.nsf/(WEB_AJAX)?OpenAgent HTTP/1.0

It likes that the session of the agent is not close after it runs and it’s hang the http process.

I’m using Domino 7.03 with service packs.

Does anyone know what is happen?

Obs. Sorry about my english

Thanks in advanced

Subject: Domino Bug? - Waiting for session to finish: Session State

Hi,

You don’t write it, but i assume that your server agent is written in java, correct?

I also assume that you use jars packaged in your agent alongside the agent code?

I would advice you to move these jars out to the global classpath (lib/ext or even javauserclasses). There are (imho) problems with classloaders not freeing up stuff depending on if you use additional resources in agent class loaders or in the global class loader.

I’ve run into this multiple times and for me, using the global classloader (putting jars in the extension directory for example) made this work.

Kind regards

Daniel

www.noteshound.com

Subject: RE: Domino Bug? - Waiting for session to finish: Session State

Hi Daniel,

my agents are write in lotus script… i had read about the bug with java agent, but it’s not the case…

Thank you for your response !!!

Subject: Domino Bug? - Waiting for session to finish: Session State

If you are using LS2J in your agent, that has had a lot of memory leaks when called recursively (repeatedly called in a loop)

Subject: RE: Domino Bug? - Waiting for session to finish: Session State

Hi Melissa, thanks for your response, but it’s not the case… i’m not using LS2J.

Thanks again !