Return-Path: Delivered-To: apmail-incubator-esme-dev-archive@minotaur.apache.org Received: (qmail 51914 invoked from network); 4 Feb 2010 15:04:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Feb 2010 15:04:57 -0000 Received: (qmail 59245 invoked by uid 500); 4 Feb 2010 15:04:57 -0000 Delivered-To: apmail-incubator-esme-dev-archive@incubator.apache.org Received: (qmail 59178 invoked by uid 500); 4 Feb 2010 15:04:56 -0000 Mailing-List: contact esme-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: esme-dev@incubator.apache.org Delivered-To: mailing list esme-dev@incubator.apache.org Received: (qmail 59168 invoked by uid 99); 4 Feb 2010 15:04:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2010 15:04:56 +0000 X-ASF-Spam-Status: No, hits=4.0 required=10.0 tests=HTML_MESSAGE,MIME_QP_LONG_LINE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [98.136.44.37] (HELO n61.bullet.mail.sp1.yahoo.com) (98.136.44.37) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 04 Feb 2010 15:04:45 +0000 Received: from [69.147.84.145] by n61.bullet.mail.sp1.yahoo.com with NNFMP; 04 Feb 2010 15:04:23 -0000 Received: from [69.147.65.166] by t8.bullet.mail.sp1.yahoo.com with NNFMP; 04 Feb 2010 15:04:23 -0000 Received: from [127.0.0.1] by omp501.mail.sp1.yahoo.com with NNFMP; 04 Feb 2010 15:04:23 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 771822.14712.bm@omp501.mail.sp1.yahoo.com Received: (qmail 43569 invoked by uid 60001); 4 Feb 2010 14:57:42 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1265295462; bh=iLFdtZJbHdcf5dtJ7xC4zAL+wojfeCec1DP4fNs5h28=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=oYsEUGyN0JPtGWWwbFePB2tfMeL28JB5iVmWYBNTvVTxk+Msi5eVjMGQP0nuKj2bNwqmkXmDzuTLgaoMyPNebIgUNBcSemgsPUdGuICmXoQcRG3PJ+vqJ/7qx7YBHo02BXY08tf2njza9HWAnZtCcwEhZqMyHzJWRqJbY9Wl9ps= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=emFwp7cqTY5wMaDJ1W7brpjvEI05D4z/J5HV7BqF5XSkD7WS95PQylCwIJUPmxkyQYk4lIwaFbGJahlBGRMMA+LaGwEsSoExrtePIioQnUJczmBtM4bwmJD2R8EhIvMjQFTh1aCD6frasyZaMGZLu31gDq9SSNwHx6LjrPQ4gOQ=; Message-ID: <547226.43502.qm@web44901.mail.sp1.yahoo.com> X-YMail-OSG: Jm6wO98VM1mVEDNLEafymhgWAsHWQLX_SUbJNO5kaifxw.4TqF2hLlKjfuLVjdmNLX4Bju0HivR0JKN4Sh4etR7XqNs93MGza02P2ibMb7zyxXPzPK94y3nRpIok32WBW1HRn5k_jfWpSQp2oTEb4_nn4l49BMZ7BCStccRTZ2c.Oio7jmJ122E8AnljIPb9de_grVuRQdS52YzCP6QjTwnDkicSiyZ00m_AzscoiyE6BuAp74cHS1jHicHpIWKPQ8HnAr52NWvE68M4EpVvw32XGdBEwXTd6KdhWu3wfm49zTRo971FFM9PV7LONk0YE4hkeSCV2_y629WgDXELyQUN552lNgwP2.Eo99NX9M8rsnynLTc7PZx2GVNsy3zlCpayABaaXIAkM2Pe5Zqr9n6IxwswRUVbZPtFXORJzjJASb_n_CCWMJLNnhfDfFNE7IcoQI7B_PTvPdvPTUYzSW4WEQNHGck_yrEwVX.3CH4mR5ooThWSfkN7uMfMDZUjr44Yo6xjf6uhT3ghDfWkiJeofX1ACLvv3Ajnu7OG Received: from [24.130.61.81] by web44901.mail.sp1.yahoo.com via HTTP; Thu, 04 Feb 2010 06:57:42 PST X-Mailer: YahooMailClassic/9.1.10 YahooMailWebService/0.8.100.260964 Date: Thu, 4 Feb 2010 06:57:42 -0800 (PST) From: Uday Subbarayan Subject: Re: Tomcat/ESME: Shutdown Problems To: esme-dev@incubator.apache.org In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-867702160-1265295462=:43502" X-Virus-Checked: Checked by ClamAV on apache.org --0-867702160-1265295462=:43502 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Thanks. Let me try. Tomcat 6.0.24 on JDK 1.6 on Ubuntu 8. Best, Uday. ------------------------- =0AI do not blog but e-write: =0Ahttp://uds-web.blogspot.com --- On Thu, 2/4/10, Richard Hirsch wrote: From: Richard Hirsch Subject: Re: Tomcat/ESME: Shutdown Problems To: esme-dev@incubator.apache.org Date: Thursday, February 4, 2010, 10:43 AM What version of Tomcat are you using?=A0 What OS are we talking about? D. On Thu, Feb 4, 2010 at 4:58 AM, Richard Hirsch wrot= e: > More ideas from the lift list: > > "You can also add to Boot.scala (given that the StandardDBVendor is > called dbVendor): > > LiftRules.unloadHooks.append(() =3D> dbVendor.closeAllConnections_!()) > > What this will do is close all the DB connections when the context is unl= oaded. > > Additionally, you can switch to H2 which is generally more stable than De= rby > in my experience." > > Why don't you try adding the line above to Boot.scala to see if it helps. > > I've also added a Jira item to deal with the problem: > https://issues.apache.org/jira/browse/ESME-155 > > D. > > > > On Wed, Feb 3, 2010 at 11:05 PM, Uday Subbarayan > wrote: >> Tomcat didn't shutdown. I did kill -9 on the process. >> >> Uday. >> >> ------------------------- >> >> I do not blog but e-write: >> >> http://uds-web.blogspot.com >> >> --- On Wed, 2/3/10, Richard Hirsch wrote: >> >> From: Richard Hirsch >> Subject: Re: Tomcat/ESME: Shutdown Problems >> To: esme-dev@incubator.apache.org >> Date: Wednesday, February 3, 2010, 8:00 PM >> >> I got a comment back from David Pollack on the lift list: >> >> http://groups.google.com/group/liftweb/browse_thread/thread/bf498414b18d= 4226/4299ce36a03749f0?show_docid=3D4299ce36a03749f0 >> >> Was the tomcat process really shutdown or did it hang and you had to kil= l it. >> >> D. >> >> On Wed, Feb 3, 2010 at 8:41 PM, Richard Hirsch w= rote: >>> No problem in jetty but I remember having problems on occasion with >>> derby and tomcat. If I remember correctly, I sometimes had problems >>> during hot deploys. >>> >>> D. >>> >>> On Wed, Feb 3, 2010 at 7:54 PM, Uday Subbarayan >>> wrote: >>>> Thanks. Did you try to shutting down & starting your container with ES= ME? Just want to make sure that it's not my local environment problem. >>>> >>>> Best, >>>> Uday. >>>> >>>> ------------------------- >>>> >>>> I do not blog but e-write: >>>> >>>> http://uds-web.blogspot.com >>>> >>>> --- On Wed, 2/3/10, Richard Hirsch wrote: >>>> >>>> From: Richard Hirsch >>>> Subject: Re: Tomcat/ESME: Shutdown Problems >>>> To: esme-dev@incubator.apache.org >>>> Date: Wednesday, February 3, 2010, 6:13 PM >>>> >>>> looks like a lift problem that might be occur when the container shuts= down.. >>>> >>>> I just posted on the issue on the Lift Google Group. I'm hopeful that >>>> someone there has an idea. >>>> >>>> D. >>>> >>>> >>>> On Wed, Feb 3, 2010 at 4:30 PM, Uday Subbarayan >>>> wrote: >>>>> After I shutdown Tomcat, i see that there is lot's of stack trace in = the log file. I also noticed that derby is not getting shutdown. Next time,= when i restart Tomcat, ESME fails to load. I get all kinds of exception in= the browser. >>>>> >>>>> Once i manually kill -9 on the java process then everything works fin= e. Here is the (partial) stack trace from the log file. Yahoo email is not = allowing me to post full stack. >>>>> >>>>> Best, >>>>> Uday. >>>>> >>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>>> SEVERE: >>>>> A web application created a ThreadLocal with key of type >>>>> [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@13f79f7]) and a >>>>> value of type [org.apache.derby.iapi.services.context.ContextManager] >>>>> (value [org.apache.derby.iapi.services.context.ContextManager@b52a28]= ) >>>>> but failed to remove it when the web application was stopped. To >>>>> prevent a memory leak, the ThreadLocal has been forcibly removed. >>>>> Feb 3, 2010 7:04:57 AM >>>>> =A0org.apache.coyote.http11.Http11Protocol destroy >>>>> INFO: Stopping Coyote HTTP/1.1 on http-8080 >>>>> Exception in thread "pool-2-thread-14" java.lang.NullPointerException >>>>> =A0=A0=A0 at scala.runtime.BoxesRunTime.boxToLong(Unknown Source) >>>>> =A0=A0=A0 at net.liftweb.http.S$$anonfun$net$liftweb$http$S$$wrapQuer= y$1.apply(S.scala:972) >>>>> =A0=A0=A0 at net.liftweb.http.S$$anonfun$net$liftweb$http$S$$wrapQuer= y$1.apply(S.scala:972) >>>>> =A0=A0=A0 at scala.List.foreach(List.scala:841) >>>>> =A0=A0=A0 at net.liftweb.http.S$.net$liftweb$http$S$$wrapQuery(S.scal= a:972) >>>>> =A0=A0=A0 at net.liftweb.http.S$$anonfun$net$liftweb$http$S$$_nest2In= nerInit$1$$anonfun$apply$25.apply(S.scala:1109) >>>>> =A0=A0=A0 at net.liftweb.http.S$.net$liftweb$http$S$$doAround(S.scala= :906) >>>>> =A0=A0=A0 at net.liftweb.http.S$$anonfun$net$liftweb$http$S$$doAround= $1..apply(S.scala:907) >>>>> =A0=A0=A0 at >>>>> =A0net.liftweb.mapper.MetaProtoExtendedSession$myWrapper$.apply(Proto= ExtendedSession.scala:80) >>>>> =A0=A0=A0 at net.liftweb.http.S$.net$liftweb$http$S$$doAround(S.scala= :907) >>>>> >>>>> >>>>> >>>>> >>>> >>>> >>>> >>>> >>> >> >> >> >> > =0A=0A=0A --0-867702160-1265295462=:43502--