Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 76399 invoked from network); 31 Jul 2007 18:41:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 Jul 2007 18:41:17 -0000 Received: (qmail 5651 invoked by uid 500); 31 Jul 2007 18:41:15 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 5614 invoked by uid 500); 31 Jul 2007 18:41:15 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 5603 invoked by uid 99); 31 Jul 2007 18:41:15 -0000 Received: from Unknown (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Jul 2007 11:41:15 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of geronimouser@gmail.com designates 209.85.198.185 as permitted sender) Received: from [209.85.198.185] (HELO rv-out-0910.google.com) (209.85.198.185) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Jul 2007 18:41:09 +0000 Received: by rv-out-0910.google.com with SMTP id b22so593569rvf for ; Tue, 31 Jul 2007 11:40:49 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TgEhU66Ca58lME6SVZTkZzVmk48aGReJGPMQPFzTleXSX19d+eSsxJk0x3sYHrB7Q7XcGFVzNzVgRgYZz7Z0sRxYXQqphSXrw9Cm41qY5vCyLyxaM8BAl4BCrQFwLO0o4n6bQMyLwrRYLuh+/AlKeYD2JaZZP76q+nZJlCWMKLk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=lRVWAApgn8QMlkqZYII7gSZOrDct5yGHRNELmYcCEfAZzAJySiQllwGjG/RWCMfFpHEsJo+4QV9vxgXoPe3dVQDBgGmYuTGUCxz8j8pFBASGKFvdkuajs5GlkKIVQeigaTPFkXfLk2h1VgvQvhiPtOLowI2EbUs7si2WdXrDxYI= Received: by 10.141.85.13 with SMTP id n13mr2288701rvl.1185907249233; Tue, 31 Jul 2007 11:40:49 -0700 (PDT) Received: by 10.141.212.6 with HTTP; Tue, 31 Jul 2007 11:40:49 -0700 (PDT) Message-ID: <681024b40707311140g29559cd0wb39aeb717e30ce9b@mail.gmail.com> Date: Tue, 31 Jul 2007 14:40:49 -0400 From: "Geronimo User" To: user@geronimo.apache.org Subject: Re: Asking again: No registered context in security getCurrentContext() after apps run for two days. In-Reply-To: <34A37C44-76FD-4D8D-8FF9-82068A621662@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <681024b40707310730i2f3484ai9f2841937ebf9b45@mail.gmail.com> <34A37C44-76FD-4D8D-8FF9-82068A621662@gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org On 7/31/07, Kevan Miller wrote: > > So, all is well for the first two days? Yes, no issues seen in the geronimo.log. > Then some requests fail (e.g. > the console), but others work? No other indications of problems in > the server log? I'm working on the hypothesis that requests that would force a j_securitycheck workflow are the ones that fail. That is just a hypothesis, though. I can get other requests to work by submitting, via a browser, requests that I can see have been previously submitted, by looking at the catalina logs. > I'd guess you're either running out of some resource (threads/ > connectors, etc) or you have a memory leak. Have you checked your > memory utilization? Assuming Java 5, you could run with the following > JAVA_OPTS="-XX:+PrintGCDetails -XX: > +HeapDumpOnOutOfMemoryError" (assuming you're using startup/geronimo > sh/bat scripts). Alternatively, bump up your heap and permgen > settings and see if the time-to-failure increases -- JAVA_OPTS="- > Xmx256m -XX:MaxPermSize=128m", for example... > > --kevan Here are our JAVA_OPTS, which were in effect when we reproduced the problem. We didn't see any memory-related issues. JAVA_OPTS=-enableassertions -Xms1024M -Xmx1024M -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8787 -verbose:gc -XX:+UseConcMarkSweepGC -XX:+CMSPermGenSweepingEnabl ed -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=128m I am starting Geronimo from the command line in .../geronimo-1.1.1/bin, using: "C:\Program Files\informiam\geronimo-1.1.1\bin\startup.bat" Thanks.