When setting listen address Containing underline / underscore, it throws "java.lang.NullPointerException" (Doc ID 870745.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Weblogic Server - Version: 10.3 and later   [Release: and later ]
Information in this document applies to any platform.

Symptoms

After modifying the listen address in config.xml, and set it to hostname which including "_" / underline / underscore, like "<listen-address>abc_de</listen-address>", server can not start up, it throws following error:

####<Info> <Socket> <OSRFD1> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <1249438014080> <BEA-000446> <Native IO Enabled.>
####<Info> <IIOP> <OSRFD1> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <1249438014314> <BEA-002014> <IIOP subsystem enabled.>
####<Critical> <WebLogicServer> <OSRFD1> <AdminServer> <Main Thread> <> <> <> <1249438014454> <BEA-000386> <Server subsystem failed. Reason: java.lang.NullPointerException
java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:396)
at java.util.Properties.setProperty(Properties.java:143)
at weblogic.ldap.EmbeddedLDAP.initServerConfig(EmbeddedLDAP.java:1076)
at weblogic.ldap.EmbeddedLDAP.start(EmbeddedLDAP.java:231)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
>
####<Notice> <WebLogicServer> <OSRFD1> <AdminServer> <Main Thread> <> <> <> <1249438014501> <BEA-000365> <Server state changed to FAILED>
####<Error> <WebLogicServer> <OSRFD1> <AdminServer> <Main Thread> <> <> <> <1249438014501> <BEA-000383> <A critical service failed. The server will shut itself down>
####<Notice> <WebLogicServer> <OSRFD1> <AdminServer> <Main Thread> <> <> <> <1249438014501> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
####<Info> <WebLogicServer> <OSRFD1> <AdminServer> <Main Thread> <> <> <> <1249438014516> <BEA-000236> <Stopping execute threads.>

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