Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » BIRT Viewer Problem(Cannot run reports with a DB connection)
icon5.gif  BIRT Viewer Problem [message #638515] Thu, 11 November 2010 14:52 Go to next message
Edi  is currently offline Edi
Messages: 19
Registered: November 2010
Junior Member
Hi everyone...

I'm trying do deploy my report with tomact 6. I've already done the installation of birt runtime 2.6.1. It works all.

My Problem is when I try to deploy my report, who include a DB connection, I've got this error message:

org.eclipse.birt.report.service.api.ReportServiceException: Error happened while running the report.
   at org.eclipse.birt.report.service.ReportEngineService.throwDummyException(ReportEngineService.java:1096)
   at org.eclipse.birt.report.service.ReportEngineService.runReport(ReportEngineService.java:1316)
   at org.eclipse.birt.report.service.BirtViewerReportService.runReport(BirtViewerReportService.java:158)
   at org.eclipse.birt.report.service.actionhandler.BirtRunReportActionHandler.__execute(BirtRunReportActionHandler.java:81)
   at org.eclipse.birt.report.service.actionhandler.BirtChangeParameterActionHandler.runReport(BirtChangeParameterActionHandler.java:58)
   at org.eclipse.birt.report.service.actionhandler.AbstractChangeParameterActionHandler.__execute(AbstractChangeParameterActionHandler.java:53)
   at org.eclipse.birt.report.service.actionhandler.AbstractBaseActionHandler.execute(AbstractBaseActionHandler.java:90)
   at org.eclipse.birt.report.soapengine.processor.AbstractBaseDocumentProcessor.__executeAction(AbstractBaseDocumentProcessor.java:47)
   at org.eclipse.birt.report.soapengine.processor.AbstractBaseComponentProcessor.executeAction(AbstractBaseComponentProcessor.java:143)
   at org.eclipse.birt.report.soapengine.processor.BirtDocumentProcessor.handleChangeParameter(BirtDocumentProcessor.java:100)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.eclipse.birt.report.soapengine.processor.AbstractBaseComponentProcessor.process(AbstractBaseComponentProcessor.java:112)
   at org.eclipse.birt.report.soapengine.endpoint.BirtSoapBindingImpl.getUpdatedObjects(BirtSoapBindingImpl.java:66)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
   at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
   at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
   at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
   at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
   at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
   at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
   at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
   at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
   at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.doPost(BirtSoapMessageDispatcherServlet.java:265)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
   at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.service(BirtSoapMessageDispatcherServlet.java:122)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerFilter.java:68)
   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:233)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
   at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:859)
   at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)
   at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1555)
   at java.lang.Thread.run(Thread.java:662)
Caused by: org.eclipse.birt.report.engine.api.EngineException: Error happened while running the report.
   at org.eclipse.birt.report.engine.api.impl.RunTask.doRun(RunTask.java:269)
   at org.eclipse.birt.report.engine.api.impl.RunTask.run(RunTask.java:85)
   at org.eclipse.birt.report.service.ReportEngineService.runReport(ReportEngineService.java:1307)
