zoukankan      html  css  js  c++  java
  • 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-WinAMD64JDKjre.pak epositorypackage.java.jrejavadocs下发现缺少autorun.inf文件

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

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

    另辟蹊径

    {WAS_HOME}AppServerjavadocs目录下也有一个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 launchpadlauchpad.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 launchpadlaunchpad.bat
    

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

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

  • 相关阅读:
    PAT1092:To Buy or Not to Buy
    PAT1027:Colors In Mars
    PAT1099:Build A Binary Search Tree
    PAT1064: Compelte Binary Search Tree
    PAT1008:Elevator
    TP5整合 WorkerMan 以及 GatewayWorker
    ThinkPHP5通过composer安装Workerman安装失败问题
    浏览器控制台
    webpack线上和线下模式
    PHP读取文件夹目录,按时间排序,大小排序,名字排序
  • 原文地址:https://www.cnblogs.com/wenlong/p/4604743.html
Copyright © 2011-2022 走看看