Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Error thrown on first access of rpt after a deployment
legolas
I am facing a rather weird issue while trying to generate a report in html format the first time in a browser after a deployment on a server. The subsequent access of the report gives the report properly without any errors !!! <br />
<br />
Am not sure why this is happening.<br />
<br />
One other observation is that the GIF "Processing please wait...." which typically takes about 4 seconds to load, comes up after about 120 seconds and the error is thown after about 30 mins after the gif appears.<br />
<br />
Here is the stack trace of the error thrown on first access.<br />
<em class='bbc'>"<br />
Exception <br />
Close <br />
<br />
org.eclipse.birt.report.service.api.ReportServiceException: Error happened while running the report <br />
Show Exception Stack Trace <br />
Hide Exception Stack Trace <br />
Stack Trace:<br />
<br />
org.eclipse.birt.report.service.api.ReportServiceException: Error happened while running the report<br />
at org.eclipse.birt.report.service.ReportEngineService.throwDummyException(ReportEngineService.java:1064)<br />
at org.eclipse.birt.report.service.ReportEngineService.runAndRenderReport(ReportEngineService.java:888)<br />
at org.eclipse.birt.report.service.BirtViewerReportService.runAndRenderReport(BirtViewerReportService.java:973)<br />
at org.eclipse.birt.report.service.actionhandler.BirtGetPageAllActionHandler.__execute(BirtGetPageAllActionHandler.java:131)<br />
at org.eclipse.birt.report.service.actionhandler.AbstractBaseActionHandler.execute(AbstractBaseActionHandler.java:90)<br />
at org.eclipse.birt.report.soapengine.processor.AbstractBaseDocumentProcessor.__executeAction(AbstractBaseDocumentProcessor.java:47)<br />
at org.eclipse.birt.report.soapengine.processor.AbstractBaseComponentProcessor.executeAction(AbstractBaseComponentProcessor.java:143)<br />
at org.eclipse.birt.report.soapengine.processor.BirtDocumentProcessor.handleGetPageAll(BirtDocumentProcessor.java:183)<br />
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br />
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br />
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br />
at java.lang.reflect.Method.invoke(Method.java:597)<br />
at org.eclipse.birt.report.soapengine.processor.AbstractBaseComponentProcessor.process(AbstractBaseComponentProcessor.java:112)<br />
at org.eclipse.birt.report.soapengine.endpoint.BirtSoapBindingImpl.getUpdatedObjects(BirtSoapBindingImpl.java:66)<br />
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br />
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br />
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br />
at java.lang.reflect.Method.invoke(Method.java:597)<br />
at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)<br />
at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)<br />
at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)<br />
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)<br />
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)<br />
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)<br />
at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)<br />
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)<br />
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)<br />
at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.doPost(BirtSoapMessageDispatcherServlet.java:265)<br />
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)<br />
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)<br />
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)<br />
at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.service(BirtSoapMessageDispatcherServlet.java:122)<br />
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)<br />
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)<br />
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)<br />
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)<br />
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:502)<br />
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:251)<br />
at com.ge.med.service.lightipm.action.IPMWorkflowAction.preview(IPMWorkflowAction.java:1149)<br />
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br />
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br />
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br />
at java.lang.reflect.Method.invoke(Method.java:597)<br />
at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:274)<br />
at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:194)<br />
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)<br />
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)<br />
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)<br />
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)<br />
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)<br />
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)<br />
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)<br />
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)<br />
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)<br />
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)<br />
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)<br />
at com.ge.med.service.eam.commons.SecurityFilter.doFilter(SecurityFilter.java:266)<br />
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)<br />
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)<br />
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)<br />
at weblogic.security.service.SecurityManager.runAs(Unknown Source)<br />
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)<br />
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)<br />
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)<br />
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)<br />
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)<br />
Caused by: org.eclipse.birt.report.engine.api.EngineException: Error happened while running the report<br />
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:183)<br />
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:75)<br />
at org.eclipse.birt.report.service.ReportEngineService.runAndRenderReport(ReportEngineService.java:882)<br />
... 64 more<br />
Caused by: java.lang.UnsupportedOperationException: This DocumentBuilder, "weblogic.xml.jaxp.RegistryDocumentBuilder", does not support the reset functionality. Specification "null" version "null"<br />
at javax.xml.parsers.DocumentBuilder.reset(DocumentBuilder.java:92)<br />
at org.mozilla.javascript.xmlimpl.XmlProcessor.returnDocumentBuilderToPool(XmlProcessor.java:178)<br />
at org.mozilla.javascript.xmlimpl.XmlProcessor.newDocument(XmlProcessor.java:295)<br />
at org.mozilla.javascript.xmlimpl.XmlNode.createText(XmlNode.java:98)<br />
at org.mozilla.javascript.xmlimpl.XMLLibImpl.exportToScope(XMLLibImpl.java:105)<br />
at org.mozilla.javascript.xmlimpl.XMLLibImpl.init(XMLLibImpl.java:73)<br />
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br />
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br />
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br />
at java.lang.reflect.Method.invoke(Method.java:597)<br />
at org.mozilla.javascript.ScriptableObject.buildClassCtor(ScriptableObject.java:1018)<br />
at org.mozilla.javascript.LazilyLoadedCtor.buildValue(LazilyLoadedCtor.java:110)<br />
at org.mozilla.javascript.LazilyLoadedCtor.init(LazilyLoadedCtor.java:89)<br />
at org.mozilla.javascript.ScriptableObject.getImpl(ScriptableObject.java:1992)<br />
at org.mozilla.javascript.ScriptableObject.get(ScriptableObject.java:280)<br />
at org.mozilla.javascript.IdScriptableObject.get(IdScriptableObject.java:385)<br />
at org.mozilla.javascript.ScriptableObject.getProperty(ScriptableObject.java:1575)<br />
at org.mozilla.javascript.ScriptRuntime.topScopeName(ScriptRuntime.java:1748)<br />
at org.mozilla.javascript.ScriptRuntime.nameOrFunction(ScriptRuntime.java:1715)<br />
at org.mozilla.javascript.ScriptRuntime.name(ScriptRuntime.java:1657)<br />
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3413)<br />
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2484)<br />
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:162)<br />
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:401)<br />
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3003)<br />
at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:173)<br />
at org.eclipse.birt.data.engine.expression.BytecodeExpression.evaluate(BytecodeExpression.java:48)<br />
at org.eclipse.birt.data.engine.expression.ExprEvaluateUtil.evaluateCompiledExpression(ExprEvaluateUtil.java:196)<br />
at org.eclipse.birt.data.engine.expression.ExprEvaluateUtil.evaluateCompiledExpression(ExprEvaluateUtil.java:210)<br />
at org.eclipse.birt.data.engine.expression.ExprEvaluateUtil.evaluateExpression(ExprEvaluateUtil.java:67)<br />
at org.eclipse.birt.data.engine.impl.BindingColumnsEvalUtil.evaluateValue(BindingColumnsEvalUtil.java:234)<br />
at org.eclipse.birt.data.engine.impl.BindingColumnsEvalUtil.getColumnsValue(BindingColumnsEvalUtil.java:182)<br />
at org.eclipse.birt.data.engine.impl.ResultIterator.prepareCurrentRow(ResultIterator.java:639)<br />
at org.eclipse.birt.data.engine.impl.ResultIterator.(ResultIterator.java:157)<br />
at org.eclipse.birt.data.engine.impl.QueryResults.getResultIterator(QueryResults.java:173)<br />
at org.eclipse.birt.report.engine.data.dte.QueryResultSet.(QueryResultSet.java:98)<br />
at org.eclipse.birt.report.engine.data.dte.DteDataEngine.doExecuteQuery(DteDataEngine.java:131)<br />
at org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.execute(AbstractDataEngine.java:253)<br />
at org.eclipse.birt.report.engine.executor.ExecutionContext.executeQuery(ExecutionContext.java:1825)<br />
at org.eclipse.birt.report.engine.executor.QueryItemExecutor.executeQuery(QueryItemExecutor.java:80)<br />
at org.eclipse.birt.report.engine.executor.GridItemExecutor.execute(GridItemExecutor.java:65)<br />
at org.eclipse.birt.report.engine.internal.executor.dup.SuppressDuplicateItemExecutor.execute(SuppressDuplicateItemExecutor.java:43)<br />
at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.execute(WrappedReportItemExecutor.java:46)<br />
at org.eclipse.birt.report.engine.internal.executor.l18n.LocalizedReportItemExecutor.execute(LocalizedReportItemExecutor.java:34)<br />
at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:64)<br />
at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:90)<br />
at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:99)<br />
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:167)<br />
... 66 more<br />
<br />
Parameter <br />
Close <br />
<br />
Parameters marked with * are required. <br />
<br />
Processing, please wait ... <br />
"</em>
Find more posts tagged with
Comments
JasonW
Can you give some more detail on what version of BIRT you are using and how you have it deployed?
Jason
legolas
I am using BIRT 2.5 and the birt jars are included in our application war. This war is deployed on a weblogic 10.3 server.<br />
<br />
<blockquote class='ipsBlockquote' data-author="'JasonW'" data-cid="98855" data-time="1334168356" data-date="11 April 2012 - 11:19 AM"><p>
Can you give some more detail on what version of BIRT you are using and how you have it deployed?<br />
<br />
Jason<br /></p></blockquote>
JasonW
Is this the default birt.war file or does it have modifications?
Jason
legolas
The birt war is exploded and included as part of our custom war. The birt war resides as a separate folder in our war. No code inside the birt war has been modified
JasonW
I believe the platform directory is hard coded in 2.5 to be the webappname/WEB-INF/platform Is that still the case? If you deploy the birt war by itself does it work? You may want to look at one of the 3.7 releases as these are just POJO deployments meaning you can just add the jars to the web-inf/lib.
Jason