Return-Path: list-help: list-unsubscribe: List-Post: List-Id: Mailing-List: contact cactus-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list cactus-user@jakarta.apache.org Received: (qmail 72980 invoked from network); 22 Aug 2003 14:22:10 -0000 Received: from web41905.mail.yahoo.com (66.218.93.156) by daedalus.apache.org with SMTP; 22 Aug 2003 14:22:09 -0000 Message-ID: <20030822142159.88174.qmail@web41905.mail.yahoo.com> Received: from [193.67.187.139] by web41905.mail.yahoo.com via HTTP; Fri, 22 Aug 2003 07:21:59 PDT Date: Fri, 22 Aug 2003 07:21:59 -0700 (PDT) From: jacques Subject: problem with too many open sessions - another question To: cactus MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi there I sent a cry for help earlier today (entitled : "problem with too many sessions"). I have done some digging, and have stumbled upon something that might shed some light on my problem (although I still need some help from somebody). When running one of the unit tests that come with the cactus distribution (in samples/servlet) one of the tests in "TestHttpSession" fails. It comprises the following : //------------------------------------------------------------------------- /** * Verify that Cactus can provide us with a real HTTP session cookie. * * @param theRequest the request object that serves to initialize the * HTTP connection to the server redirector. */ public void beginCreateSessionCookie(WebRequest theRequest) { HttpSessionCookie sessionCookie = theRequest.getSessionCookie(); assertNotNull("Session cookie should not be null", sessionCookie); theRequest.addCookie(sessionCookie); } /** * Verify that Cactus can provide us with a real HTTP session cookie. */ public void testCreateSessionCookie() { assertTrue("A session should have been created prior to " + "this request", !session.isNew()); } This means that a new session is created when the framework calls testXXX, whereas it should use the same session it supposedly created in beginXXX. Could this be a setting on my server ? I am using Atg Dynamo, and had to deploy the war file in a J2EE container inside the server VM. Any help appreciated Thanks Jacques __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com