Was6.1符号链接问题

CCAS影像服务器从was5.1升级到6.1后,导致符号链接的文件不能处理,报file not found错误,解决方法:

应用服务器--〉“服务器名称”--〉web容器--〉定制属性--〉新建

名称:com.ibm.ws.webcontainer.TolerateSymbolicLinks
值:true

原因:

PK87049: ALLOW USE OF SYMBOLIC LINKS AFTER PK81387

APAR status
  • Closed as program error.
Error description
  • After applying PK81387 symbolic links within a WAR directory no
    longer work.
    
Local fix
Problem summary
  • ****************************************************************
    * USERS AFFECTED:  IBM WebSphere Application Server Version 6  *
    *                  and Version 7 users.                        *
    ****************************************************************
    * PROBLEM DESCRIPTION: After PK81387, symbolic links used in a *
    *                      web application archive (WAR) directory *
    *                      might result in failures.               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    A request for a static file or Java server Page (JSP) could fail
    with a 404 (not found) error code if the requested file or JSP
    is defined in the application using a symbolic link. A symbolic
    link will work if the link is defined at the WAR root directory.
    
Problem conclusion
  • IBM WebSphere Application Server does not recommend use of
    symbolic links although prior to PK81387 use of symbolic links
    worked.The recommended approach is to use Extended Document
    Root and customers are strongly encouraged to use it. More
    information on using Extended Document Root can be found in
    the WAS InfoCenter.
    
    PK81387 fixes a security exposure and this APAR
    modifies the WebContainer to tolerate symbolic links after
    PK81387 without compromising the security fix provided by
    PK81387.
    
    To enable the new behavior provided by this APAR the following
    WebContainer custom property must be set:
    
    Name: com.ibm.ws.webcontainer.TolerateSymbolicLinks
    Description : Enables the webcontainer to support use of
    symbolic links after PK81387.
    Values : true/false(default)
    
    The fix for this APAR is currently targeted for inclusion in
    fix packs 6.0.2.37, 6.1.0.27 and 7.0.0.5.  Please refer to the
    Recommended Updates page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980

参考链接:http://www-01.ibm.com/support/docview.wss?uid=swg1PK87049

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值