Consultor Eletrônico



Kbase 21637: could not open libjutil.so shared library errors Starting Admin Server on OpenUNIX 8 in 9.1C
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   12/18/2006
Status: Unverified

FACT(s) (Environment):

Caldera Open UNIX 8
Progress 9.1C

SYMPTOM(s):

java.lang errors when starting AdminServer

Exception at :java.lang.UnsatisfiedLinkError

Message (excp): $DLC/bin/jni_util.dll: dynamic linker : /usr/java/bin/./../bin/x86at/green_threads/java : could not open libjutil.so

Stack Trace:
java.lang.UnsatisfiedLinkError: $DLC/bin/jni_util.dll:
dynamic linker : /usr/java/bin/./../bin/x86at/green_threads/java :
could not open libjutil.so

WARNING: not setting shared library include path

CAUSE:

Bug 20020102-001

CAUSE:

Progress scripts do not check OS to be OpenUNIX 8.  

proadsv script calls scripts slib_env and java_env.  The slib_env and java_env check for different OS and set different environment variables for shared libraries and java depending on values returned from "uname -a".

In Progress 9.1C, though OpenUNIX 8 is supported, the return value for this OS is not checked, thus the environment variables for shared libraries and Java are not set for this Operating System.

FIX:

Upgrade to 9.1D or later

To workaround the problem manually modify the slib_env and java_env and check for return value for OpenUNIX 8 Operating System. The entry can be obtained from the UnixWare entry in both scripts and then modify and inserted.

Examples of entries:
Modify the $DLC/bin/slib_env file to include the following:
"OpenUNIX") #Open UNIX 8
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$DLC/lib
export LD_LIBRARY_PATH
;;

Modify the java_env file to include the following:
"OpenUNIX")  # Open UNIX 8
THREADS_FLAG=native
JIT=""
JVMARGS="-ms8m"
JDKHOME=/opt/jdk-1.2.2
JREHOME=$JDKHOME
JDKCP=$JDKHOME/lib/tools.jar
JRECP=
VMTYPE=classic
ARCH=x86at
LD_LIBRARY_PATH=$JREHOME/lib/$ARCH/${THREADS_FLAG}_threads:$JREHOME/lib/$ARCH/$VMTYPE:$JREHOME/lib/$ARCH:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
;;