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.

你可能感兴趣的:(weblogic)