weblogic.nodemanager. common.ConfigException Native version is enabled but node manager native library could not be loaded : NativeVersionEnabled

This post covers issue and fix while starting Node Manager .

Last week I encountered an error while starting Node Manager, error message reported was

weblogic.nodemanager.common.ConfigException: Native version is enabled but node manager native library could not be loaded

Caused by java.lang.UnsatisfiedLinkError no node manager in java.library.path

Quick Fix is to create/update $WL_HOME/common/ nodemanager/ nodemanager.properties (where nodemanager.properties is Node Manager’s properties file created on node manager’s successful start-up) with entry like

NativeVersionEnabled=false

NativeVersionEnabled when set to true (default value) uses native Node Manager Libraries are used for that operating system. As per Node Manager documentation, Native Node Manager Libraries are available only for Windows, Solaris, HP-UX, Linux (on Intel/Z-series), and AIX.

Note: Using native OS libraries improves system performance.

Other option is to define parameter LD_LIBRARY_PATH=$WL_HOME/server/native/<os> (Make sure that all required library files are in this directory)

Share This Post with Your Friends over Social Media!

About the Author Atul Kumar

Oracle ACE, Author, Speaker and Founder of K21 Technologies & K21 Academy : Oracle Gold Partner specialising in Design, Implement, and Trainings.

follow me on:

Leave a Comment:

2 comments
devalapa says February 27, 2012

Can we control the logging of each managed server when we start the instance using nodemanager.

Without Node Manager I used to start something like below from command line

nohup ./bin/startManagedWebLogic.sh my_server1 > /myserver/my_server1.log 2>&1 &

If node manager starts my instance it is writing the log file to /Server//logs/my_server1.log

I want node manager write to custom location for logs , Is this possible

Reply
Atul Kumar says March 2, 2012

@ devalapa,
To change log location in weblogic server , use WebLogic Console

Select managed server for which you wish to change location from weblogic console

Logging –>> General

In Log File Name field, enter a path and filename

Full information at

http://docs.oracle.com/cd/E15051_01/wls/docs103/ConsoleHelp/taskhelp/logging/ChangeDomainLogFileNamesAndLocations.html

Reply
Add Your Reply

[i]
[i]
[i]
[i]
[index]
[index]
[523.251,1046.50]
[523.251,1046.50]
[523.251,1046.50]
[523.251,1046.50]
[index]
[index]
[523.251,1046.50]
[523.251,1046.50]
[523.251,1046.50]
[523.251,1046.50]