严重:PWC6117:找不到档案 - 码头 [英] SEVERE: PWC6117: File not found - Jetty

查看:166
本文介绍了严重:PWC6117:找不到档案 - 码头的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们在生产环境中遇到此问题但无法跟踪它。
技术:JSP / Servlets,
Jetty服务器版本:jetty-distribution-8.1.15,

We are facing this issue in production environment but unable to track it out. Technology: JSP/Servlets, Jetty Server Version: jetty-distribution-8.1.15,

以下是例外情况,我们在Jetty日志中得到的结果:

Following is exception, what we are getting in Jetty Logs:

2014_08_10.stderrout.log.05300:
SEVERE:PWC6117:File %2Ftmp%2Fjetty-0.0.0.0-8090-ExpireApp.war-_ExpireApp-any-%2Fwebapp%2FExpiry.jsp未找到

2014_08_10.stderrout.log.05300: SEVERE: PWC6117: File "%2Ftmp%2Fjetty-0.0.0.0-8090-ExpireApp.war-_ExpireApp-any-%2Fwebapp%2FExpiry.jsp" not found

该应用程序工作正常但结束用户无法访问.jsp文件,我们需要重新启动,但我们希望解决它。请帮忙

The application worked fine before but end users are unable to access .jsp file and we need a restart for the same but we want to get it resolved. Please help

推荐答案

哦对不起,我之前没有分享过回答。

Oh Sorry, i have not shared answer before.

这是:

问题:默认情况下Jetty解包.WAR文件在Linux的/ TMP目录中。 / TMP目录在几天之后被一些我无法找到的脚本清除。

Issue: By Default Jetty unpacks .WAR file in /TMP directory of Linux. The /TMP directory got cleared after some days by some scripts which i am unable to find.

解决方案:我创建了另一个名为'的目录在Jetty中工作,默认情况下Jetty将解包.WAR,从而阻止jetty解压缩/ TMP中的内容。

Resolution: I have created another directory named ‘work’ in jetty, where Jetty will unpack .WAR by default, thereby preventing jetty to unpack contents in /TMP.

因此问题是解压后的内容被删除并且重新启动后再创造了。这次我在重新启动之前检查了解压缩的内容,所以我实际上遇到了什么问题:)

So issue was unpacked contents got deleted and after restart it got created again. This time i checked unpacked content before restarting so i got what issue actually was :)

谢谢大家的帮助

这篇关于严重:PWC6117:找不到档案 - 码头的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