On Tue, Jul 22, 2014 at 10:19 PM, Danushka Fernando <danush...@wso2.com> wrote:
> Hi Amila > This is how it works. There is the template level in jaggery app (in our > case appmgt) calling the block level in ajax method. In this specific > location its calling, can be called with various actions. What this block > level file would do is just call module level and bring data back and > return it to the template level. But In this block level it's requires an > action to call. This is sent as a request parameter. Somehow when we front > with ELB we get it lost sometimes. My main suspect is ELB since we also saw > this issue when load testing when we had ELB in local setups. Now we don't > have ELB there and we don't get the error. Can you enable wire logs in ELB > and check when this happens? > I could reproduce this issue when doing a rest call from a rest client without Content-Type header. IMHO that could be the reason. Is there a possibility of dropping Content-Type header at the ELB intermittently? > > Thanks & Regards > Danushka Fernando > Software Engineer > WSO2 inc. http://wso2.com/ > Mobile : +94716332729 > > > On Tue, Jul 22, 2014 at 8:22 PM, Amila Maha Arachchi <ami...@wso2.com> > wrote: > >> Can someone tell me $Subject. >> >> TID: [0] [AF] [2014-07-22 07:05:35,925] ERROR >> {org.jaggeryjs.jaggery.core.manager.WebAppManager} - >> org.mozilla.javascript.JavaScriptException: Error: No action specifiednull >> (/appmgt/site/blocks/buildandrepo/list/ajax/list.jag#299) >> {org.jaggeryjs.jaggery.core.manager.WebAppManager} >> >> org.jaggeryjs.scriptengine.exceptions.ScriptException: >> org.mozilla.javascript.JavaScriptException: Error: No action specifiednull >> (/appmgt/site/blocks/buildandrepo/list/ajax/list.jag#299) >> >> at >> org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:571) >> >> at >> org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273) >> >> at >> org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:541) >> >> at >> org.jaggeryjs.jaggery.core.JaggeryServlet.doPost(JaggeryServlet.java:29) >> >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:755) >> >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) >> >> at >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) >> >> at >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) >> >> at >> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749) >> >> at >> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487) >> >> at >> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379) >> >> at >> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339) >> >> at >> org.jaggeryjs.jaggery.core.JaggeryFilter.doFilter(JaggeryFilter.java:21) >> >> at >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) >> >> at >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) >> >> at >> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) >> >> at >> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) >> >> at >> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) >> >> at >> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) >> >> at >> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) >> >> at >> org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178) >> >> at >> org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47) >> >> at >> org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56) >> >> at >> org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47) >> >> at >> org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141) >> >> at >> org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156) >> >> at >> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936) >> >> at >> org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52) >> >> at >> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) >> >> at >> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) >> >> at >> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004) >> >> at >> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) >> >> at >> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653) >> >> at >> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) >> >> at >> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) >> >> at java.lang.Thread.run(Thread.java:744) >> >> Caused by: org.mozilla.javascript.JavaScriptException: Error: No action >> specifiednull (/appmgt/site/blocks/buildandrepo/list/ajax/list.jag#299) >> >> at >> org.jaggeryjs.rhino.appmgt.site.blocks.buildandrepo.list.ajax.c0._c_anonymous_1(/appmgt/site/blocks/buildandrepo/list/ajax/list.jag:299) >> >> at >> org.jaggeryjs.rhino.appmgt.site.blocks.buildandrepo.list.ajax.c0.call(/appmgt/site/blocks/buildandrepo/list/ajax/list.jag) >> >> at org.mozilla.javascript.optimizer.OptRuntime.call0(OptRuntime.java:23) >> >> at >> org.jaggeryjs.rhino.appmgt.site.blocks.buildandrepo.list.ajax.c0._c_script_0(/appmgt/site/blocks/buildandrepo/list/ajax/list.jag:7) >> >> at >> org.jaggeryjs.rhino.appmgt.site.blocks.buildandrepo.list.ajax.c0.call(/appmgt/site/blocks/buildandrepo/list/ajax/list.jag) >> >> at >> org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394) >> >> at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091) >> >> at >> org.jaggeryjs.rhino.appmgt.site.blocks.buildandrepo.list.ajax.c0.call(/appmgt/site/blocks/buildandrepo/list/ajax/list.jag) >> >> at >> org.jaggeryjs.rhino.appmgt.site.blocks.buildandrepo.list.ajax.c0.exec(/appmgt/site/blocks/buildandrepo/list/ajax/list.jag) >> >> at >> org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:567) >> >> ... 35 more >> >> >> -- >> *Amila Maharachchi* >> Senior Technical Lead >> WSO2, Inc.; http://wso2.com >> >> Blog: http://maharachchi.blogspot.com >> Mobile: +94719371446 >> >> >> _______________________________________________ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > _______________________________________________ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- *Asanka DissanayakeSoftware Engineer* *WSO2 Inc. - lean . enterprise . middleware | wso2.com <http://wso2.com/>* *email: asan...@wso2.com <ruch...@wso2.com>, blog: cyberwaadiya.blogspot.com <http://cyberwaadiya.blogspot.com>, asankastechtalks.wordpress.com <http://asankastechtalks.wordpress.com> mobile: +94 71 8373821*
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev