ITPub博客

首页 > Linux操作系统 > Linux操作系统 > ZT:Native Dynamic Library cannot load

ZT:Native Dynamic Library cannot load

原创 Linux操作系统 作者:cargoo 时间:2011-12-15 13:56:50 0 删除 编辑
错误信息:

weblogic.nodemanager.common.ConfigException: Native version is enabled but nodem
anager native library could not be loaded
        at weblogic.nodemanager.server.NMServerConfig.initProcessControl(NMServerConfig.java:269)
        at weblogic.nodemanager.server.NMServerConfig. (NMServerConfig.java:210)
        at weblogic.nodemanager.server.NMServer.init(NMServer.java:183)
        at weblogic.nodemanager.server.NMServer.(NMServer.java:149)
        at weblogic.nodemanager.server.NMServer.main(NMServer.java:373)
        at weblogic.NodeManager.main(NodeManager.java:31)
Caused by: java.lang.UnsatisfiedLinkError: E:\wls1211_dev\wlserver\server\native
\win\64\nodemanager.dll: Can't load IA 64-bit .dll on a AMD 64-bit platform
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1803)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1728)
        at java.lang.Runtime.loadLibrary0(Runtime.java:823)
        at java.lang.System.loadLibrary(System.java:1028)
        at weblogic.nodemanager.util.WindowsProcessControl.(WindowsProcess
Control.java:17)
        at weblogic.nodemanager.util.ProcessControlFactory.getProcessControl(Pro
cessControlFactory.java:24)
        at weblogic.nodemanager.server.NMServerConfig.initProcessControl(NMServe
rConfig.java:267)

在$WL_HOME/wlserver/common/nodemanager目录下创建nodemanager.properties文件,添加内容为:
NativeVersionEnabled=false

或者设置环境变量
LD_LIBRARY_PATH=$WL_HOME/wlserver/server/native/linux/i686

或者在启动命令中添加
-D java.library.path=$WL_HOME/wlserver/server/native/linux/i686

Windows 64位平台
-Djava.library.path=%WL_HOME%\server\native\win\x64

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/5359/viewspace-713371/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
熟悉Oracle、MySQL、PostgreSQL, 熟悉WebLogic

注册时间:2009-02-10

  • 博文量
    105
  • 访问量
    219106