Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to export pages #38

Open
GerardoRodriguezVisus opened this issue Jul 20, 2015 · 0 comments
Open

Unable to export pages #38

GerardoRodriguezVisus opened this issue Jul 20, 2015 · 0 comments

Comments

@GerardoRodriguezVisus
Copy link

Hello,
We are working with export to disk and we have a very weird behavior.
We need to generate a link to a page and the first time we have the following error:

[2015-07-20 08:25:18,773 UTC] [ERROR] [http-9081-8] [fatwire.logging.cs.request] Exception including resource /jsp/cs_deployed//HighlightComponentTemplate.jsp
org.apache.jasper.JasperException: com.fatwire.gst.foundation.facade.runtag.TagRunnerRuntimeException: ics.runTag(RENDER.GETTEMPLATEURL) returned an errno.|errno:-500|reason:0|message:null|{TNAME=MobileOfferPageTemplate, CID=1382156676792, ICS=null, TID=1382153766799, CONTEXT=, TTYPE=Template, IPS=null, SLOTNAME=irrelevant, SITE=web_ibis, TAGNAME=render.gettemplateurl, OUTSTR=uri_, C=Page}|web_ibis/HighlightComponentTemplate|/HighlightComponentTemplate|reason: 0|message: null
at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:502)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:430)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
at sun.reflect.GeneratedMethodAccessor58.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at net.bull.javamelody.JspWrapper.invoke(JspWrapper.java:151)
at net.bull.javamelody.JdbcWrapper$DelegatingInvocationHandler.invoke(JdbcWrapper.java:277)
at com.sun.proxy.$Proxy99.include(Unknown Source)
at COM.FutureTense.Servlet.ServletRequest.include(ServletRequest.java:1430)
at COM.FutureTense.Servlet.FRequestObj.include(FRequestObj.java:1422)
at COM.FutureTense.Servlet.JSPServices.runJSP(JSPServices.java:111)
at COM.FutureTense.Platform.FileSystem.FILESYSTEMJSPManager.runJSP(FILESYSTEMJSPManager.java:463)
at COM.FutureTense.Servlet.JSPServices.runJSPObject(JSPServices.java:50)
at COM.FutureTense.Platform.FileSystem.FILESYSTEMJSPManager$JSPDataFile.run(FILESYSTEMJSPManager.java:190)
at COM.FutureTense.Common.ContentServer.jspExecute(ContentServer.java:3036)
at COM.FutureTense.Common.ContentServer.evalTemplate(ContentServer.java:2630)
at COM.FutureTense.Common.ContentServer.generatePage(ContentServer.java:1649)
at COM.FutureTense.Common.ContentServer.evalPage(ContentServer.java:1278)
at COM.FutureTense.Common.ContentServer.execute(ContentServer.java:467)
at COM.FutureTense.Common.ContentServer.runManager(ContentServer.java:3472)
at COM.FutureTense.Common.CS.getPage(CS.java:1362)
at COM.FutureTense.Common.CS.ReadPage(CS.java:1308)
at com.fatwire.satellite.Satellite.pageEndTag(Satellite.java:618)
at com.openmarket.xcelerate.jsp.render.CallTemplate$RenderingMethod$3.render(CallTemplate.java:816)
at com.openmarket.xcelerate.jsp.render.CallTemplate$Pagelet.render(CallTemplate.java:616)
at com.openmarket.xcelerate.jsp.render.CallTemplate.doEndTag(CallTemplate.java:199)
at com.openmarket.framework.jsp.Base.doEndTag(Base.java:143)
at org.apache.jsp.jsp.cs_005fdeployed.ContentOffer_005fC.MobileOfferDetailTemplate_jsp._jspx_meth_render_005fcalltemplate_005f0(MobileOfferDetailTemplate_jsp.java:472)
at org.apache.jsp.jsp.cs_005fdeployed.ContentOffer_005fC.MobileOfferDetailTemplate_jsp._jspService(MobileOfferDetailTemplate_jsp.java:269)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
at sun.reflect.GeneratedMethodAccessor58.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at net.bull.javamelody.JspWrapper.invoke(JspWrapper.java:151)
at net.bull.javamelody.JdbcWrapper$DelegatingInvocationHandler.invoke(JdbcWrapper.java:277)
at com.sun.proxy.$Proxy99.include(Unknown Source)
at COM.FutureTense.Servlet.ServletRequest.include(ServletRequest.java:1430)
at COM.FutureTense.Servlet.FRequestObj.include(FRequestObj.java:1422)
at COM.FutureTense.Servlet.JSPServices.runJSP(JSPServices.java:111)
at COM.FutureTense.Platform.FileSystem.FILESYSTEMJSPManager.runJSP(FILESYSTEMJSPManager.java:463)
at COM.FutureTense.Servlet.JSPServices.runJSPObject(JSPServices.java:50)
at COM.FutureTense.Platform.FileSystem.FILESYSTEMJSPManager$JSPDataFile.run(FILESYSTEMJSPManager.java:190)
at COM.FutureTense.Common.ContentServer.jspExecute(ContentServer.java:3036)
at COM.FutureTense.Common.ContentServer.evalTemplate(ContentServer.java:2630)
at COM.FutureTense.Common.ContentServer.generatePage(ContentServer.java:1649)
at COM.FutureTense.Common.ContentServer.access$100(ContentServer.java:49)
at COM.FutureTense.Common.ContentServer$_pageGenThrottle.doWork(ContentServer.java:1472)
at com.fatwire.cs.core.util.KeyThrottle.execute(KeyThrottle.java:79)
at COM.FutureTense.Common.ContentServer.evalPage(ContentServer.java:1252)
at COM.FutureTense.Common.ContentServer.execute(ContentServer.java:467)
at COM.FutureTense.Common.ContentServer.runManager(ContentServer.java:3472)
at COM.FutureTense.Common.CS.getPage(CS.java:1362)
at COM.FutureTense.Common.CS.ReadPage(CS.java:1308)
at com.fatwire.satellite.Satellite.pageEndTag(Satellite.java:618)
at com.openmarket.xcelerate.jsp.render.CallTemplate$RenderingMethod$3.render(CallTemplate.java:816)
at com.openmarket.xcelerate.jsp.render.CallTemplate$Pagelet.render(CallTemplate.java:616)
at com.openmarket.xcelerate.jsp.render.CallTemplate.doEndTag(CallTemplate.java:199)
at com.openmarket.framework.jsp.Base.doEndTag(Base.java:143)
at org.apache.jsp.jsp.cs_005fdeployed.Page.MobileOfferPageTemplate_jsp._jspx_meth_render_005fcalltemplate_005f1(MobileOfferPageTemplate_jsp.java:447)
at org.apache.jsp.jsp.cs_005fdeployed.Page.MobileOfferPageTemplate_jsp.jspService(MobileOfferPageTemplate_jsp.java:216)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
at sun.reflect.GeneratedMethodAccessor58.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at net.bull.javamelody.JspWrapper.invoke(JspWrapper.java:151)
at net.bull.javamelody.JdbcWrapper$DelegatingInvocationHandler.invoke(JdbcWrapper.java:277)
at com.sun.proxy.$Proxy99.include(Unknown Source)
at COM.FutureTense.Servlet.ServletRequest.include(ServletRequest.java:1430)
at COM.FutureTense.Servlet.FRequestObj.include(FRequestObj.java:1422)
at COM.FutureTense.Servlet.JSPServices.runJSP(JSPServices.java:111)
at COM.FutureTense.Platform.FileSystem.FILESYSTEMJSPManager.runJSP(FILESYSTEMJSPManager.java:463)
at COM.FutureTense.Servlet.JSPServices.runJSPObject(JSPServices.java:50)
at COM.FutureTense.Platform.FileSystem.FILESYSTEMJSPManager$JSPDataFile.run(FILESYSTEMJSPManager.java:190)
at COM.FutureTense.Common.ContentServer.jspExecute(ContentServer.java:3036)
at COM.FutureTense.Common.ContentServer.evalTemplate(ContentServer.java:2630)
at COM.FutureTense.Common.ContentServer.generatePage(ContentServer.java:1649)
at COM.FutureTense.Common.ContentServer.evalPage(ContentServer.java:1278)
at COM.FutureTense.Common.ContentServer.execute(ContentServer.java:467)
at COM.FutureTense.Common.ContentServer.runManager(ContentServer.java:3472)
at COM.FutureTense.Common.CS.getPage(CS.java:1362)
at COM.FutureTense.Common.CS.InsertPage(CS.java:1301)
at com.openmarket.xcelerate.commands.RenderDispatcher.InsertPage(RenderDispatcher.java:2201)
at sun.reflect.GeneratedMethodAccessor398.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.openmarket.framework.commands.Dispatcher.Execute(Dispatcher.java:145)
at COM.FutureTense.XML.Template.DynTag.execute(DynTag.java:269)
at COM.FutureTense.XML.Template.BlockTag.execute(BlockTag.java:144)
at COM.FutureTense.XML.Template.BlockTag.execute(BlockTag.java:120)
at COM.FutureTense.XML.Template.Root.execute(BlockTag.java:365)
at COM.FutureTense.XML.Template.XMLEval.run(XMLEval.java:331)
at COM.FutureTense.Common.ContentServer.evalTheXML(ContentServer.java:3320)
at COM.FutureTense.Common.ContentServer.evalTemplate(ContentServer.java:2560)
at COM.FutureTense.Common.ContentServer.generatePage(ContentServer.java:1649)
at COM.FutureTense.Common.ContentServer.evalPage(ContentServer.java:1278)
at COM.FutureTense.Common.ContentServer.execute(ContentServer.java:467)
at COM.FutureTense.Common.ContentServer.runManager(ContentServer.java:3472)
at COM.FutureTense.Common.CS.getPage(CS.java:1362)
at COM.FutureTense.Common.CS.ReadPage(CS.java:1308)
at com.openmarket.xcelerate.publish.PageRef.getBits(PageRef.java:731)
at COM.FutureTense.Export.DiskExportService.processActiveRef(DiskExportService.java:49)
at com.openmarket.xcelerate.publish.XcelExportService.processActiveRef(XcelExportService.java:418)
at COM.FutureTense.Export.ExportService.processSet(ExportService.java:135)
at com.openmarket.xcelerate.publish.XcelExportService.export(XcelExportService.java:213)
at com.openmarket.xcelerate.commands.ExporterDispatcher.Export(ExporterDispatcher.java:72)
at sun.reflect.GeneratedMethodAccessor406.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.openmarket.framework.commands.Dispatcher.Execute(Dispatcher.java:145)
at COM.FutureTense.XML.Template.DynTag.execute(DynTag.java:269)
at COM.FutureTense.XML.Template.BlockTag.execute(BlockTag.java:144)
at COM.FutureTense.XML.Template.BlockTag.execute(BlockTag.java:120)
at COM.FutureTense.XML.Template.Root.execute(BlockTag.java:365)
at COM.FutureTense.XML.Template.XMLEval.run(XMLEval.java:331)
at COM.FutureTense.Common.ContentServer.evalTheXML(ContentServer.java:3320)
at COM.FutureTense.Common.ContentServer.evalTemplate(ContentServer.java:2560)
at COM.FutureTense.Common.ContentServer.processElement(ContentServer.java:2008)
at COM.FutureTense.XML.Template.CallElement.execute(CallTag.java:253)
at COM.FutureTense.XML.Template.BlockTag.execute(BlockTag.java:144)
at COM.FutureTense.XML.Template.BlockTag.execute(BlockTag.java:120)
at COM.FutureTense.XML.Template.IfChild.execute(BlockTag.java:397)
at COM.FutureTense.XML.Template.IFTag.execute(BlockTag.java:496)
at COM.FutureTense.XML.Template.BlockTag.execute(BlockTag.java:144)
at COM.FutureTense.XML.Template.BlockTag.execute(BlockTag.java:120)
at COM.FutureTense.XML.Template.Root.execute(BlockTag.java:365)
at COM.FutureTense.XML.Template.XMLEval.run(XMLEval.java:331)
at COM.FutureTense.Common.ContentServer.evalTheXML(ContentServer.java:3320)
at COM.FutureTense.Common.ContentServer.evalTemplate(ContentServer.java:2560)
at COM.FutureTense.Common.ContentServer.generatePage(ContentServer.java:1649)
at COM.FutureTense.Common.ContentServer.evalPage(ContentServer.java:1278)
at COM.FutureTense.Common.ContentServer.execute(ContentServer.java:467)
at COM.FutureTense.Servlet.FTServlet.execute(FTServlet.java:129)
at COM.FutureTense.Servlet.FTServlet.doPost(FTServlet.java:61)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at COM.FutureTense.Servlet.URLRewriteFilter.doFilter(URLRewriteFilter.java:81)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.fatwire.auth.RequestAuthenticationFilter.doFilter(RequestAuthenticationFilter.java:218)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.fatwire.wem.sso.cas.filter.CASFilter.doFilter(CASFilter.java:719)
at com.fatwire.wem.sso.SSOFilter.doFilter(SSOFilter.java:51)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.fatwire.cs.ui.framework.UIFilter.doFilter(UIFilter.java:108)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at COM.FutureTense.Security.Common.ContentSecurityFilter.doFilter(ContentSecurityFilter.java:65)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:208)
at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:181)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:652)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:662)
Caused by: com.fatwire.gst.foundation.facade.runtag.TagRunnerRuntimeException: ics.runTag(RENDER.GETTEMPLATEURL) returned an errno.|errno:-500|reason:0|message:null|{TNAME=MobileOfferPageTemplate, CID=1382156676792, ICS=null, TID=1382153766799, CONTEXT=, TTYPE=Template, IPS=null, SLOTNAME=irrelevant, SITE=web_ibis, TAGNAME=render.gettemplateurl, OUTSTR=uri
, C=Page}|web_ibis/HighlightComponentTemplate|/HighlightComponentTemplate|reason: 0|message: null
at com.fatwire.gst.foundation.facade.runtag.AbstractTagRunner.handleError(AbstractTagRunner.java:173)
at com.fatwire.gst.foundation.facade.runtag.AbstractTagRunner.execute(AbstractTagRunner.java:131)
at com.fatwire.gst.foundation.facade.uri.TemplateUriBuilder.toURI(TemplateUriBuilder.java:107)
at com.accor.wise.gst.controller.facade.PageManagerFacade.getRelativePageUrl(PageManagerFacade.java:209)
at com.accor.wise.gst.service.AssetDataAccessService.generateLinkPage(AssetDataAccessService.java:821)
at com.accor.wise.gst.service.AssetDataAccessService.extractAtributes(AssetDataAccessService.java:434)
at com.accor.wise.gst.service.AssetDataAccessService.readAttributes(AssetDataAccessService.java:183)
at com.accor.wise.gst.service.AssetDataAccessService.extractAtributes(AssetDataAccessService.java:413)
at com.accor.wise.gst.service.AssetDataAccessService.readAttributes(AssetDataAccessService.java:183)
at com.accor.wise.gst.service.AssetDataAccessService.extractAtributes(AssetDataAccessService.java:413)
at com.accor.wise.gst.service.AssetDataAccessService.readAttributes(AssetDataAccessService.java:183)
at com.accor.wise.gst.service.AssetDataAccessService.readCurrentAttributes(AssetDataAccessService.java:124)
at com.accor.wise.gst.controller.component.highlight.HighlightComponentFacade.buildView(HighlightComponentFacade.java:58)
at com.accor.wise.gst.controller.component.highlight.HighlightComponentAction.handleRequest(HighlightComponentAction.java:65)
at com.fatwire.gst.foundation.taglib.PageTag.doStartTag(PageTag.java:91)
at org.apache.jsp.jsp.cs_005fdeployed.HighlightComponentTemplate_jsp._jspService(HighlightComponentTemplate_jsp.java:134)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
... 195 more

To generate the URL we are using the method:
new TemplateUriBuilder(pageId, template).toURI(ics);

If after the error we edit, save and reapprove the page, the export works perfectly.
Do you have any idea about this issue?
Any help or tip would be very welcome.
Thanks a lot,
Gerardo

amai pushed a commit that referenced this issue Aug 3, 2016
Wiped out just-build-and-stage-site.sh script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant