WebObjects: UnsatisfiedLinkError Exception When Clicking Link in Solaris

Clicking a link causes a WebObjects UnsatisfiedLinkError exception when Solaris cannot find the native_threads library.

Symptom

After opening a WebObjects application on Solaris, clicking a link causes these messages to appear:



Solution

The messages appear because WebObjects cannot find the Solaris native_threads library.

Set the LD_LIBRARY_PATH to include a link to the native_threads library. It is usually in this location:

${NEXT_ROOT}/Library/Executables:${NEXT_ROOT}/Library/JDK/lib/sparc/native_threads

You can set the LD_LIBRARY_PATH with this command:

setenv LD_LIBRARY_PATH ${NEXT_ROOT}/Library/Executables:${NEXT_ROOT}/Library/JDK/lib/sparc/native_threads

Published Date: Feb 18, 2012