Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » run?
run? [message #148028] Sat, 25 March 2006 10:12 Go to next message
Eclipse UserFriend
Originally posted by: almasalki.hotmail.com

hi
I build my report by connection to oracle database and deploy it to the
tomcat.
now when i call it by using (frameset or preview)option,the report
generated successfully, but when i call it using (run)option ,i find this
error
(There are errors on the report page:
+ There are error(s) in report : report
Error0 : odaconsumer.CannotOpenConnection ( 1 time(s) )
detail : org.eclipse.birt.data.engine.core.DataException: Cannot open the
connection for the driver: org.eclipse.birt.report.data.oda.jdbcCannot
load JDBC Driver class: oracle.jdbc.driver.OracleDriver at
org.eclipse.birt.data.engine.odaconsumer.ConnectionManager.o penConnection(ConnectionManager.java:136)
at
org.eclipse.birt.data.engine.executor.DataSource.newConnecti on(DataSource.java:154)
at
org.eclipse.birt.data.engine.executor.DataSource.open(DataSo urce.java:147)
at
org.eclipse.birt.data.engine.impl.DataSourceRuntime.openOdiD ataSource(DataSourceRuntime.java:150)
at
org.eclipse.birt.data.engine.impl.PreparedQuery$Executor.ope nDataSource(PreparedQuery.java:838)
at
org.eclipse.birt.data.engine.impl.PreparedQuery$Executor.pre pareExecution(PreparedQuery.java:661)
at
org.eclipse.birt.data.engine.impl.PreparedQuery$Executor.acc ess$000(PreparedQuery.java:498)
at
org.eclipse.birt.data.engine.impl.PreparedQuery.doPrepare(Pr eparedQuery.java:225)
at
org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.ex ecute(PreparedDataSourceQuery.java:145)
at
org.eclipse.birt.report.engine.data.dte.DteDataEngine.execut e(DteDataEngine.java:205)
at
org.eclipse.birt.report.engine.executor.QueryItemExecutor.op enResultSet(QueryItemExecutor.java:62)
at
org.eclipse.birt.report.engine.executor.TableItemExecutor.ex ecute(TableItemExecutor.java:122)
at
org.eclipse.birt.report.engine.executor.ReportExecutorVisito r.visitTableItem(ReportExecutorVisitor.java:187)
at
org.eclipse.birt.report.engine.ir.TableItemDesign.accept(Tab leItemDesign.java:69)
at
org.eclipse.birt.report.engine.executor.ReportExecutor.execu te(ReportExecutor.java:125)
at
org.eclipse.birt.report.engine.executor.ReportExecutor.execu te(ReportExecutor.java:89)
at
org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run (RunAndRenderTask.java:175)
at
org.eclipse.birt.report.services.ReportEngineService.runAndR enderReport(Unknown
Source) at
org.eclipse.birt.report.viewer.aggregation.layout.EngineFrag ment.doService(Unknown
Source) at
org.eclipse.birt.report.viewer.aggregation.BaseFragment.serv ice(Unknown
Source) at
org.eclipse.birt.report.viewer.servlet.ViewerServlet.doGet(U nknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at
org.apache.axis.transport.http.AxisServletBase.service(AxisS ervletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd apter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:856)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.processConnection(Http11Protocol.java:744)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Poo lTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt( LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:684)
at java.lang.Thread.run(Unknown Source)Caused by:
org.eclipse.birt.report.data.oda.jdbc.JDBCException: Cannot load JDBC
Driver class: oracle.jdbc.driver.OracleDriver at
org.eclipse.birt.report.data.oda.jdbc.JDBCDriverManager.load AndRegisterDriver(JDBCDriverManager.java:448)
at
org.eclipse.birt.report.data.oda.jdbc.JDBCDriverManager.doCo nnect(JDBCDriverManager.java:145)
at
org.eclipse.birt.report.data.oda.jdbc.JDBCDriverManager.getC onnection(JDBCDriverManager.java:94)
at
org.eclipse.birt.report.data.oda.jdbc.Connection.connectByUr l(Connection.java:150)
at
org.eclipse.birt.report.data.oda.jdbc.Connection.open(Connec tion.java:111)
at
org.eclipse.datatools.connectivity.oda.consumer.helper.OdaCo nnection.open(OdaConnection.java:239)
at
org.eclipse.birt.data.engine.odaconsumer.ConnectionManager.o penConnection(ConnectionManager.java:124)
... 37 more
)
so when I path __format=pdf,The report display as pdf ,but the report
contain column name as(emp name,salary),but there is no data.
can you help me
Re: run? [message #148086 is a reply to message #148028] Mon, 27 March 2006 09:18 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: r.budner.abg.com.pl

Copy ojdbc14.jar (your jdbc driver) to:

webapps/your_application/plugins/org.eclipse.birt.report.dat a.oda.jdbc/drivers/

webapps/your_application/WEB-INF/lib/
Re: run? [message #152119 is a reply to message #148028] Sat, 08 April 2006 16:15 Go to previous message
Eclipse UserFriend
Originally posted by: David.Peterson.mtvnmix.com

Documentation was incorrect. It's been updated.

http://www.eclipse.org/birt/phoenix/deploy/viewerSetup.php
Previous Topic:birtParameterDialog
Next Topic:create a line chart programmatically
Goto Forum:
  


Current Time: Sat Oct 19 11:11:47 GMT 2024

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

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

Back to the top