incubator-esme-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Pollak <feeder.of.the.be...@gmail.com>
Subject Re: [Lift] JSON handler doesn't respond
Date Mon, 20 Jul 2009 18:05:24 GMT
On Sun, Jul 19, 2009 at 3:20 AM, Vassil Dichev <vdichev@gmail.com> 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<liftweb%2Bunsubscribe@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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message