problem in loading jbossInspector
nayyares May 21, 2008 7:44 AMHi,
I am using AS-4.0.4 on Solaris 10, i followed the instuctions at http://wiki.jboss.org/wiki/SolAris, everything went fine, now when i try to start/boot JBoss server i get following error:
$sh start.sh
LD_LIBRARY_PATH = /export/home/user/jboss-profiler-1.0.CR4/jvmpi-src/solaris/bin:/usr/local/lib:/usr/local/lib/sparcv9
Sending output to nohup.out
JAVA: /usr/java/bin/java
JAVA_OPTS: -server -Xmanagement:ssl=false,authenticate=false,port=7091 -d64 -Xms1360m -Xmx1360m -Xss256k -XrunjbossInspector:/export/home/user/jboss-profiler-1.0.CR4/ -Djboss.partition.name=SistafeCluster -Djboss.partition.udpGroup=224.0.0.100-Djboss.bind.address=srv018-app-fe -Djboss.fe.bind.address=srv018-app-fe -Djboss.be.bind.address=srv018-app-be -Djboss.sync.bind.address=127.0.0.1 -Dutrafe.home=/opt/utrafe -Djava.awt.headless=true -Dresolve.dns=false-Djava.rmi.server.hostname=srv018-app-fe -Dprogram.name=run.sh
CLASSPATH: /opt/jboss/bin/run.jar:/usr/java/lib/tools.jar
=========================================================================
[ERROR][load ] Could not load library jbossInspector
[ERROR][load ] Could not load library jbossInspector
here the ldd output,
$ldd -v libjbossInspector.so
find object=libstdc++.so.6; required by ./libjbossInspector.so
libstdc++.so.6 => /usr/local/lib/libstdc++.so.6
find object=libm.so.2; required by ./libjbossInspector.so
libm.so.2 => /lib/libm.so.2
find object=libgcc_s.so.1; required by ./libjbossInspector.so
libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1
find version=libgcc_s.so.1
libgcc_s.so.1 (GCC_3.0) => /usr/local/lib/libgcc_s.so.1
find object=libc.so.1; required by ./libjbossInspector.so
libc.so.1 => /lib/libc.so.1
find version=libc.so.1
libc.so.1 (SUNW_1.1) => /lib/libc.so.1
find object=libm.so.2; required by /usr/local/lib/libstdc++.so.6
find object=libgcc_s.so.1; required by /usr/local/lib/libstdc++.so.6
find version=libgcc_s.so.1
libgcc_s.so.1 (GCC_3.3) => /usr/local/lib/libgcc_s.so.1
find object=libc.so.1; required by /usr/local/lib/libstdc++.so.6
find version=libc.so.1
libc.so.1 (SUNW_1.22) => /lib/libc.so.1
libc.so.1 (SUNWprivate_1.1) => /lib/libc.so.1
find object=libc.so.1; required by /lib/libm.so.2
find version=libc.so.1
libc.so.1 (SUNW_0.7) => /lib/libc.so.1
libc.so.1 (SUNWprivate_1.1) => /lib/libc.so.1
find object=libc.so.1; required by /usr/local/lib/libgcc_s.so.1
find version=libc.so.1
libc.so.1 (SUNW_1.1) => /lib/libc.so.1
object=/lib/libc.so.1; filter for /usr/lib/ld.so.1
object=/lib/libc.so.1; filter for libm.so.2
find object=libm.so.2; required by /lib/libc.so.1
object=/lib/libc.so.1; filter for /platform/$PLATFORM/lib/libc_psr.so.1
find object=/platform/SUNW,Sun-Fire-V240/lib/libc_psr.so.1; required by /lib/libc.so.1
/platform/SUNW,Sun-Fire-V240/lib/libc_psr.so.1
I have defined JAVA_OPTS & LD_LIBRARY_PATH in start up script as:
#Jboss Profiler
JAVA_OPTS="$JAVA_OPTS -XrunjbossInspector:/export/home/user/jboss-profiler-1.0.CR4/"
LD_LIBRARY_PATH="/export/home/user/jboss-profiler-1.0.CR4/jvmpi-src/solaris/bin:/usr/local/lib:/usr/local/lib/sparcv9"
export LD_LIBRARY_PATH
even when i try with
$java -XrunjbossInspector:/tmp Foo
[ERROR][load ] Could not load library jbossInspector
[ERROR][load ] Could not load library jbossInspector
Exception in thread "Main Thread" java.lang.NoClassDefFoundError: Foo
TIA