Weblogic 8.1.x on Linux 64


2010-04-15 17:57

Recently I ran into a problem while trying to run Weblogic 8.1.3 on my Ubuntu 9.04 64bit machine... The server startup failed with the following stacktrace:

The WebLogic Server did not start up properly.

java.lang.UnsatisfiedLinkError: no weblogicunix1 in java.library.path

        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491)

        at java.lang.Runtime.loadLibrary0(Runtime.java:788)

        at java.lang.System.loadLibrary(System.java:834)

        at weblogic.platform.Unix.(Unix.java:14)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

        at java.lang.reflect.Constructor.newInstance(Constructor.java:274)

        at java.lang.Class.newInstance0(Class.java:308)

        at java.lang.Class.newInstance(Class.java:261)

        at weblogic.platform.OperatingSystem.getOS(OperatingSystem.java:116)

        at weblogic.t3.srvr.SetUIDManager.init(SetUIDManager.java:51)

        at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:777)

        at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:670)

        at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:344)

        at weblogic.Server.main(Server.java:32)

Reason: no weblogicunix1 in java.library.path

It turns out that the libraries for the ia64 arch that comes bundled with the WL JRE cause the server to fail, so you must manually set the LD_LIBRARY_PATHvariable. Just run the command below before starting the server:

export LD_LIBRARY_PATH="${BEA_HOME}/weblogic81/server/lib/linux/i686/"

Note that the ${BEA_HOME} variable must point to your Weblogic installation folder.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值