http://docs.oracle.com/middleware/1213/wls/nodem/java_nodemgr.htm#nodem178
oracle官方文件声明(mac os x上的weblogic 12cr2):
NativeVersionEnabled
A value of true causes native libraries for the operating system to be used.
For UNIX systems other than Solaris or Linux, set this property to false to run Node Manager in non-native mode. This will cause Node Manager to use the start script specified by the weblogic.StartScriptEnabled property to start Managed Servers.
Note that when NativeVersionEnabled=false:
Node Manager cannot query if a PID is alive nor kill a particular process
Node Manager does not have the ability to determine if there are existing processes that need to be monitored and crash recovery is not fully implemented
nmKill is not supported when NativeVersionEnabled=false and weblogic.StartScriptEnabled=true
如果我将此值设置为false,则可以启动节点管理器并使其工作,但当在mac os x上运行weblogic 12cr2时,由于节点管理器无法正确管理托管服务器,这将导致严重的问题。
有什么解决办法吗?
1条答案
按热度按时间6ojccjat1#
oracle为windows、solaris、intel上的linux、z系列上的linux和aix操作系统提供本机节点管理器库。
唯一的解决方法是不使用nativeversion,并确保weblogic.startscriptenabled设置为true,以便它将使用脚本来启动服务器。