My Oracle Support Banner

OHS HTTP Server (スタンドアローン) を起動する時、'Unexpected exception from Plugin: java.lang.NullPointerException' エラーで失敗する (Doc ID 1635348.1)

Last updated on FEBRUARY 19, 2019

適用範囲:

Oracle HTTP Server - バージョン 12.1.2.0.0 以降
Microsoft Windows x64 (64-bit)

現象

domain_dir/bin/installNodeMgrSvc.cmd を使用し、サービスとしてNodeManagerを登録します。

上記サービスから起動した後、"<DOMAIN_HOME>\bin\startcomponent.cmd ohs1" を使用し、OHSを

起動しようとしている時、以下のエラーが発生します:

<DOMAIN_HOME>\bin>startComponent.cmd ohs1
Starting System Component ohs1 ...

Initializing WebLogic Scripting Tool (WLST) ...

Welcome to WebLogic Server Administration Scripting Shell

Type help() for help on available commands

Reading domain from <DOMAIN_HOME>

Please enter your password :<PASSWORD>
Connecting to Node Manager ...
Successfully Connected to Node Manager.
Starting server ohs1 ...
Error Starting server ohs1: weblogic.nodemanager.NMException: Received error message from Node Manager Server: [Server start command for OHS server 'ohs1' failed due to: 
Unexpected exception from Plugin: java.lang.NullPointerException. 
Please check Node Manager log and/or server 'ohs1' log for detailed information.]. 
Please check Node Manager log for details.
Successfully disconnected from Node Manager.

Exiting WebLogic Scripting Tool.

Done

<DOMAIN_HOME>\bin>

 

<DOMAIN_HOME>\nodemanager\nodemanager.logにこのエラーが出力されます:

<Nov 5, 2013 2:05:07 PM EST> <SEVERE> <Plugin threw out unexpected exception java.lang.NullPointerException from method oracle.ohs.plugin.nodemanager.OhsProcessManagementPlugin$ProcessImpl.start(Properties props). This is very likely a BUG in plugin implementation and may lead to unexpected behavior. The legal exception allowed from this method is java.io.IOException. The unexpected exception is: java.lang.NullPointerException>
java.lang.NullPointerException
at java.lang.StringBuilder.<init>(StringBuilder.java:109)
at oracle.ohs.plugin.nodemanager.OhsProcessManagementPlugin$ProcessImpl.buildIoException(OhsProcessManagementPlugin.java:614)
at oracle.ohs.plugin.nodemanager.OhsProcessManagementPlugin$ProcessImpl.start(OhsProcessManagementPlugin.java:296)
at weblogic.nodemanager.server.DecoratedSystemComponentManager$DecoratedProcess.start(DecoratedSystemComponentManager.java:129)
at weblogic.nodemanager.server.ServerMonitor.startProcess(ServerMonitor.java:400)
at weblogic.nodemanager.server.ServerMonitor.start(ServerMonitor.java:82)
at weblogic.nodemanager.server.ServerManager.startServer(ServerManager.java:230)
at weblogic.nodemanager.server.ServerManager.start(ServerManager.java:211)
at weblogic.nodemanager.server.Handler.handleStart(Handler.java:645)
at weblogic.nodemanager.server.Handler.handleCommand(Handler.java:149)
at weblogic.nodemanager.server.Handler.run(Handler.java:81)
at java.lang.Thread.run(Thread.java:722)
<Nov 5, 2013 2:05:07 PM EST> <WARNING> <Server start command for OHS server 'ohs1' failed due to: Unexpected exception from Plugin: java.lang.NullPointerException. Please check Node Manager log and/or server 'ohs1' log for detailed information.>


<DOMAIN_HOME>\system_components\OHS\save\ohs_nm.log には以下の内容が出力されます:

<2013-11-05 13:55:43> <INFO> <OHS-0> <Domain initialized for <DOMAIN_HOME>>
<2013-11-05 13:58:50> <INFO> <OHS-4018> <Starting server ohs1>
<2013-11-05 13:58:50> <SEVERE> <OHS-0> <null>
<2013-11-05 14:05:07> <INFO> <OHS-4018> <Starting server ohs1>
<2013-11-05 14:05:07> <SEVERE> <OHS-0> <null>

 

変更点

 

原因

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


本書の内容
現象
変更点
原因
解決策
参照情報

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.