内容简介
解决IBM 7.5 在win10下安装出错,WAS 7.0 启动权限问题
IBM 7.5 在win10下安装出错
今天在安装 IBM 7.5 时,发现在 windows 10 环境下安装程序无法正常启动。
在被这个问题按在地上摩擦了几个小时后,终于发现其实主要是因为在运行安装程序时,要对系统进行一系列的检查,而在 windows 10 环境下,安装软件获取不到系统类型或获取到的类型无法识别。
知道了问题的具体原因后发现其实解决办法很简单,首先进入 /RAD7.5.4_Setup/RAD_SETUP/launchpad/ 目录,找到一个名字为 getOS.bat 的批处理文件,用记事本打开,找到下面几行代码:
REM If we see 2000, this also makes the decision easy
IF {%2} == {2000} (
SET LaunchPadOS=Windows_2000
)
将其替换为
REM If we see 2000, this also makes the decision easy
IF {%2} == {2000} (
SET LaunchPadOS=Windows_2000
)ELSE {
SET LaunchPadOS=Windows_Vista
}
保存并重新启动
至此问题解决。
WAS 7.0 启动问题
发现安装在win10上启动Websphere时出现启动不了的异常
异常描述
Caused by: com.ibm.websphere.management.exception.AdminException: ADMU7707E: Failed while trying to determine the Windows Service name for server: server1;
probable error executing WASService.exe: com.ibm.websphere.management.exception.AdminException: ADMU7709E: Unexpected exception while processing server: server1; exception =
java.io.IOException: Cannot run program "D:\base_v7\bin\WASService.exe": CreateProcess error=740, ???ó???×÷?è??á????
at com.ibm.ws.management.tools.WindowsService.getWindowsServiceNameForServer(WindowsService.java:221)
at com.ibm.ws.management.tools.WindowsService.<init>(WindowsService.java:154)
at com.ibm.ws.management.tools.WindowsService.getWindowsServiceInstance(WindowsService.java:139)
at com.ibm.ws.management.tools.WsServerController.getWindowsServiceIfAvailable(WsServerController.java:161)
at com.ibm.ws.management.tools.WsServerLauncher.getWindowsServiceIfAvailable(WsServerLauncher.java:157)
at com.ibm.ws.management.tools.WsServerController.executeUtilityOnWindows(WsServerController.java:129)
at com.ibm.ws.management.tools.WsServerLauncher.main(WsServerLauncher.java:138)
... 5 more
经过查找发现是由于用户权限不够,导致无法启动。
解决方案
以管理员身份运行程序。
问题解决。