我提前为糟糕的格式道歉——我花在这一点上的时间比我提出问题的时间还多。
我正在尝试在 Windows 8 Server 上安装 Weblogic 12。我按照向导操作,可以启动管理控制台并登录,一切似乎都正常,直到我尝试启动 HTTP 服务器。它失败并出现以下错误:
weblogic.nodemanager.NMException: Received error message from Node Manager Server: [Server start command for OHS server 'ohs_1' failed due to: [Failed to start the server ohs_1 Check log file C:\app\oracle\Middleware\Oracle_Home\user_projects\domains\base_domain\system_components\OHS\ohs_nm.log Check log file C:\app\oracle\Middleware\Oracle_Home\user_projects\domains\base_domain\servers\ohs_1\logs\ohs_1.log]. Please check Node Manager log and/or server 'ohs_1' log for detailed information.]. Please check Node Manager log for details. at weblogic.nodemanager.client.NMServerClient.checkResponse(NMServerClient.java:552) at weblogic.nodemanager.client.NMServerClient.checkResponse(NMServerClient.java:565) at weblogic.nodemanager.client.NMServerClient.start(NMServerClient.java:124) at weblogic.nodemanager.client.DefaultSSLClient.start(DefaultSSLClient.java:14) at weblogic.nodemanager.mbean.StartRequest.start(StartRequest.java:78) at weblogic.nodemanager.mbean.StartRequest.run(StartRequest.java:47) at weblogic.work.ContextWrap.run(ContextWrap.java:40) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:548) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311) at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)
所以这条毫无帮助的信息让我C:\app\oracle\Middleware\Oracle_Home\user_projects\domains\base_domain\system_components\OHS\ohs_nm.log
该日志包含以下内容:
[2014-11-07 14:38:15] [INFO] [OHS-4018] [Starting server ohs_1] [2014-11-07 14:38:15] [INFO] [OHS-0] [Running C:\app\oracle\Middleware\Oracle_Home\ohs\bin\launch.exe C:\app\oracle\Middleware\Oracle_Home\ohs\bin\httpd.exe -f C:\app\oracle\Middleware\Oracle_Home\user_projects\domains\base_domain\config\fmwconfig\components\OHS\instances\ohs_1\httpd.conf] [2014-11-07 14:38:16] [INFO] [OHS-0] [C:\app\oracle\Middleware\Oracle_Home\ohs\bin\launch.exe C:\app\oracle\Middleware\Oracle_Home\ohs\bin\httpd.exe -f C:\app\oracle\Middleware\Oracle_Home\user_projects\domains\base_domain\config\fmwconfig\components\OHS\instances\ohs_1\httpd.conf: exit status = -1072365566] [2014-11-07 14:38:16] [INFO] [OHS-4005] [Check the instance log file for more information: C:\app\oracle\Middleware\Oracle_Home\user_projects\domains\base_domain\servers\ohs_1\logs\ohs_1.log] [2014-11-07 14:38:16] [SEVERE] [OHS-0] [Failed to start the server ohs_1] [2014-11-07 14:42:50] [INFO] [OHS-4018] [Starting server ohs_1] [2014-11-07 14:42:50] [INFO] [OHS-0] [Running C:\app\oracle\Middleware\Oracle_Home\ohs\bin\launch.exe C:\app\oracle\Middleware\Oracle_Home\ohs\bin\httpd.exe -f C:\app\oracle\Middleware\Oracle_Home\user_projects\domains\base_domain\config\fmwconfig\components\OHS\instances\ohs_1\httpd.conf] [2014-11-07 14:42:51] [INFO] [OHS-0] [C:\app\oracle\Middleware\Oracle_Home\ohs\bin\launch.exe C:\app\oracle\Middleware\Oracle_Home\ohs\bin\httpd.exe -f C:\app\oracle\Middleware\Oracle_Home\user_projects\domains\base_domain\config\fmwconfig\components\OHS\instances\ohs_1\httpd.conf: exit status = -1072365566] [2014-11-07 14:42:51] [INFO] [OHS-4005] [Check the instance log file for more information: C:\app\oracle\Middleware\Oracle_Home\user_projects\domains\base_domain\servers\ohs_1\logs\ohs_1.log] [2014-11-07 14:42:51] [SEVERE] [OHS-0] [Failed to start the server ohs_1]
因此,我按照建议检查了实例日志文件,发现它是空的。到目前为止,Oracle 支持人员没有提供任何帮助。任何建议都将不胜感激。
答案1
该退出状态(十六进制,0xc0150002)通常意味着您缺少 EXE 依赖项。
我会扔依赖性遍历器httpd.exe
看看是否launch.exe
缺少任何依赖的 DLL。我觉得 Visual C++ 运行时库可能是罪魁祸首,但这只是猜测。