zhang5476499
「已注销」
采纳率80%
2017-10-09 14:32

麻烦帮忙看润乾报表报错

本人用的是润乾报表的试用版,应该说授权文件是试用版,润乾版本5.0,Linux。数据源选用的是本地MySql,生成表格是没问题的,只是发布成网页的时候就报错了。

 [2017-10-09 22:28:43] 
INFO: Now is calculating report: /2.2.rpx

[2017-10-09 22:28:43] 
DEBUG: CacheManager get report entry

[2017-10-09 22:28:43] 
DEBUG: 开始读取模板缓存,模板缓存id是:/2.2.rpx

[2017-10-09 22:28:43] 
DEBUG: 读取模板缓存结束,模板缓存id是:/2.2.rpx

[2017-10-09 22:28:43] 
DEBUG: 开始读取模板缓存,模板缓存id是:/2.2.rpx

[2017-10-09 22:28:43] 
DEBUG: 读取模板缓存结束,模板缓存id是:/2.2.rpx

[2017-10-09 22:28:43] 
INFO: 开始运算报表,首先取数......

: 数据集ds1中,数据源mysql无数据库连接,且未设定数据连接工厂,请检查数据源设定:
    at com.raqsoft.report.dataset.SQLDataSetFactory.createDataSetM(Unknown Source:91)
    at com.raqsoft.report.usermodel.Engine._$1(Unknown Source:170)
    at com.raqsoft.report.usermodel.Engine._$1(Unknown Source:154)
    at com.raqsoft.report.usermodel.Engine.calc(Unknown Source:100)
    at com.raqsoft.report.cache.lIllIllIIllllIIl.getReport(Unknown Source:136)
    at com.raqsoft.report.cache.ReportCache.getReport(Unknown Source:171)
    at com.raqsoft.report.tag.HtmlTag.doStartTag(Unknown Source:334)
    at org.apache.jsp.reportJsp.preview_jsp._jspService(preview_jsp.java:231)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:439)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at com.raqsoft.report.webutil.CharacterEncodingFilter.doFilter(Unknown Source:44)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1115)
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    at java.lang.Thread.run(Thread.java:745)
[2017-10-09 22:28:43] 
SEVERE: 产生数据工厂: com.raqsoft.report.dataset.SQLDataSetFactory 失败
: 数据集ds1中,数据源mysql无数据库连接,且未设定数据连接工厂,请检查数据源设定:
    at com.raqsoft.report.dataset.SQLDataSetFactory.createDataSetM(Unknown Source:91)
    at com.raqsoft.report.usermodel.Engine._$1(Unknown Source:170)
    at com.raqsoft.report.usermodel.Engine._$1(Unknown Source:154)
    at com.raqsoft.report.usermodel.Engine.calc(Unknown Source:100)
    at com.raqsoft.report.cache.lIllIllIIllllIIl.getReport(Unknown Source:136)
    at com.raqsoft.report.cache.ReportCache.getReport(Unknown Source:171)
    at com.raqsoft.report.tag.HtmlTag.doStartTag(Unknown Source:334)
    at org.apache.jsp.reportJsp.preview_jsp._jspService(preview_jsp.java:231)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:439)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at com.raqsoft.report.webutil.CharacterEncodingFilter.doFilter(Unknown Source:44)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1115)
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    at java.lang.Thread.run(Thread.java:745)

[2017-10-09 22:28:43] 
SEVERE: error:
: 产生数据工厂: com.raqsoft.report.dataset.SQLDataSetFactory 失败 (数据集名称):ds1 
错误来源:: 数据集ds1中,数据源mysql无数据库连接,且未设定数据连接工厂,请检查数据源设定:
    at com.raqsoft.report.usermodel.Engine._$1(Unknown Source:190)
    at com.raqsoft.report.usermodel.Engine._$1(Unknown Source:154)
    at com.raqsoft.report.usermodel.Engine.calc(Unknown Source:100)
    at com.raqsoft.report.cache.lIllIllIIllllIIl.getReport(Unknown Source:136)
    at com.raqsoft.report.cache.ReportCache.getReport(Unknown Source:171)
    at com.raqsoft.report.tag.HtmlTag.doStartTag(Unknown Source:334)
    at org.apache.jsp.reportJsp.preview_jsp._jspService(preview_jsp.java:231)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:439)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at com.raqsoft.report.webutil.CharacterEncodingFilter.doFilter(Unknown Source:44)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1115)
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    at java.lang.Thread.run(Thread.java:745)
Caused by: : 数据集ds1中,数据源mysql无数据库连接,且未设定数据连接工厂,请检查数据源设定:
    at com.raqsoft.report.dataset.SQLDataSetFactory.createDataSetM(Unknown Source:91)
    at com.raqsoft.report.usermodel.Engine._$1(Unknown Source:170)
    ... 34 more

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

相关推荐