代码之家  ›  专栏  ›  技术社区  ›  paul

访问JSP时获取“内部服务器错误”。servlets正常

  •  0
  • paul  · 技术社区  · 14 年前

    我刚在我们的舞台服务器上安装了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
    
    1 回复  |  直到 8 年前
        1
  •  2
  •   paul    14 年前

    问题现在解决了。

    安装过程创建了默认服务器。我忽略了这一点,认为这无关紧要。我移除了服务器,重新生成了插件配置,我的应用程序工作正常。