Monday, February 9, 2015

WebLogic - Native library for the Node Manager

After the WebLogic domain configuration is complete, while starting the Node Manager, you might encounter an error as reported below:

WARNING: NodeManager native library could not be loaded to write process id
java.lang.UnsatisfiedLinkError: no nodemanager in java.library.path
    at java.lang.ClassLoader.loadLibrary(
    at java.lang.Runtime.loadLibrary0(
    at java.lang.System.loadLibrary(
    at weblogic.nodemanager.util.UnixProcessControl.<init>(
    at weblogic.nodemanager.util.ProcessControlFactory.getProcessControl(
    at weblogic.nodemanager.server.NMServer.writeProcessId(
    at weblogic.nodemanager.server.NMServer.writePidFile(
    at weblogic.nodemanager.server.NMServer.<init>(
    at weblogic.nodemanager.server.NMServer.main(
    at weblogic.NodeManager.main(

<Feb 9, 2015 10:19:50 AM CST> <SEVERE> <Fatal error in NodeManager server: Native version is enabled but NodeManager native library could not be loaded>

This is because by default, Oracle enables native libraries for the operating system to be used by the Node Manager, even when the native version is actually not provided for the specific operating system. Here's the statement from the Oracle documentation Administering Node Manager for Oracle WebLogic Server:

Oracle provides native Node Manager libraries for Windows, Solaris, Linux on Intel, Linux on Z-Series, and AIX operating systems.

To fix this error in an unsupported operating system (like Mac OS, in my case), you can simply disable the native version support by updating the configuration setting in the file. The file only gets created until the Node Manager has started up once. It's typically in the $DOMAIN_HOME/nodemanager directory. In the file, find the the following setting:


Update it to be as follow:


Now, you can start the Node Manager:

nohup ./ > nm.out&

Check out the log file, the warning about the NodeManager native library could not be loaded is still there, but the Node Manager should start up successfully after printing out the current configuration settings.



  1. Disable node manager native library will cause node manager not manage managed server properly as managed server are not reachable. Any idea??