java.lang.NullPointerException during CopyConfig Error With moduleconf/*.conf OHS Configuration

(Doc ID 1528289.1)

Last updated on DECEMBER 02, 2016

Applies to:

Oracle Fusion Middleware - Version and later
Oracle HTTP Server - Version and later
Information in this document applies to any platform.
Oracle Fusion Middleware and higher - primarily Web Tier installation type

May also occur with any installation where Oracle HTTP Server exists, including 11.1.2.x releases


CopyConfig command is failing.

Command used : $MW_HOME\oracle_common\bin\copyConfig.cmd -javaHome <JDK_HOME>
-archiveLoc <PATH_TMP>\OHS1.jar
-sourceInstanceHomeLoc <INSTANCE_HOME>
-sourceComponentName ohs1 -logDirLoc <PATH_TMP>\log

Next exception appears in the command prompt from where the command has been launched :





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 hundreds of Community platforms