起步软件技术论坛
搜索
 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 5421|回复: 12

[结贴] 图标加载数据多时报500错误

[复制链接]

51

主题

208

帖子

402

积分

中级会员

Rank: 3Rank: 3

积分
402
QQ
发表于 2013-12-23 12:15:14 | 显示全部楼层 |阅读模式
版本: X5.2.5 小版本号:
数据库: MS SQLServer 服务器操作系统: Windows 应用服务器: Tomcat
客户端操作系统: Windows 7 浏览器: Chrome
使用chart直方图时,查询中返回数据少时可以显示,返回数据多时报后台错误,这是怎么回事呢?
QQ截图20131223121241.png

310

主题

4938

帖子

4767

积分

论坛元老

Rank: 8Rank: 8

积分
4767
QQ
发表于 2013-12-23 12:21:44 | 显示全部楼层
后台报什么错呢?
QQ:179785966
回复 支持 反对

使用道具 举报

51

主题

208

帖子

402

积分

中级会员

Rank: 3Rank: 3

积分
402
QQ
 楼主| 发表于 2013-12-23 12:27:13 | 显示全部楼层
OutOfMemoryError
回复 支持 反对

使用道具 举报

51

主题

208

帖子

402

积分

中级会员

Rank: 3Rank: 3

积分
402
QQ
 楼主| 发表于 2013-12-23 12:28:39 | 显示全部楼层
2013-12-23 12:26:06 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet reportServerServlet threw exception
java.lang.OutOfMemoryError: Java heap space
        at com.justep.chart.data.ChartaAutoDataHelper.createChartAutoData(Unknown Source)
        at com.justep.chart.data.ChartDatasetHelper.createBarDataSet(Unknown Source)
        at com.justep.chart.data.ChartDatasetHelper.createDataSet(Unknown Source)
        at com.justep.chart.BuildChart.initChartObj(Unknown Source)
        at com.justep.chart.BuildChart.initChartObj(Unknown Source)
        at com.justep.chart.BuildChart.build(Unknown Source)
        at com.justep.chart.BuildChart.createChart(Unknown Source)
        at com.justep.chart.JustepChartHelper.executeChart(Unknown Source)
        at com.justep.report.core.XReportChartHelper.executeChart(Unknown Source)
        at com.justep.report.core.XReportHelper.a(Unknown Source)
        at com.justep.report.core.XReportHelper.executeXReport(Unknown Source)
        at com.justep.report.controller.ReportController.execute(Unknown Source)
        at com.justep.report.controller.GenericControllerChain.execute(Unknown Source)
        at com.justep.report.controller.DataController.execute(Unknown Source)
        at com.justep.report.controller.GenericControllerChain.execute(Unknown Source)
        at com.justep.report.controller.InitController.execute(Unknown Source)
        at com.justep.report.controller.GenericControllerChain.execute(Unknown Source)
        at com.justep.report.Servlet.a(Unknown Source)
        at com.justep.report.Servlet.doPost(Unknown Source)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        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.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.Http11Processor.process(Http11Processor.java:857)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
2013-12-23 12:26:07 报表服务请求失败
javax.servlet.ServletException: javax.servlet.ServletException: 报表服务请求失败
        at com.justep.ui.servlet.MainServlet.service(Unknown Source)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        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.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.Http11Processor.process(Http11Processor.java:857)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Thread.java:595)
Caused by: javax.servlet.ServletException: 报表服务请求失败
        at ReportBrowse.doPost(ReportBrowse.java:21)
        at com.justep.ui.impl.JProcessorImpl.execute(Unknown Source)
        at com.justep.ui.JavaServer.runJava(Unknown Source)
        at com.justep.ui.JavaServer.doJ(Unknown Source)
        at com.justep.ui.JavaServer.service(Native Method)
        ... 14 more
Caused by: javax.servlet.ServletException: 报表服务请求失败
        at com.justep.ui.system.service.report.ReportHelper.call(Unknown Source)
        at com.justep.ui.system.service.report.ReportHelper.service(Unknown Source)
        at ReportBrowse.doPost(ReportBrowse.java:19)
        ... 18 more
