[Building Sakai] Portal Chat error message

Omer A Piperdi omer at rice.edu
Wed Sep 3 08:13:36 PDT 2014


Thanks. We are already doing... -Djava.net.preferIPv4Stack=true .

Does anyone know if there is any pooling settings for chat server and 
what is the default? i.e. calling

"GET 
/direct/portal-chat/xxxx-xxxx-xxxx-xxxx/latestData.json?auto=true&siteId=TEST-625-001-F14&online=true&videoAgent=chrome&_=1409756130394 
HTTP/1.1" 200 489

Thanks
Omer
On 9/3/2014 8:39 AM, Matthew Jones wrote:
> This is a good tip Adrian. I had seen this occasionally too locally 
> and just ignored the error. It seems like in a typical Sakai 
> production install you can also just disable the IPv6 addresses 
> completely on the internal network, which seems like it should get a 
> java app to work more reliably. (There are lots of tips out there for 
> this http://superuser.com/a/693132/354846)
>
> My ISP (like most? http://test-ipv6.com/faq_no_ipv6.html) isn't even 
> assigning my an IPv6 at all yet anyway.
>
>
> On Wed, Sep 3, 2014 at 5:51 AM, Adrian Fish <adrian.r.fish at gmail.com 
> <mailto:adrian.r.fish at gmail.com>> wrote:
>
>     Hi Omer,
>
>     I'm having similar problems here at Lancaster. I suspect it's
>     something to do with multicast and am currently exploring some
>     options which I'll report back on when I get somewhere. One thing
>     that seems to get mentioned quite a lot on the web is the fact
>     that Java comes with IPv6 and IPv4 stacks and that it may be worth
>     trying adding "-Djava.net.preferIPv4Stack=true" to your JAVA_OPTS.
>     I've not tried that yet.
>
>     Cheers,
>     Adrian.
>
>
>     On 29 August 2014 18:09, Omer A Piperdi <omer at rice.edu
>     <mailto:omer at rice.edu>> wrote:
>
>         We are seeing quite a few error message like below in
>         catalina.out and
>         few of our users complain about pop-up message saying "Chat server
>         unavailable".
>         Any idea or suggestion on this message? This is on sakai-10.x.
>
>         Thanks
>         Omer
>
>         ------------------
>         2014-08-28 12:08:32,643 ERROR http-bio-8443-exec-220
>         org.sakaiproject.entitybroker.impl.external.SakaiExternalIntegrationProvider
>         - Direct request failure: RuntimeException:Fatal error trying
>         to execute
>         custom action method: latestData:show:handleLatestData:Direct
>         request
>         failure: RuntimeException:Fatal error trying to execute custom
>         action
>         method: latestData:show:handleLatestData:
>           Sakai version: 10-SNAPSHOT(TRUNK)
>
>         Server: sakai.rice.edu <http://sakai.rice.edu>(sakai-n3)
>         [sakai-n3-1409135115519]
>
>         Request URI:
>         /direct/portal-chat/xxxx-61c2-4012-b336-3f0570b50f26/latestData.json
>           Path Info:
>         /portal-chat/xxxxx-61c2-4012-b336-3f0570b50f26/latestData..json
>           Context path: /direct
>           Method: GET
>
>         Server: sakai-n3-1409135115519
>           User agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0)
>         Gecko/20100101 Firefox/31.0
>           Browser ID: Win-Mozilla
>           IP address: xxx.42.206.5
>           User ID: xxxxxxxxx-61c2-4012-b336-3f0570b50f26
>           User EID: xxxx
>           User Display ID: xxxx
>
>         Full stacktrace:
>         RuntimeException:Fatal error trying to execute custom action
>         method:
>         latestData:show:handleLatestData:
>         java.lang.RuntimeException: Fatal error trying to execute
>         custom action
>         method: latestData:show:handleLatestData
>                  at
>         org.sakaiproject.entitybroker.rest.EntityActionsManager.handleCustomActionExecution(EntityActionsManager.java:231)
>                  at
>         org.sakaiproject.entitybroker.rest.EntityActionsManager.handleCustomActionRequest(EntityActionsManager.java:96)
>                  at
>         org.sakaiproject.entitybroker.rest.EntityHandlerImpl.handleEntityAccess(EntityHandlerImpl.java:403)
>                  at
>         org.sakaiproject.entitybroker.util.servlet.DirectServlet.dispatch(DirectServlet.java:183)
>                  at
>         org.sakaiproject.entitybroker.servlet.SakaiDirectServlet.dispatch(SakaiDirectServlet.java:146)
>                  at
>         org.sakaiproject.entitybroker.util.servlet.DirectServlet.handleRequest(DirectServlet.java:154)
>                  at
>         org.sakaiproject.entitybroker.util.servlet.DirectServlet.service(DirectServlet.java:132)
>                  at
>         javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
>         _______________________________________________
>         sakai-dev mailing list
>         sakai-dev at collab.sakaiproject.org
>         <mailto:sakai-dev at collab.sakaiproject.org>
>         http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
>         TO UNSUBSCRIBE: send email to
>         sakai-dev-unsubscribe at collab.sakaiproject.org
>         <mailto:sakai-dev-unsubscribe at collab.sakaiproject.org> with a
>         subject of "unsubscribe"
>
>
>
>     _______________________________________________
>     sakai-dev mailing list
>     sakai-dev at collab.sakaiproject.org
>     <mailto:sakai-dev at collab.sakaiproject.org>
>     http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
>     TO UNSUBSCRIBE: send email to
>     sakai-dev-unsubscribe at collab.sakaiproject.org
>     <mailto:sakai-dev-unsubscribe at collab.sakaiproject.org> with a
>     subject of "unsubscribe"
>
>
> !DSPAM:2294,54071a11180793288414688! 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20140903/8040c1a8/attachment.html 


More information about the sakai-dev mailing list