On Mar 9, 2010, at 7:23 PM, Paul Hoadley wrote:

On 10/03/2010, at 1:38 PM, Chuck Hill wrote:

What Kieran said about jstack (but never ask him for database advice :-P). If your sessions are deadlocking, that will point it out. Otherwise, check your sleep() and terminate() methods in Session. If you have any code in them,

I sure do!

make it like this:

public void sleep() {
        try {
                // your code here
        }
        finally {
                super.sleep();
        }
}

It's sure not!  Will fix.

If you are using 5.3 and have a logout method that calls session.terminate(), users double clicking on the logout link can also do this.

I have users that would definitely do things like double-click on a logout link, which does call session.terminate(), but I'm using 5.4.3. Is that problem fixed in 5.4.3?


Yes, it is.  The other solution is to call session.setTimeout(1);

Chuck

--
Chuck Hill             Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects







_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to