Return-Path: Delivered-To: apmail-incubator-esme-dev-archive@minotaur.apache.org Received: (qmail 50360 invoked from network); 20 Jul 2009 18:04:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Jul 2009 18:04:50 -0000 Received: (qmail 70734 invoked by uid 500); 20 Jul 2009 18:05:55 -0000 Delivered-To: apmail-incubator-esme-dev-archive@incubator.apache.org Received: (qmail 70680 invoked by uid 500); 20 Jul 2009 18:05:55 -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 70670 invoked by uid 99); 20 Jul 2009 18:05:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Jul 2009 18:05:55 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of feeder.of.the.bears@gmail.com designates 209.85.222.188 as permitted sender) Received: from [209.85.222.188] (HELO mail-pz0-f188.google.com) (209.85.222.188) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Jul 2009 18:05:44 +0000 Received: by pzk26 with SMTP id 26so719456pzk.32 for ; Mon, 20 Jul 2009 11:05:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=+x1ceAmToglcCGr1w5zCBzBwcxHf4ujr5HWO4t1MTtA=; b=tMN7vz/hQiP2zOGIGmHpgK+d46HUEbvuEtuySB2rIdk2SUpyXkdff69AEskdk6n6Wt KkL5Iqu9uM3tS1cwbsaT/W7WTRNUfT3M7SLbcs0x/m+ydo2R8rzIQKgUEjQ3DkhAbHee lRMiUgikQel5DQUix+pbH8F6iUceM0HekuoY4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=DJwU+Ix+777y4p9pxmJ862eQYOBqO6DvzPUJGQcknePwP3jeqi5laqwfHwSZNYQ45/ TOBAH0ur5wWttHHL37PSRQITbPqJmNfq9jG0X9ookmDQrec0z5WP/8AmS30/0xs6ZuHz lkm2bvuiIAMcj+wN58/UiMjjdeAPbfsD9++oE= MIME-Version: 1.0 Received: by 10.143.18.16 with SMTP id v16mr1035019wfi.182.1248113124367; Mon, 20 Jul 2009 11:05:24 -0700 (PDT) In-Reply-To: References: Date: Mon, 20 Jul 2009 11:05:24 -0700 Message-ID: Subject: Re: [Lift] JSON handler doesn't respond From: David Pollak To: liftweb@googlegroups.com, esme-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=001636e8ff646adcd5046f26fbfa X-Virus-Checked: Checked by ClamAV on apache.org --001636e8ff646adcd5046f26fbfa Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On Sun, Jul 19, 2009 at 3:20 AM, Vassil Dichev wrote: > > Hello folks, > > I've gathered some information on the recent problems where ESME was > hanging. > The problem seems to be that the json handler, generated with > S.buildJsonFunc, sometimes stops working after the browser has been > open for awhile. Not all user sessions stop working though (I'm > currently trying with 3 open sessions). > > I've also tried calling the generated JavaScript function manually > from each of the browsers and it confirms the fact that for some > sessions the handler is not invoked. I execute the function e.g. in > the url bar like this: > > javascript:F6669067195625JG({'command': 'post', 'params':{'msg': > document.getElementById('textdude').value, 'tags': > document.getElementById('tagdude').value, 'access_pool': > document.getElementById('access_pool').value, 'reply-to': > currentConvNumber}}); > > As a result, in the sessions where things don't work the pattern > matching on JsonCmd is not reached at all, whereas "case JsonCmd" > matches fine where it works. > > Any ideas on how to debug this? Has anyone experienced the same problem? Vassil, I have not seen problems like this. The debugging tools I user are Firebug on the client and the catch-all pattern match on the server. If you can create a reproducible case for me, I'll look into it (although I'm slammed this week.) Thanks, David > > > Greetings, > Vassil > > P.S. We are running Lift version 1.1-SNAPSHOT. I experienced the > problem under OpenJDK 6, but it occurs with Sun's JDK 6 too. > > --~--~---------~--~----~------------~-------~--~----~ > You received this message because you are subscribed to the Google Groups > "Lift" group. > To post to this group, send email to liftweb@googlegroups.com > To unsubscribe from this group, send email to > liftweb+unsubscribe@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/liftweb?hl=en > -~----------~----~----~----~------~----~------~--~--- > > -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpp Git some: http://github.com/dpp --001636e8ff646adcd5046f26fbfa--