zoukankan      html  css  js  c++  java
  • websphere静态文件转发出错问题 SimpleFileServlet

    ERROR DESCRIPTION: 
    Using a RequestDispatcher to explicitly forward to the WebContainer's SimpleFileServlet does not work on WebSphere Application Server V7.0 because of the way ServletWrapper tries to initiate the servlet. 

    The exception would look like this in the logs: 
    [10/15/08 14:26:48:961 EDT] 00000013 servlet E 
    com.ibm.ws.webcontainer.servlet.ServletWrapper run [Servlet Error]-[class java.lang.InstantiationException: 
    com.ibm.ws.webcontainer.servlet.SimpleFileServlet]: 
    java.lang.ClassNotFoundException: class 
    java.lang.InstantiationException: 
    com.ibm.ws.webcontainer.servlet.xxxxxxxxxxServlet 
    at java.beans.Beans.instantiate(Unknown Source) 
    at java.beans.Beans.instantiate(Unknown Source) 
    at com.ibm.ws.webcontainer.servlet.ServletWrapper$1.run(ServletWrap per.java :1682) 
    at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118) 
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.loadServlet(ServletWrapper.java:1673) 

    用SpringMVC或者ZolltyMVC时,当把请求抛给WebContainer默认的Servlt处理时,在websphere7.0.0.0下,就会有这个问题。是websphere的一个BUG。

    BUG为:

    PK74129; 7.0.0.1: Requestdispatcher forward to static file serving servlet

    详见:

    http://www-01.ibm.com/support/docview.wss?uid=swg24021470

  • 相关阅读:
    12.3
    团队项目第一阶段冲刺第一天
    4.22
    4.21 re重要功能
    12.1
    12.2
    4.17
    4.16
    css设置子元素相对于父元素保持位置不变(含有滚动条的父元素)
    git操作和npm操作清单
  • 原文地址:https://www.cnblogs.com/zollty/p/3478040.html
Copyright © 2011-2022 走看看