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

QQ登录

只需一步,快速开始

查看: 4139|回复: 2

[结贴] 升级Tomcat8出现问题

[复制链接]

43

主题

229

帖子

742

积分

高级会员

Rank: 4

积分
742
QQ
发表于 2020-12-9 16:16:15 | 显示全部楼层 |阅读模式
通过提供的链接,
http://docs.wex5.com/bex5-deploy-question-list-4001/
把Tomcat6升级为Tomcat8后,通过手动启动服务,可以正常运行,但是,当把Tomcat做成系统服务后,可以正常登陆和首页正常加载,但是点击任何菜单功能报错,报错内容如下:
  1. Error: /x5/UI2/v_6991_nol_zh_CNs_desktopd_pc/ScientificResearch/IPQuery/process/IPQuery/IPStatisticsQueryActivity.w?$pageType=view HTTP status: 500
  2.     at XMLHttpRequest.s.onreadystatechange (core.min.js:71)
  3. core.min.js:71 <!DOCTYPE html
  4.   PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
  5.   

  6. <html version="2.0">
  7. <head>
  8. <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  9. <title>Error</title>
  10. </head>
  11. <BODY id="error">
  12. <H1>UIServer错误</H1>

  13. <H4>URI:/x5/UI2/v_6991_6_4l_zh_CNs_desktopd_pc/ScientificResearch/IPQuery/process/IPQuery/IPStatisticsQueryActivity.w</H4>
  14. <H4>错误码:500</H4>
  15. <H4>错误信息:</H4>
  16. <div>com.justep.ui.exception.UIException: 编码: JUSTEP000033; 提示: 写入文件"D:/SWS_Proj_Stable/model/UI2/ScientificResearch/IPQuery/process/IPQuery/.release/IPStatisticsQueryActivity/IPStatisticsQueryActivity.w.form.xml"出错</div>
  17. <H4><a href="javascript:void(0);" onClick="javascript:document.getElementById('main').style.display=window.isShow?'none':'';var ele = event.target || event.srcElement;if(ele) ele.innerHTML = window.isShow?'显示错误信息':'隐藏错误信息';window.isShow = !window.isShow;">显示错误信息</a></H4>
  18. <div id="main" style="display:none;">

  19. <pre>
  20. com.justep.ui.exception.UIException: 编码: JUSTEP000033; 提示: 写文件"D:/SWS_Proj_Stable/model/UI2/ScientificResearch/IPQuery/process/IPQuery/.release/IPStatisticsQueryActivity/IPStatisticsQueryActivity.w.form.xml"出错
  21.         at com.justep.ui.exception.UIException.create(Unknown Source)
  22.         at com.justep.ui.util.PageUtils.writeFile(Unknown Source)
  23.         at com.justep.ui.WindowCompiler2.cacheMiddle(Unknown Source)
  24.         at com.justep.ui.WindowCompiler2.w2Middle(Unknown Source)
  25.         at com.justep.ui.WindowCompiler2.compile(Unknown Source)
  26.         at com.justep.ui.WindowServer2.compileWindow(Unknown Source)
  27.         at com.justep.ui.WindowServer2.service(Unknown Source)
  28.         at com.justep.ui.servlet.MainServlet.service(Unknown Source)
  29.         at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
  30.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
  31.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  32.         at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
  33.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  34.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  35.         at org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)
  36.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  37.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  38.         at com.justep.portal.filter.RedirectFilter.doFilter(Unknown Source)
  39.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  40.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  41.         at com.justep.ui.filter.MicroServiceAdminFilter.doFilter(Unknown Source)
  42.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  43.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  44.         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
  45.         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
  46.         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:544)
  47.         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143)
  48.         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
  49.         at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:690)
  50.         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
  51.         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
  52.         at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:616)
  53.         at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
  54.         at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:831)
  55.         at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1634)
  56.         at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
  57.         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  58.         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  59.         at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
  60.         at java.lang.Thread.run(Thread.java:745)
  61. Caused by: java.io.FileNotFoundException: D:\SWS_Proj_Stable\model\UI2\ScientificResearch\IPQuery\process\IPQuery\.release\IPStatisticsQueryActivity\IPStatisticsQueryActivity.w.form.xml (拒绝访问。)
  62.         at java.io.FileOutputStream.open0(Native Method)
  63.         at java.io.FileOutputStream.open(FileOutputStream.java:270)
  64.         at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
  65.         at java.io.FileOutputStream.<init>(FileOutputStream.java:162)
  66.         ... 39 more

  67. </pre>

  68. </div>



  69. </body>
  70. </html>
复制代码


532

主题

2107

帖子

4308

积分

论坛元老

起步萌新

Rank: 8Rank: 8

积分
4308
发表于 2020-12-9 16:17:09 | 显示全部楼层
本帖最后由 江苏院-吴昊 于 2020-12-9 16:18 编辑

权限问题,试下tomact里umask相关配置
及时结贴是个好习惯
回复 支持 反对

使用道具 举报

43

主题

229

帖子

742

积分

高级会员

Rank: 4

积分
742
QQ
 楼主| 发表于 2020-12-10 09:14:58 | 显示全部楼层
江苏院-吴昊 发表于 2020-12-9 16:17
权限问题,试下tomact里umask相关配置

windows系统,不过也提醒我找对了方向,需要把服务的启动方式改成本地账户启动就好了
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-24 22:22 , Processed in 0.063879 second(s), 23 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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