Caused by: java.lang.UnsupportedOperationException: 请求报表服务器失败[http://localhost:8080/ReportServer/reportservice?bsessionid=8A1943D855E351579DC738D2011D24CE]:<html><head><title>Apache Tomcat/6.0.29 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 500 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Exception report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The server encountered an internal error () that prevented it from fulfilling this request.</u></p><p><b>exception</b> <pre>javax.servlet.ServletException: Servlet execution threw an exception
</pre></p><p><b>root cause</b> <pre>java.lang.OutOfMemoryError: Java heap space
        com.justep.chart.data.ChartaAutoDataHelper.createChartAutoData(Unknown Source)
        com.justep.chart.data.ChartDatasetHelper.createBarDataSet(Unknown Source)
        com.justep.chart.data.ChartDatasetHelper.createDataSet(Unknown Source)
        com.justep.chart.BuildChart.initChartObj(Unknown Source)
        com.justep.chart.BuildChart.initChartObj(Unknown Source)
        com.justep.chart.BuildChart.build(Unknown Source)
        com.justep.chart.BuildChart.createChart(Unknown Source)
        com.justep.chart.JustepChartHelper.executeChart(Unknown Source)
        com.justep.report.core.XReportChartHelper.executeChart(Unknown Source)
        com.justep.report.core.XReportHelper.a(Unknown Source)
        com.justep.report.core.XReportHelper.executeXReport(Unknown Source)
        com.justep.report.controller.ReportController.execute(Unknown Source)
        com.justep.report.controller.GenericControllerChain.execute(Unknown Source)
        com.justep.report.controller.DataController.execute(Unknown Source)
        com.justep.report.controller.GenericControllerChain.execute(Unknown Source)
        com.justep.report.controller.InitController.execute(Unknown Source)
        com.justep.report.controller.GenericControllerChain.execute(Unknown Source)
        com.justep.report.Servlet.a(Unknown Source)
        com.justep.report.Servlet.doPost(Unknown Source)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
</pre></p><p><b>note</b> <u>The full stack trace of the root cause is available in the Apache Tomcat/6.0.29 logs.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/6.0.29</h3></body></html>
        ... 21 more
2013-12-23 12:26:07 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet main-servlet threw exception
java.lang.UnsupportedOperationException: 请求报表服务器失败[http://localhost:8080/ReportServer/reportservice?bsessionid=8A1943D855E351579DC738D2011D24CE]:<html><head><title>Apache Tomcat/6.0.29 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 500 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Exception report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The server encountered an internal error () that prevented it from fulfilling this request.</u></p><p><b>exception</b> <pre>javax.servlet.ServletException: Servlet execution threw an exception
</pre></p><p><b>root cause</b> <pre>java.lang.OutOfMemoryError: Java heap space
        com.justep.chart.data.ChartaAutoDataHelper.createChartAutoData(Unknown Source)
        com.justep.chart.data.ChartDatasetHelper.createBarDataSet(Unknown Source)
        com.justep.chart.data.ChartDatasetHelper.createDataSet(Unknown Source)
        com.justep.chart.BuildChart.initChartObj(Unknown Source)
        com.justep.chart.BuildChart.initChartObj(Unknown Source)
        com.justep.chart.BuildChart.build(Unknown Source)
        com.justep.chart.BuildChart.createChart(Unknown Source)
        com.justep.chart.JustepChartHelper.executeChart(Unknown Source)
        com.justep.report.core.XReportChartHelper.executeChart(Unknown Source)
        com.justep.report.core.XReportHelper.a(Unknown Source)
        com.justep.report.core.XReportHelper.executeXReport(Unknown Source)
        com.justep.report.controller.ReportController.execute(Unknown Source)
        com.justep.report.controller.GenericControllerChain.execute(Unknown Source)
        com.justep.report.controller.DataController.execute(Unknown Source)
        com.justep.report.controller.GenericControllerChain.execute(Unknown Source)
        com.justep.report.controller.InitController.execute(Unknown Source)
        com.justep.report.controller.GenericControllerChain.execute(Unknown Source)

回复 支持 反对

使用道具 举报

88

主题

9507

帖子

5135

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
5135
QQ
发表于 2013-12-23 13:21:21 | 显示全部楼层
这个错误是内存溢出,找一个内存大的计算机测试
远程的联系方法 QQ 728094812。添加好友时,需要填写论坛账号
发远程时同时也发一下帖子的地址,方便了解要解决的问题

如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

51

主题

208

帖子

402

积分

中级会员

Rank: 3Rank: 3

积分
402
QQ
 楼主| 发表于 2013-12-23 13:27:47 | 显示全部楼层
我这边内存是4G,我在tomcat的jvm中加大分配空间还是这样,会不会是我在控件的参数设置上有什么问题啊
回复 支持 反对

使用道具 举报

88

主题

9507

帖子

5135

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
5135
QQ
发表于 2013-12-23 13:36:17 | 显示全部楼层
使用的是64位的jdk吗,否则jvm最大只能1G
远程的联系方法 QQ 728094812。添加好友时,需要填写论坛账号
发远程时同时也发一下帖子的地址,方便了解要解决的问题

如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

51

主题

208

帖子

402

积分

中级会员

Rank: 3Rank: 3

积分
402
QQ
 楼主| 发表于 2013-12-23 13:52:45 | 显示全部楼层
用的就是x5自带的jdk(版本:5.2.5.2393),怎样查看版本信息呢
回复 支持 反对

使用道具 举报

88

主题

9507

帖子

5135

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
5135
QQ
发表于 2013-12-23 14:23:03 | 显示全部楼层
开发版和小机构版带32位的,企业版带64位的
远程的联系方法 QQ 728094812。添加好友时,需要填写论坛账号
发远程时同时也发一下帖子的地址,方便了解要解决的问题

如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

51

主题

208

帖子

402

积分

中级会员

Rank: 3Rank: 3

积分
402
QQ
 楼主| 发表于 2013-12-23 16:05:43 | 显示全部楼层
应该是开发版,可以远程一下吗
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|X3技术论坛|Justep Inc.    

GMT+8, 2024-5-18 23:40 , Processed in 0.068075 second(s), 28 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表