... 47 more
Caused by: org.mozilla.javascript.EvaluatorException: unterminated string literal (#1)
   at org.mozilla.javascript.DefaultErrorReporter.runtimeError(DefaultErrorReporter.java:109)
   at org.mozilla.javascript.DefaultErrorReporter.error(DefaultErrorReporter.java:96)
   at org.mozilla.javascript.Parser.addError(Parser.java:146)
   at org.mozilla.javascript.TokenStream.getToken(TokenStream.java:532)
   at org.mozilla.javascript.Parser.peekToken(Parser.java:172)
   at org.mozilla.javascript.Parser.parse(Parser.java:384)
   at org.mozilla.javascript.Parser.parse(Parser.java:338)
   at org.mozilla.javascript.Context.compileImpl(Context.java:2368)
   at org.mozilla.javascript.Context.compileString(Context.java:1359)
   at org.mozilla.javascript.Context.compileString(Context.java:1348)
   at org.eclipse.birt.report.engine.javascript.JavascriptEngine$3.run(JavascriptEngine.java:232)
   at org.eclipse.birt.report.engine.javascript.JavascriptEngine$3.run(JavascriptEngine.java:1)
   at java.security.AccessController.doPrivileged(Native Method)
   at org.eclipse.birt.report.engine.javascript.JavascriptEngine.compile(JavascriptEngine.java:228)
   at org.eclipse.birt.report.engine.javascript.JavascriptEngine.compile(JavascriptEngine.java:1)
   at org.eclipse.birt.core.script.ScriptContext.compile(ScriptContext.java:148)
   at org.eclipse.birt.report.engine.executor.ExecutionContext.compile(ExecutionContext.java:730)
   at org.eclipse.birt.report.engine.executor.ExecutionContext.evaluate(ExecutionContext.java:664)
   at org.eclipse.birt.report.engine.executor.ReportItemExecutor.evaluate(ReportItemExecutor.java:284)
   at org.eclipse.birt.report.engine.executor.DynamicTextItemExecutor.execute(DynamicTextItemExecutor.java:94)
   at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.execute(WrappedReportItemExecutor.java:46)
   at org.eclipse.birt.report.engine.internal.executor.emitter.ReportItemEmitterExecutor.execute(ReportItemEmitterExecutor.java:46)
   at org.eclipse.birt.report.engine.internal.executor.dup.SuppressDuplicateItemExecutor.execute(SuppressDuplicateItemExecutor.java:43)
   at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.execute(WrappedReportItemExecutor.java:46)
   at org.eclipse.birt.report.engine.internal.executor.l18n.LocalizedReportItemExecutor.execute(LocalizedReportItemExecutor.java:34)
   at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:65)
   at org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:26)
   at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.layout(HTMLAbstractLM.java:140)
   at org.eclipse.birt.report.engine.layout.html.HTMLInlineStackingLM.resumeLayout(HTMLInlineStackingLM.java:111)
   at org.eclipse.birt.report.engine.layout.html.HTMLInlineStackingLM.layoutNodes(HTMLInlineStackingLM.java:160)
   at org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:26)
   at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.layout(HTMLAbstractLM.java:140)
   at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:70)
   at org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:26)
   at org.eclipse.birt.report.engine.layout.html.HTMLTableLM.layoutChildren(HTMLTableLM.java:132)
   at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.layout(HTMLAbstractLM.java:140)
   at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:70)
   at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:90)
   at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:99)
   at org.eclipse.birt.report.engine.presentation.ReportDocumentBuilder.build(ReportDocumentBuilder.java:249)
   at org.eclipse.birt.report.engine.api.impl.RunTask.doRun(RunTask.java:260)
... 49 more


Can somebody please Help me?

