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

  • 相关阅读:
    UnityShader
    Unity
    Tools
    linux下解压命令
    进程 同步、互斥
    I/O模型
    jclass jobject
    javah javap
    IDA 结构体
    Windows CSRSS API List (NT/2000/XP/2003/Vista/2008/7/2012/8)
  • 原文地址:https://www.cnblogs.com/zollty/p/3478040.html
Copyright © 2011-2022 走看看