WAS7.0安装补丁升级程序无法替换文件 java/docs/autorun.inf解决办法

OS:Win7 64bit
WAS版本:WASND_7.0_Windows_x64_C1G2JML.zip
WAS补丁升级程序版本:7.0.0.13-WS-UPDI-WinAMD64

异常信息:

Caused by: com.ibm.ws.install.ni.framework.fileactions.NIFFileActionIOException: 无法替换文件 java/docs/autorun.inf

在WAS补丁升级程序安装包WS-UPDI-WinAMD64\JDK\jre.pak\repository\package.java.jre\java\docs下发现缺少autorun.inf文件

不知道是不是一个bug,还是获取的安装包不完整

网上搜罗了下,还真有遇到这个问题的http://www.itpub.net/thread-1265750-1-1.html但是没有解决办法

另辟蹊径

{WAS_HOME}\AppServer\java\docs\目录下也有一个autorun.inf文件,内容如下:

;TODO Add custom autorun semaphore for the launchpad project.  Remove this line when this task is complete
;
; Setting and checking semaphores prevents the same launchpad from running multiple instances on the same computer. 
;
; Customize the -c and -s switches in the following command.  Create semaphores with a unique name for a product.
;
; SYNTAX:
;
; open=launchpad.exe [-c] semaphoreName [-s] semaphoreName launchpad\lauchpad.bat
;
;  -c  Checks for the specified semaphore and if it exists, exits without starting the program.  
;      You should add a -s parameter  with the same semaphore name to this file and the launchpad.ini file
;      to prevent autorun from starting a second launchpad if this CD is swapped.
;      You can specify multiple -c options.  
;
;  -s  Sets the specified semaphore so that other programs can check for it.  
;      You can specify multiple -s options.

[autorun]
open=launchpad.exe -c demoDisableAutorun launchpad\launchpad.bat

可以将此文件拷贝到WAS补丁升级程序安装包对应目录重新启动安装程序即可

版权声明:本文为博主原创文章,未经博主允许不得转载。

posted @ 2015-06-08 16:35  小龙在线  阅读(981)  评论(0编辑  收藏  举报