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

QQ登录

只需一步,快速开始

查看: 1817|回复: 8

[结贴] justep.Shell.showPage打开页面报错

[复制链接]

718

主题

2841

帖子

5657

积分

论坛元老

Rank: 8Rank: 8

积分
5657
QQ
发表于 2016-8-3 19:37:59 | 显示全部楼层 |阅读模式
问一下,我通过justep.Shell.showPage打开一个A页面,再在A页面里通过justep.Shell.showPage打开B页面,过一段时间后(当时不会报错的,要过一二分钟后),报错 QQ图片20160803185845.png
WEX5初学者,欢迎初学者交流
QQ:597558229
tel:15857336322
发表于 2016-8-4 13:34:00 | 显示全部楼层
F12看看报错信息是啥啊?最好是能debugger调试看看执行哪行代码报错的!
平台案例会存在这样的问题吗?
qq:1912779713
WeX5教程--WeX5下载
回复 支持 反对

使用道具 举报

718

主题

2841

帖子

5657

积分

论坛元老

Rank: 8Rank: 8

积分
5657
QQ
 楼主| 发表于 2016-8-4 13:35:09 | 显示全部楼层
平台的不会, 就是我这样多层跳转后会这样
WEX5初学者,欢迎初学者交流
QQ:597558229
tel:15857336322
回复 支持 反对

使用道具 举报

718

主题

2841

帖子

5657

积分

论坛元老

Rank: 8Rank: 8

积分
5657
QQ
 楼主| 发表于 2016-8-4 14:41:22 | 显示全部楼层
QQ截图20160804143756.png F12上看到的错误
WEX5初学者,欢迎初学者交流
QQ:597558229
tel:15857336322
回复 支持 反对

使用道具 举报

718

主题

2841

帖子

5657

积分

论坛元老

Rank: 8Rank: 8

积分
5657
QQ
 楼主| 发表于 2016-8-4 14:42:29 | 显示全部楼层
  1. 八月 04, 2016 2:37:17 下午 org.apache.catalina.core.StandardWrapperValve invoke
  2. 严重: Servlet.service() for servlet main-servlet threw exception
  3. java.net.SocketException: Software caused connection abort: socket write error
  4.         at java.net.SocketOutputStream.socketWrite0(Native Method)
  5.         at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)
  6.         at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
  7.         at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:761)
  8.         at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:448)
  9.         at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:318)
  10.         at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:987)
  11.         at org.apache.coyote.Response.action(Response.java:186)
  12.         at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:325)
  13.         at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:296)
  14.         at org.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java:98)
  15.         at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:297)
  16.         at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141)
  17.         at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)
  18.         at com.justep.ui.serializer.BinaryTextContentHandler.endDocument(Unknown Source)
  19.         at orbeon.apache.xerces.parsers.AbstractSAXParser.endDocument(AbstractSAXParser.java:733)
  20.         at orbeon.apache.xerces.impl.XMLDocumentScannerImpl.endEntity(XMLDocumentScannerImpl.java:524)
  21.         at orbeon.apache.xerces.impl.XMLEntityManager.endEntity(XMLEntityManager.java:1917)
  22.         at orbeon.apache.xerces.impl.XMLEntityScanner.load(XMLEntityScanner.java:1763)
  23.         at orbeon.apache.xerces.impl.XMLEntityScanner.skipSpaces(XMLEntityScanner.java:1249)
  24.         at orbeon.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.dispatch(XMLDocumentScannerImpl.java:1217)
  25.         at orbeon.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:324)
  26.         at orbeon.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:845)
  27.         at orbeon.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:768)
  28.         at orbeon.apache.xerces.parsers.XMLParser.parse(XMLParser.java:108)
  29.         at orbeon.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1201)
  30.         at com.justep.ui.xml.XMLUtils.inputSourceToSAX(Unknown Source)
  31.         at com.justep.ui.serializer.HttpSerializer.output(Unknown Source)
  32.         at com.justep.ui.serializer.HttpSerializer.execute(Unknown Source)
  33.         at com.justep.ui.util.UIUtils.httpSerializer(Unknown Source)
  34.         at com.justep.ui.WindowServer2.service(Unknown Source)
  35.         at com.justep.ui.servlet.MainServlet.service(Unknown Source)
  36.         at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
  37.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  38.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  39.         at com.justep.portal.filter.RedirectFilter.doFilter(Unknown Source)
  40.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  41.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  42.         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
  43.         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
  44.         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
  45.         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
  46.         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  47.         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
  48.         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
  49.         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
  50.         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
  51.         at java.lang.Thread.run(Thread.java:745)

  52. 八月 04, 2016 2:37:17 下午 org.apache.catalina.core.ApplicationDispatcher invoke
  53. 严重: Servlet.service() for servlet jsp threw exception
  54. java.lang.IllegalStateException: getOutputStream() has already been called for this response
  55.         at org.apache.catalina.connector.Response.getWriter(Response.java:611)
  56.         at org.apache.catalina.connector.ResponseFacade.getWriter(ResponseFacade.java:198)
  57.         at javax.servlet.ServletResponseWrapper.getWriter(ServletResponseWrapper.java:112)
  58.         at org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:125)
  59.         at org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:118)
  60.         at org.apache.jasper.runtime.PageContextImpl.release(PageContextImpl.java:183)
  61.         at org.apache.jasper.runtime.JspFactoryImpl.internalReleasePageContext(JspFactoryImpl.java:118)
  62.         at org.apache.jasper.runtime.JspFactoryImpl.releasePageContext(JspFactoryImpl.java:77)
  63.         at org.apache.jsp.error_jsp._jspService(error_jsp.java:147)
  64.         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
  65.         at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
  66.         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
  67.         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
  68.         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
  69.         at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
  70.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  71.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  72.         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
  73.         at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
  74.         at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
  75.         at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:416)
  76.         at org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:270)
  77.         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
  78.         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
  79.         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  80.         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
  81.         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
  82.         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
  83.         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
  84.         at java.lang.Thread.run(Thread.java:745)

  85. 八月 04, 2016 2:37:17 下午 org.apache.catalina.core.StandardHostValve custom
  86. 严重: Exception Processing ErrorPage[exceptionType=java.lang.Exception, location=/error.jsp]
  87. org.apache.jasper.JasperException: java.lang.IllegalStateException: getOutputStream() has already been called for this response
  88.         at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:502)
  89.         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:424)
  90.         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
  91.         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
  92.         at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
  93.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  94.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  95.         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
  96.         at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
  97.         at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
  98.         at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:416)
  99.         at org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:270)
  100.         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
  101.         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
  102.         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  103.         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
  104.         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
  105.         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
  106.         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
  107.         at java.lang.Thread.run(Thread.java:745)
  108. Caused by: java.lang.IllegalStateException: getOutputStream() has already been called for this response
  109.         at org.apache.catalina.connector.Response.getWriter(Response.java:611)
  110.         at org.apache.catalina.connector.ResponseFacade.getWriter(ResponseFacade.java:198)
  111.         at javax.servlet.ServletResponseWrapper.getWriter(ServletResponseWrapper.java:112)
  112.         at org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:125)
  113.         at org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:118)
  114.         at org.apache.jasper.runtime.PageContextImpl.release(PageContextImpl.java:183)
  115.         at org.apache.jasper.runtime.JspFactoryImpl.internalReleasePageContext(JspFactoryImpl.java:118)
  116.         at org.apache.jasper.runtime.JspFactoryImpl.releasePageContext(JspFactoryImpl.java:77)
  117.         at org.apache.jsp.error_jsp._jspService(error_jsp.java:147)
  118.         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
  119.         at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
  120.         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
  121.         ... 18 more