Thank you
Re: BIRT Viewer Problem [message #638554 is a reply to message #638515] Thu, 11 November 2010 15:53 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Does the sample report work? It looks like something is wrong in the
report. Can you post it?

Jason

On 11/11/2010 9:52 AM, Edi wrote:
> Hi everyone...
>
> I'm trying do deploy my report with tomact 6. I've already done the
> installation of birt runtime 2.6.1. It works all.
> My Problem is when I try to deploy my report, who include a DB
> connection, I've got this error message:
>
>
> org.eclipse.birt.report.service.api.ReportServiceException: Error
> happened while running the report.
> at
> org.eclipse.birt.report.service.ReportEngineService.throwDum myException(ReportEngineService.java:1096)
>
> at
> org.eclipse.birt.report.service.ReportEngineService.runRepor t(ReportEngineService.java:1316)
>
> at
> org.eclipse.birt.report.service.BirtViewerReportService.runR eport(BirtViewerReportService.java:158)
>
> at
> org.eclipse.birt.report.service.actionhandler.BirtRunReportA ctionHandler.__execute(BirtRunReportActionHandler.java:81)
>
> at
> org.eclipse.birt.report.service.actionhandler.BirtChangePara meterActionHandler.runReport(BirtChangeParameterActionHandle r.java:58)
>
> at
> org.eclipse.birt.report.service.actionhandler.AbstractChange ParameterActionHandler.__execute(AbstractChangeParameterActi onHandler.java:53)
>
> at
> org.eclipse.birt.report.service.actionhandler.AbstractBaseAc tionHandler.execute(AbstractBaseActionHandler.java:90)
>
> at
> org.eclipse.birt.report.soapengine.processor.AbstractBaseDoc umentProcessor.__executeAction(AbstractBaseDocumentProcessor .java:47)
>
> at
> org.eclipse.birt.report.soapengine.processor.AbstractBaseCom ponentProcessor.executeAction(AbstractBaseComponentProcessor .java:143)
>
> at
> org.eclipse.birt.report.soapengine.processor.BirtDocumentPro cessor.handleChangeParameter(BirtDocumentProcessor.java:100)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.eclipse.birt.report.soapengine.processor.AbstractBaseCom ponentProcessor.process(AbstractBaseComponentProcessor.java: 112)
>
> at
> org.eclipse.birt.report.soapengine.endpoint.BirtSoapBindingI mpl.getUpdatedObjects(BirtSoapBindingImpl.java:66)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCP rovider.java:397)
>
> at
> org.apache.axis.providers.java.RPCProvider.processMessage(RP CProvider.java:186)
>
> at
> org.apache.axis.providers.java.JavaProvider.invoke(JavaProvi der.java:323)
> at
> org.apache.axis.strategies.InvocationStrategy.visit(Invocati onStrategy.java:32)
>
> at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
> at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
> at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService .java:454)
> at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281 )
> at org.apache.axis.transport.http.AxisServlet.doPost(AxisServle t.java:699)
> at
> org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherSer vlet.doPost(BirtSoapMessageDispatcherServlet.java:265)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
> at
> org.apache.axis.transport.http.AxisServletBase.service(AxisS ervletBase.java:327)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> at
> org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherSer vlet.service(BirtSoapMessageDispatcherServlet.java:122)
>
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:290)
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:206)
>
> at
> org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerF ilter.java:68)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:235)
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:206)
>
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:233)
>
> at
> org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:191)
>
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:127)
>
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:102)
>
> at
> org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:109)
>
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd apter.java:298)
> at
> org.apache.coyote.http11.Http11AprProcessor.process(Http11Ap rProcessor.java:859)
>
> at
> org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionH andler.process(Http11AprProtocol.java:579)
>
> at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoin t.java:1555)
> at java.lang.Thread.run(Thread.java:662)
> Caused by: org.eclipse.birt.report.engine.api.EngineException: Error
> happened while running the report.
> at org.eclipse.birt.report.engine.api.impl.RunTask.doRun(RunTas k.java:269)
> at org.eclipse.birt.report.engine.api.impl.RunTask.run(RunTask. java:85)
> at
> org.eclipse.birt.report.service.ReportEngineService.runRepor t(ReportEngineService.java:1307)
>
> ... 47 more
> Caused by: org.mozilla.javascript.EvaluatorException: unterminated
> string literal (#1)
> at
> org.mozilla.javascript.DefaultErrorReporter.runtimeError(Def aultErrorReporter.java:109)
>
> at
> org.mozilla.javascript.DefaultErrorReporter.error(DefaultErr orReporter.java:96)
>
> at org.mozilla.javascript.Parser.addError(Parser.java:146)
> at org.mozilla.javascript.TokenStream.getToken(TokenStream.java :532)
> at org.mozilla.javascript.Parser.peekToken(Parser.java:172)
> at org.mozilla.javascript.Parser.parse(Parser.java:384)
> at org.mozilla.javascript.Parser.parse(Parser.java:338)
> at org.mozilla.javascript.Context.compileImpl(Context.java:2368 )
> at org.mozilla.javascript.Context.compileString(Context.java:13 59)
> at org.mozilla.javascript.Context.compileString(Context.java:13 48)
> at
> org.eclipse.birt.report.engine.javascript.JavascriptEngine$3 .run(JavascriptEngine.java:232)
>
> at
> org.eclipse.birt.report.engine.javascript.JavascriptEngine$3 .run(JavascriptEngine.java:1)
>
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.eclipse.birt.report.engine.javascript.JavascriptEngine.c ompile(JavascriptEngine.java:228)
>
> at
> org.eclipse.birt.report.engine.javascript.JavascriptEngine.c ompile(JavascriptEngine.java:1)
>
> at
> org.eclipse.birt.core.script.ScriptContext.compile(ScriptCon text.java:148)
> at
> org.eclipse.birt.report.engine.executor.ExecutionContext.com pile(ExecutionContext.java:730)
>
> at
> org.eclipse.birt.report.engine.executor.ExecutionContext.eva luate(ExecutionContext.java:664)
>
> at
> org.eclipse.birt.report.engine.executor.ReportItemExecutor.e valuate(ReportItemExecutor.java:284)
>
> at
> org.eclipse.birt.report.engine.executor.DynamicTextItemExecu tor.execute(DynamicTextItemExecutor.java:94)
>
> at
> org.eclipse.birt.report.engine.internal.executor.wrap.Wrappe dReportItemExecutor.execute(WrappedReportItemExecutor.java:4 6)
>
> at
> org.eclipse.birt.report.engine.internal.executor.emitter.Rep ortItemEmitterExecutor.execute(ReportItemEmitterExecutor.jav a:46)
>
> at
> org.eclipse.birt.report.engine.internal.executor.dup.Suppres sDuplicateItemExecutor.execute(SuppressDuplicateItemExecutor .java:43)
>
> at
> org.eclipse.birt.report.engine.internal.executor.wrap.Wrappe dReportItemExecutor.execute(WrappedReportItemExecutor.java:4 6)
>
> at
> org.eclipse.birt.report.engine.internal.executor.l18n.Locali zedReportItemExecutor.execute(LocalizedReportItemExecutor.ja va:34)
>
> at
> org.eclipse.birt.report.engine.layout.html.HTMLBlockStacking LM.layoutNodes(HTMLBlockStackingLM.java:65)
>
> at
> org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.la youtChildren(HTMLStackingLM.java:26)
>
> at
> org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.la yout(HTMLAbstractLM.java:140)
>
> at
> org.eclipse.birt.report.engine.layout.html.HTMLInlineStackin gLM.resumeLayout(HTMLInlineStackingLM.java:111)
>
> at
> org.eclipse.birt.report.engine.layout.html.HTMLInlineStackin gLM.layoutNodes(HTMLInlineStackingLM.java:160)
>
> at
> org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.la youtChildren(HTMLStackingLM.java:26)
>
> at
> org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.la yout(HTMLAbstractLM.java:140)
>
> at
> org.eclipse.birt.report.engine.layout.html.HTMLBlockStacking LM.layoutNodes(HTMLBlockStackingLM.java:70)
>
> at
> org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.la youtChildren(HTMLStackingLM.java:26)
>
> at
> org.eclipse.birt.report.engine.layout.html.HTMLTableLM.layou tChildren(HTMLTableLM.java:132)
>
> at
> org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.la yout(HTMLAbstractLM.java:140)
>
> at
> org.eclipse.birt.report.engine.layout.html.HTMLBlockStacking LM.layoutNodes(HTMLBlockStackingLM.java:70)
>
> at
> org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout (HTMLPageLM.java:90)
>
> at
> org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutE ngine.layout(HTMLReportLayoutEngine.java:99)
>
> at
> org.eclipse.birt.report.engine.presentation.ReportDocumentBu ilder.build(ReportDocumentBuilder.java:249)
>
> at org.eclipse.birt.report.engine.api.impl.RunTask.doRun(RunTas k.java:260)
> ... 49 more
>
>
> Can somebody please Help me?
>
> Thank you
Re: BIRT Viewer Problem [message #638714 is a reply to message #638554] Fri, 12 November 2010 10:25 Go to previous messageGo to next message
Edi  is currently offline Edi
Messages: 19
Registered: November 2010
Junior Member
Hi Jason,

Thank you for your help. Well the report works on my machine with BIRT. I also tried to deploy the reports on a other machine and there it works.

so i think the problem is that i have made a mistake during the installation of birt-viewer or so.

Am I right when i copied the .rptdesign and the .rptconfig files in this path?
C:\Tomcat 6.0.26\webapps\birt-viewer\

thank you
Re: BIRT Viewer Problem [message #638771 is a reply to message #638714] Fri, 12 November 2010 14:28 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

In the designer the number of rows returned from a dataset are limited.
There is a preference for the number of rows. After deploying the
viewer does the sample report work?

Jason

On 11/12/2010 5:25 AM, Edi wrote:
> Hi Jason,
> Thank you for your help. Well the report works on my machine with BIRT.
> I also tried to deploy the reports on a other machine and there it works.
> so i think the problem is that i have made a mistake during the
> installation of birt-viewer or so.
>
> Am I right when i copied the .rptdesign and the .rptconfig files in this
> path?
> C:\Tomcat 6.0.26\webapps\birt-viewer\
>
> thank you
Re: BIRT Viewer Problem [message #639603 is a reply to message #638771] Wed, 17 November 2010 07:11 Go to previous messageGo to next message
Edi  is currently offline Edi
Messages: 19
Registered: November 2010
Junior Member
i limited the row numbers by myself.
Yes, the sample report works...

I think the problem is that the birt viewer can't make a connection to my database. when i give e wrong parameter, it shows me a plain report. but it works. when i use the right parameter, who would be equal to a attribute in the database, i get the error message...

icon14.gif  Re: BIRT Viewer Problem [message #639665 is a reply to message #639603] Wed, 17 November 2010 11:55 Go to previous messageGo to next message
Edi  is currently offline Edi
Messages: 19
Registered: November 2010
Junior Member
OK its done

Thank you for your help Jason!
I reinstall birt runtime again and now everything is working fine Smile

Thank you again

Edi
Re: BIRT Viewer Problem [message #639710 is a reply to message #638515] Wed, 17 November 2010 14:50 Go to previous messageGo to next message
Edi  is currently offline Edi
Messages: 19
Registered: November 2010
Junior Member
Hi,

I've another question.

Is there a way to show the whole report on one page.
If the report is larger than 1 page, birt viewer copy the following datas on a second page, but i want that the report is on one page and i can scroll down. Can I modify birt viewer that he show me the hole Report on one page, so I can scroll?

Thank you
Re: BIRT Viewer Problem [message #639752 is a reply to message #639710] Wed, 17 November 2010 16:41 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Change the url to use run or preview instead of frameset.

Jason

On 11/17/2010 9:50 AM, Edi wrote:
> Hi,
>
> I've another question.
>
> Is there a way to show the whole report on one page.
> If the report is larger than 1 page, birt viewer copy the following
> datas on a second page, but i want that the report is on one page and i
> can scroll down. Can I modify birt viewer that he show me the hole
> Report on one page, so I can scroll?
>
> Thank you
icon5.gif  Re: BIRT Viewer Problem [message #641438 is a reply to message #638515] Thu, 25 November 2010 13:19 Go to previous messageGo to next message
Edi  is currently offline Edi
Messages: 19
Registered: November 2010
Junior Member
Thank you jason for your help.

Well know i've another problem Very Happy

I want to install birt runtime on a linux server. so i copy my birt-viewer directory and past it in the tomcat directory of the linux server.

tomcat says that the BIRT viewer has been installed, but when i click on the link to view the example, i got this error message:

+ Fatal error occurred when try to startup report engine.

Viewer Version : 2.6.0
Engine Version: 2.6.0
JRE version: 1.6.0_12
on Tomcat 6.0.18

Thank you
Re: BIRT Viewer Problem [message #641875 is a reply to message #641438] Mon, 29 November 2010 04:12 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Can you clear the configuration directory except for the config.ini and
try again?

Jason

On 11/25/2010 8:19 AM, Edi wrote:
> Thank you jason for your help.
> Well know i've another problem :d
> I want to install birt runtime on a linux server. so i copy my
> birt-viewer directory and past it in the tomcat directory of the linux
> server.
> tomcat says that the BIRT viewer has been installed, but when i click on
> the link to view the example, i got this error message:
>
> + Fatal error occurred when try to startup report engine.
>
> Viewer Version : 2.6.0
> Engine Version: 2.6.0
> JRE version: 1.6.0_12
> on Tomcat 6.0.18
>
> Thank you
Re: BIRT Viewer Problem [message #642384 is a reply to message #641875] Wed, 01 December 2010 07:28 Go to previous messageGo to next message
Edi  is currently offline Edi
Messages: 19
Registered: November 2010
Junior Member
Same error message Confused

+ Fatal error occurred when try to startup report engine.
Re: BIRT Viewer Problem [message #642566 is a reply to message #642384] Wed, 01 December 2010 19:13 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Can you check the web-inf/platform/configuration directory? Does it
have more than config.ini in it? Does tomcat user have write access to
the directory?

Jason

On 12/1/2010 2:28 AM, Edi wrote:
> Same error message :?
> + Fatal error occurred when try to startup report engine.
Re: BIRT Viewer Problem [message #642701 is a reply to message #642566] Thu, 02 December 2010 12:31 Go to previous messageGo to next message
Edi  is currently offline Edi
Messages: 19
Registered: November 2010
Junior Member
there is nothing except the config.ini!!

yes on this directory you have write access:
rwxr-xr-x

Re: BIRT Viewer Problem [message #642755 is a reply to message #642701] Thu, 02 December 2010 15:38 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Can you create a jsp page at the top level of the BIRT Viewer with the
following content:

<%@ page import="java.io.File;" %>
<%= System.getProperty("java.version")%>
<br>
<%= application.getAttribute( "javax.servlet.context.tempdir" )%>
<br>
<%= application.getRealPath("/WEB-INF/Platform/") %>
<br>
<%
File tst = new File(application.getRealPath("/WEB-INF/Platform/"));
if( tst.canWrite()){
%>
Platform Writable
<%
}else{
%>
Platform Not Writable
<%
}
%>
<br>
<%
File tst2 = new
File(application.getRealPath("/WEB-INF/Platform/configuration "));
if( tst2.canWrite()){
%>
Configuration Writable
<%
}else{
%>
Configuration Not Writable
<%
}
%>

Run it and post the results?

Jason

On 12/2/2010 7:31 AM, Edi wrote:
> there is nothing except the config.ini!!
>
> yes on this directory you have write access:
> rwxr-xr-x
>
>
Re: BIRT Viewer Problem [message #642767 is a reply to message #642755] Thu, 02 December 2010 16:13 Go to previous messageGo to next message
Edi  is currently offline Edi
Messages: 19
Registered: November 2010
Junior Member
After i added execut right on the file it shows me this:
"myserver": jason.jsp
-bash: ./jason.jsp: Permission denied
"myserver": chmod +x jason.jsp
"myserver": jason.jsp
./jason.jsp: line 1: %@: No such file or directory
./jason.jsp: line 2: syntax error near unexpected token `('
'/jason.jsp: line 2: `<%= System.getProperty("java.version")%>
Re: BIRT Viewer Problem [message #642795 is a reply to message #642767] Thu, 02 December 2010 17:15 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Are you running this in tomcat instance ie

http://localhost:8080/WebViewerExample/jason.jsp

Jason


On 12/2/2010 11:13 AM, Edi wrote:
> After i added execut right on the file it shows me this:
>
> "myserver": jason.jsp
> -bash: ./jason.jsp: Permission denied
> "myserver": chmod +x jason.jsp
> "myserver": jason.jsp
> /jason.jsp: line 1: %@: No such file or directory
> /jason.jsp: line 2: syntax error near unexpected token `('
> '/jason.jsp: line 2: `<%= System.getProperty("java.version")%>
>
Re: BIRT Viewer Problem [message #642872 is a reply to message #642795] Fri, 03 December 2010 06:58 Go to previous messageGo to next message
Edi  is currently offline Edi
Messages: 19
Registered: November 2010
Junior Member
Then i get this message:

HTTP Status 404 - /birt-viewer/jason.jsp

------------------------------------------------------------ --------------------

type Status report

message /birt-viewer/jason.jsp

description The requested resource (/birt-viewer/jason.jsp) is not available.

"jason.jsp" is in the directory!

Jason Weathersby wrote on Thu, 02 December 2010 12:15
Are you running this in tomcat instance ie

http://localhost:8080/WebViewerExample/jason.jsp

Jason
>

Re: BIRT Viewer Problem [message #642884 is a reply to message #642872] Fri, 03 December 2010 08:25 Go to previous messageGo to next message
Edi  is currently offline Edi
Messages: 19
Registered: November 2010
Junior Member
Ok i forgot to reboot tomcat. Now it shows me this:

/netfs/data/avalon_03d/server/apache-tomcat-6.0.18/work/Cata lina/localhost/birt-viewer
/CHBS/apps/avalonws/server/apache-tomcat-6.0.18/temp/9-birt- viewer/WEB-INF/platform
Platform Writable
Configuration Writable
Re: BIRT Viewer Problem [message #642973 is a reply to message #642884] Fri, 03 December 2010 14:47 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Is the directory you have the viewer installed in?

/CHBS/apps/avalonws/server/apache-tomcat-6.0.18/temp/9-birt-
viewer/WEB-INF/platform

Jason

On 12/3/2010 3:25 AM, Edi wrote:
> Ok i forgot to reboot tomcat. Now it shows me this:
>
> /netfs/data/avalon_03d/server/apache-tomcat-6.0.18/work/Cata
> lina/localhost/birt-viewer
> /CHBS/apps/avalonws/server/apache-tomcat-6.0.18/temp/9-birt-
> viewer/WEB-INF/platform Platform Writable Configuration Writable
Re: BIRT Viewer Problem [message #643769 is a reply to message #642973] Wed, 08 December 2010 08:47 Go to previous message
Edi  is currently offline Edi
Messages: 19
Registered: November 2010
Junior Member
I have installed BIRT in this directory:

/CHBS/apps/avalonws/server/apache-tomcat-6.0.18/webapps/birt -viewer
Previous Topic:Error deploying Birt Viewer on Tomcat
Next Topic:Scripted DataSet classpath question
Goto Forum:
  


Current Time: Fri Oct 31 07:57:04 GMT 2014

Powered by FUDForum. Page generated in 0.02442 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software