【发布时间】:2010-09-21 11:39:32
【问题描述】:
我刚刚在我们的舞台服务器上安装了 WS 7。测试服务器是几个月前完成的。我已经部署了与测试相同的应用程序。
一个应用程序给我带来了问题。我调用了登录 servlet,但结果是“内部服务器错误”消息。从我的日志中,我可以看到 servlet 成功处理了登录并重定向到 JSP。那是最后一条信息。我在任何其他标准输出/错误日志中都找不到更多信息。
我尝试创建一个仅包含 HTML 的简单 JSP - 同样的错误。如果我将文件重命名为 test.html,它会正确显示。插件配置似乎与测试服务器上的相同(一切正常)
有什么想法吗?
http_plugin.log
[Tue Sep 21 14:06:02 2010] 00000bd4 00002430 - ERROR: ws_common: websphereGetStream: socket error conditions pending
[Tue Sep 21 14:06:02 2010] 00000bd4 00002430 - ERROR: ws_common: websphereExecute: Failed to create the stream
[Tue Sep 21 14:06:02 2010] 00000bd4 00002430 - ERROR: ws_common: websphereHandleRequest: Failed to execute the transaction to 'server1'on host 'SRVxyz'; will try another one
[Tue Sep 21 14:06:03 2010] 00000bd4 00002430 - ERROR: ws_common: websphereGetStream: socket error conditions pending
[Tue Sep 21 14:06:03 2010] 00000bd4 00002430 - ERROR: ws_common: websphereExecute: Failed to create the stream
[Tue Sep 21 14:06:03 2010] 00000bd4 00002430 - ERROR: ws_common: websphereHandleRequest: Failed to execute the transaction to 'server1'on host 'SRVxyz'; will try another one
[Tue Sep 21 14:06:03 2010] 00000bd4 00002430 - ERROR: ws_common: websphereWriteRequestReadResponse: Failed to find an app server to handle this request
[Tue Sep 21 14:06:03 2010] 00000bd4 00002430 - ERROR: ESI: getResponse: failed to get response: rc = 2
[Tue Sep 21 14:06:03 2010] 00000bd4 00002430 - ERROR: ws_common: websphereHandleRequest: Failed to handle request
【问题讨论】:
-
您怀疑错误与 HTTP 插件有关吗?直接访问 Web 容器(并通过 Web 服务器)以查看您是否能够访问您的 JSP。你的登录 servlet 是什么? (是您使用的基于 FORM 的登录或自定义登录 servlet)。登录 servlet 是往返(返回浏览器,然后返回 JSP)还是执行对 JSP 的服务器端调用。在后者的情况下,没有 HTTP 插件的参与)