Java 1.6 OAS 10.1.3 opmnctl stopall / deployment- OC4J Exception : server.xml failed.java.lang.NullPointerException (Doc ID 1396191.1)

Last updated on NOVEMBER 28, 2016

Applies to:

Oracle Fusion Middleware - Version 10.1.3.0.0 to 10.1.3.5.1 [Release AS10gR3]
Oracle Containers for J2EE - Version 10.1.3.0.0 to 10.1.3.5.0 [Release AS10gR3]
Information in this document applies to any platform.

Symptoms

Since upgrading the Java SE (JDK/JRE) to a newer version of Java 6, the following exception is seen in the log file when shutting down the application server, via opmnctl stopall :


12/01/16 09:07:01 Stop process
--------
12/01/16 09:07:04 Shutting down...
12/01/16 09:07:27 SEVERE: HttpServer.destroy Destroying http server, file:/path/ias/j2ee/OC4J_SOA/config/server.xml failed.java.lang.NullPointerException
at com.evermind.server.ObjectReferenceCleaner.resetApplicationLogger(ObjectReferenceCleaner.java:260)
at com.evermind.server.ObjectReferenceCleaner.cleanupApplicationLogger(ObjectReferenceCleaner.java:167)
at com.evermind.server.ObjectReferenceCleaner.loaderDestroyed(ObjectReferenceCleaner.java:94)
at oracle.classloader.EventDispatcher.loaderDestroyed(EventDispatcher.java:254)
at oracle.classloader.PolicyClassLoader.close(PolicyClassLoader.java:1187)
at oracle.classloader.PolicyClassLoader.close(PolicyClassLoader.java:1069)
at com.evermind.server.http.HttpApplication.destroy(HttpApplication.java:6042)
at com.evermind.server.http.HttpSite.destroy(HttpSite.java:955)
at com.evermind.server.http.HttpServer.destroy(HttpServer.java:574)
at com.evermind.server.ApplicationServer.destroy(ApplicationServer.java:2112)
at com.evermind.server.ApplicationServerShutdownHandler.run(ApplicationServerShutdownHandler.java:93)
at java.lang.Thread.run(Thread.java:662)

On Windows, you may see the java.exe started, and even with opmn stopall, the java.exe process remains. You must stop the process manually in order to start again.

 

This problem may also occur intermittently during the redeployment/undeployment of  a simple .ear using admin_client.jar .

 

Cause

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