复制代码
控制台报错信息
WEX5初学者,欢迎初学者交流
QQ:597558229
tel:15857336322
回复 支持 反对

使用道具 举报

718

主题

2841

帖子

5657

积分

论坛元老

Rank: 8Rank: 8

积分
5657
QQ
 楼主| 发表于 2016-8-4 14:57:43 | 显示全部楼层
只要跳出一样的错误框,所有的页面就死掉了,点击任何一个都没反应了
WEX5初学者,欢迎初学者交流
QQ:597558229
tel:15857336322
回复 支持 反对

使用道具 举报

发表于 2016-8-5 10:53:51 | 显示全部楼层

看后台报错,可能是网络问题!socket write error 这个是tomcat 服务器 出问题 了!
上网搜下错误信息!或者是重新部署一个tomcat的运行环境试试吧!
qq:1912779713
WeX5教程--WeX5下载
回复 支持 反对

使用道具 举报

0

主题

1

帖子

3

积分

新手上路

Rank: 1

积分
3
QQ
发表于 2016-8-5 14:20:27 | 显示全部楼层
回复

使用道具 举报

718

主题

2841

帖子

5657

积分

论坛元老

Rank: 8Rank: 8

积分
5657
QQ
 楼主| 发表于 2016-8-5 19:19:03 | 显示全部楼层
liangyongfei 发表于 2016-8-5 10:53
看后台报错,可能是网络问题!socket write error 这个是tomcat 服务器 出问题 了!
上网搜下错误信息! ...

主要原因,应该不是网络问题,我猜想是我将一行的数据,row.tojson(),而这一行里有一百多个字段,导致URL超长的原因吧,换成传一个ID过去,接收ID后过滤数据解决了
WEX5初学者,欢迎初学者交流
QQ:597558229
tel:15857336322
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-22 12:04 , Processed in 0.056039 second(s), 26 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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