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 代码中的错误吗?我会很感激任何帮助。

4

2 回答 2

0

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

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 应用程序之前发生错误。

芒鲁

于 2010-03-17T00:03:16.193 回答
0

让我们从头开始。我们需要找出问题的根本原因。您给了我们例外,但遗漏了原因。您能否发布异常之后出现的错误?您将看到以下消息

  • 错误页面异常:
  • 错误代码:
  • 目标小服务程序:
  • 错误堆栈:
于 2010-03-16T20:38:54.150 回答