Thanks Martin

I've moved across to Amazon EC2 and it now works.

Cheers


On Tue, Nov 10, 2015 at 6:24 PM, Martin Grigorov <[email protected]>
wrote:

> Hi,
>
> Initially I thought that the load balancers in front of Tomcat are not
> configured with sticky sessions support. This is something normal for
> services like Google AppEngine, Heroku, and it seems Google Compute Cloud
> (I'm not sure whether GCC is a completely new service or just the new name
> of GAE).
> If this is the case then the problem would be that Wicket Ajax request
> tries to find a page by id (e.g. url?3) but since the request is handled by
> a random server in the cloud and most probably there is no session
> replication it fails to find it.
>
> But org.apache.catalina.connector.ClientAbortException means that the
> client closed the TCP connection before the server having the chance to
> write the response.
> "Client" could be the browser, but also could be a proxy in between. I
> think it is the latter. What are the reasons exactly I cannot tell.
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Tue, Nov 10, 2015 at 4:42 AM, Stephen Cameron <
> [email protected]
> > wrote:
>
> > I'll try another hosting provider
> >
> > On Tue, Nov 10, 2015 at 2:12 PM, Stephen Cameron <
> > [email protected]
> > > wrote:
> >
> > > No luck with finding the source of this problem, startup seems fine now
> > > and nothing strange in logs. Just the ajax requests fail, whereas
> > requests
> > > that initiate page (number) changes are fine.
> > > I don't know the Resful spec at all so cannot test the failing actions
> > > that way for comparison.
> > >
> > >
> > > On Tue, Nov 10, 2015 at 10:16 AM, Stephen Cameron <
> > > [email protected]> wrote:
> > >
> > >> Sorry, here is an error in catalina.out
> > >>
> > >> 23:03:39,587 [IsisLogOnExceptionFilter ajp-apr-8009-exec-17 ERROR]
> > >> Request caused org.apache.catalina.connector.ClientAbortException:
> > >>
> >
> http://104.155.220.243/chats01/wicket/wicket/page?7-1.IBehaviorListener.0-theme-header-primaryMenuBar-menuItems-0-topMenu-subMenuItems-5-content-menuLink&_=1447107146733org.apache.catalina.connector.ClientAbortException
> > :
> > >> java.io.IOException: Failed to send AJP message at
> > >>
> >
> org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:407)
> > >> at
> org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:480)
> > at
> > >>
> > org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:356)
> > >> at
> > org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:331)
> > >> at
> > org.apache.catalina.connector.Response.flushBuffer(Response.java:610) at
> > >>
> >
> org.apache.catalina.connector.ResponseFacade.flushBuffer(ResponseFacade.java:306)
> > >> at
> > >>
> >
> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:234)
> > >> at
> > >>
> >
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:282)
> > >> at
> > >>
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
> > >> at
> > >>
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
> > >> at
> > >>
> >
> org.apache.isis.core.webapp.diagnostics.IsisLogOnExceptionFilter.doFilter(IsisLogOnExceptionFilter.java:52)
> > >> at
> > >>
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
> > >> at
> > >>
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
> > >> at
> > >>
> >
> org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)
> > >> at
> > >>
> >
> org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)
> > >> at
> > >>
> >
> org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
> > >> at
> > >>
> >
> org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
> > >> at
> > >>
> >
> org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)
> > >> at
> > >>
> >
> org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)
> > >> at
> > >>
> >
> org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
> > >> at
> > >>
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
> > >> at
> > >>
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
> > >> at
> > >>
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
> > >> at
> > >>
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
> > >> at
> > >>
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
> > >> at
> > >>
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
> > >> at
> > >>
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
> > >> at
> > >>
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956)
> > >> at
> > >>
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
> > >> at
> > >>
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)
> > >> at
> > org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:188)
> > >> at
> > >>
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)
> > >> at
> > >>
> >
> org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2522)
> > >> at
> > >>
> >
> org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2511)
> > >> at
> > >>
> >
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> > >> at
> > >>
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> > >> at
> > >>
> >
> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
> > >> at java.lang.Thread.run(Thread.java:745)Caused by:
> java.io.IOException:
> > >> Failed to send AJP message at
> > >> org.apache.coyote.ajp.AjpAprProcessor.output(AjpAprProcessor.java:297)
> > at
> > >>
> >
> org.apache.coyote.ajp.AbstractAjpProcessor$SocketOutputBuffer.doWrite(AbstractAjpProcessor.java:1246)
> > >> at org.apache.coyote.Response.doWrite(Response.java:499) at
> > >>
> >
> org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:402)
> > >> ... 37 more
> > >>
> > >> On Tue, Nov 10, 2015 at 9:55 AM, Stephen Cameron <
> > >> [email protected]> wrote:
> > >>
> > >>> Hi all,
> > >>>
> > >>> I just installed my Isis app on Google Compute Cloud as a test system
> > >>> but have a problem with it in that many menu options are not working.
> > >>> Specifically those are actions that would require parameters and
> hence
> > a
> > >>> pop-up window. So I am thinking these involve AJAX calls from Wicket
> > to the
> > >>> server.
> > >>>
> > >>> I cannot see any Javascript errors or see any issues in server logs,
> I
> > >>> can see the I am running on Apache Isis 1.9.0, all working fine on my
> > >>> localhost, any ideas?
> > >>>
> > >>> This is what I see in terms of HTTP messages
> > >>>
> > >>> steve_cameron_62@tomcatstack-1:/opt/bitnami/apache-tomcat/logs$ tail
> > -n
> > >>> 10 localhost_access_log.2015-11-09.txt121.45.163.128 - -
> > >>> [09/Nov/2015:22:03:26 +0000] "GET
> > >>>
> >
> /chats01/wicket/entity?3-1.IBehaviorListener.0-theme-header-primaryMenuBar-menuItems-0-topMenu-subMenuItems-3-content-menuLink&_=1447106597407
> > >>> HTTP/1.1" 200 9772121.45.163.128 - - [09/Nov/2015:22:03:34 +0000]
> "GET
> > >>>
> >
> /chats01/wicket/entity?3-1.IBehaviorListener.0-theme-header-secondaryMenuBar-menuItems-0-topMenu-subMenuItems-6-content-menuLink&_=1447106605657
> > >>> HTTP/1.1" 200 79121.45.163.128 - - [09/Nov/2015:22:03:34 +0000] "GET
> > >>> /chats01/wicket/wicket/page?4 HTTP/1.1" 200 44708121.45.163.128 - -
> > >>> [09/Nov/2015:22:03:42 +0000] "GET
> > >>>
> >
> /chats01/wicket/wicket/page?4-1.IBehaviorListener.0-theme-header-secondaryMenuBar-menuItems-0-topMenu-subMenuItems-13-content-menuLink&_=1447106613352
> > >>> HTTP/1.1" 200 7376121.45.163.128 - - [09/Nov/2015:22:04:36 +0000]
> "GET
> > >>>
> >
> /chats01/wicket/wicket/page?6-1.IBehaviorListener.0-theme-header-secondaryMenuBar-menuItems-0-topMenu-subMenuItems-0-content-menuLink&_=1447106468378
> > >>> HTTP/1.1" 200 72121.45.163.128 - - [09/Nov/2015:22:04:36 +0000] "GET
> > >>> /chats01/wicket/wicket/page?7 HTTP/1.1" 200 44841121.45.163.128 - -
> > >>> [09/Nov/2015:22:12:28 +0000] "GET
> > >>>
> >
> /chats01/wicket/wicket/page?7-1.IBehaviorListener.0-theme-header-primaryMenuBar-menuItems-0-topMenu-subMenuItems-3-content-menuLink&_=1447106676379
> > >>> HTTP/1.1" 200 9705121.45.163.128 - - [09/Nov/2015:22:13:06 +0000]
> "GET
> > >>>
> >
> /chats01/wicket/wicket/page?7-1.IBehaviorListener.0-theme-header-primaryMenuBar-menuItems-0-topMenu-subMenuItems-0-content-menuLink&_=1447107146731
> > >>> HTTP/1.1" 200 9707121.45.163.128 - - [09/Nov/2015:22:30:14 +0000]
> "GET
> > >>> /chats01/wicket/ HTTP/1.1" 302 -121.45.163.128 - -
> > [09/Nov/2015:22:40:04
> > >>> +0000] "GET
> > >>>
> >
> /chats01/wicket/wicket/page?7-1.IBehaviorListener.0-theme-header-primaryMenuBar-menuItems-0-topMenu-subMenuItems-0-content-menuLink&_=1447107146732
> > >>> HTTP/1.1" 200 9707steve_cameron_62@tomcatstack-1
> > :/opt/bitnami/apache-tomcat/logs$
> > >>> tail -n 10 localhost_access_log.2015-11-09.txt121.45.163.128 - -
> > >>> [09/Nov/2015:22:48:26 +0000] "GET /chats01/ HTTP/1.1" 200
> > >>> 4208121.45.163.128 - - [09/Nov/2015:22:48:28 +0000] "GET
> > /chats01/wicket/
> > >>> HTTP/1.1" 302 -121.45.163.128 - - [09/Nov/2015:22:48:29 +0000] "GET
> > >>> /chats01/wicket/entity?9 HTTP/1.1" 200 5779210.240.0.2 - -
> > >>> [09/Nov/2015:22:48:29 +0000] "GET
> > >>>
> >
> /chats01/wicket/wicket/resource/de.agilecoders.wicket.webjars.request.resource.WebjarsCssResourceReference/webjars/select2/3.5.1/select2.png
> > >>> HTTP/1.1" 200 61310.240.0.2 - - [09/Nov/2015:22:48:29 +0000] "GET
> > >>>
> >
> /chats01/wicket/wicket/resource/de.agilecoders.wicket.webjars.request.resource.WebjarsCssResourceReference/webjars/select2/3.5.1/select2-spinner.gif
> > >>> HTTP/1.1" 200 184910.240.0.2 - - [09/Nov/2015:22:48:29 +0000] "GET
> > >>>
> >
> /chats01/wicket/wicket/resource/de.agilecoders.wicket.webjars.request.resource.WebjarsCssResourceReference/webjars/select2/3.5.1/select2x2.png
> > >>> HTTP/1.1" 200 845121.45.163.128 - - [09/Nov/2015:22:48:34 +0000] "GET
> > >>>
> >
> /chats01/wicket/entity?9-1.IBehaviorListener.0-theme-header-primaryMenuBar-menuItems-0-topMenu-subMenuItems-0-content-menuLink&_=1447109308428
> > >>> HTTP/1.1" 200 9802121.45.163.128 - - [09/Nov/2015:22:48:54 +0000]
> "GET
> > >>>
> >
> /chats01/wicket/entity?9-1.IBehaviorListener.0-theme-header-primaryMenuBar-menuItems-0-topMenu-subMenuItems-0-content-menuLink&_=1447109312735
> > >>> HTTP/1.1" 200 9802121.45.163.128 - - [09/Nov/2015:22:48:58 +0000]
> "GET
> > >>>
> >
> /chats01/wicket/entity?9-1.IBehaviorListener.0-theme-header-primaryMenuBar-menuItems-0-topMenu-subMenuItems-1-content-menuLink&_=1447109312736
> > >>> HTTP/1.1" 200 80121.45.163.128 - - [09/Nov/2015:22:48:59 +0000] "GET
> > >>> /chats01/wicket/wicket/page?10 HTTP/1.1" 200 44926
> > >>>
> > >>>
> > >>>
> > >>
> > >
> >
>

Reply via email to