Websphere 日志报告 {0} 文件未找到,但应用程序继续运行,没有出现问题

发布于 2024-08-25 23:26:04 字数 2841 浏览 5 评论 0原文

websphere 6.1 服务器正在运行一个 struts 应用程序,该应用程序似乎工作正常。但是,在日志中,我看到以下错误消息,该消息不断通过电子邮件发送给支持人员。

[3/16/10 15:42:08:089 CDT] 00000023 SystemOut     O FATAL - [03-16-2010 15:42:08] root: The following page could not be found in the Web Administration application. The stack trace follows: 

com.ibm.ws.webcontainer.webapp.WebAppErrorReport: SRVE0190E: File not found: {0}
at com.ibm.ws.webcontainer.webapp.WebAppDispatcherContext.sendError(WebAppDispatcherContext.java:536)
at com.ibm.ws.webcontainer.srt.SRTServletResponse.sendError(SRTServletResponse.java:930)
at com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:524)
at com.ibm.ws.wswebcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:111)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3129)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:238)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1433)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:93)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213)
at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:194)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:741)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:863)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1510)

我可以将问题缩小到单个 Action 和 JSP,它们太大而无法在此处显示,但这里是 struts-config.xml 中的操作定义:

    <action
            path="/HappyDefaultThing"
            name="HappyDefaultThingActionForm"
            type="com.foo.webadministration.action.HappyDefaultThingAction"
            validate="true"
            input="/WaAssignDefaultHappyThing.jsp"
            scope="session">
            <forward name="success" path="/WaAssignDefaultHappyThing.jsp"/>
            <forward name="failure" path="/WaAssignDefaultHappyThing.jsp"/>
    </action>

据我所知,没有丢失任何内容,并且正在找到所有必需的内容,但日志显示“未找到文件:{0}”

什么是“{0}”?堆栈跟踪仅显示 IBM 的代码,我看不到其来源,因此无法跟踪。

这是 websphere 代码中的错误吗?我将不胜感激任何帮助。

A websphere 6.1 server is running a struts application that seems to be working fine. In the logs, however, I'm seeing the following error message, which is being continually emailed to the support staff.

[3/16/10 15:42:08:089 CDT] 00000023 SystemOut     O FATAL - [03-16-2010 15:42:08] root: The following page could not be found in the Web Administration application. The stack trace follows: 

com.ibm.ws.webcontainer.webapp.WebAppErrorReport: SRVE0190E: File not found: {0}
at com.ibm.ws.webcontainer.webapp.WebAppDispatcherContext.sendError(WebAppDispatcherContext.java:536)
at com.ibm.ws.webcontainer.srt.SRTServletResponse.sendError(SRTServletResponse.java:930)
at com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:524)
at com.ibm.ws.wswebcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:111)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3129)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:238)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1433)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:93)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213)
at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:194)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:741)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:863)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1510)

I can narrow down the issue to a single Action and JSP, which are too big to show here, but here's the action definition in struts-config.xml:

    <action
            path="/HappyDefaultThing"
            name="HappyDefaultThingActionForm"
            type="com.foo.webadministration.action.HappyDefaultThingAction"
            validate="true"
            input="/WaAssignDefaultHappyThing.jsp"
            scope="session">
            <forward name="success" path="/WaAssignDefaultHappyThing.jsp"/>
            <forward name="failure" path="/WaAssignDefaultHappyThing.jsp"/>
    </action>

As far as I can see, nothing is missing, and everything necessary is being found, but the logs say "File not found: {0}"

What is "{0}"?? The stack trace only shows IBMs code, which I can't see the source of, and therefore can't trace.

Is this a bug in the websphere code? I'd appreciate any help.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

一曲爱恨情仇 2024-09-01 23:26:04

让我们从头开始吧。我们需要确定问题的根本原因。你给了我们例外,却忽略了原因。
您能发布异常后出现的错误吗?您将看到以下消息

  • 错误页面异常:
  • 错误代码:
  • 目标 Servlet:
  • 错误堆栈:

Let's start from the beginning. We need to identify the root cause of the problem. You gave us the exception but left out the cause.
Can you please post the error that comes after the exception? You'll see the following message

  • Error Page Exception:
  • Error Code:
  • Target Servlet:
  • Error Stack:
深爱成瘾 2024-09-01 23:26:04

正如精英绅士所提到的,我希望在日志中看到的内容比您在此处显示的内容要多得多。

https://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.messages.doc/com.ibm。 ws.webcontainer.resources.Messages.html

仅供参考:查看此 URL(如上所示)以获取有关 Servlet/Web 容器错误消息的信息。在这种情况下,很明显 Web 容器无法提供文件服务。

您如何将问题范围缩小到 struts 组件?我问你的原因是,我在你提供的堆栈跟踪中没有看到任何 Struts 代码。这实际上意味着此错误消息与您的 struts 应用程序无关(或者至少在控件到达您的 struts/web 应用程序之前发生了错误

。Manglu

As mentioned by Elite Gentleman, i would expect to see a lot more in the logs than what you have shown here.

https://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.messages.doc/com.ibm.ws.webcontainer.resources.Messages.html

FYI: Look at this URL (shown above) for information on the Servlet/Web Container error messages. In this case, it is clear that the Web Container is not able to service out a file.

How did you narrow down the issue to a struts component? The reason i am asking you is this, i don't see any Struts code in the stack trace that you have provided. This effectively implies that this error message is not related to your struts application (or at least the error has occurred prior to the control reaching your struts/web application.

Manglu

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文