I want to use JProfiler to profile Websphere v6.0(Java 1.4.2) in a remote server linux(Red Hat Enterprise Linux Server release 5.3 kernel release 2.6.18-238.1.1.el5) but after following the documentation, when I start Websphere, I got the following error:
JVMCI158: Can't load "libjprofiler.so", because libjprofiler.so: cannot open shared object file: No such file or directory JVMCI098: xmloadJVMHelperLib jprofiler , failed Could not create the Java virtual machine.
What I did:
(1) I add on Application servers > lxvwrap1s1 > Process Definition > Java Virtual Machine > Generic JVM arguments: -Djava.compiler=none -Xrunjprofiler:port=8849 -Xbootclasspath/a:/opt/jprofiler7/bin/agent.jar
(2) I created the environment variable LD_LIBRARY_PATH: export LD_LIBRARY_PATH=/opt/jprofiler7/bin/linux-x86
I'm forgetting something or doing something wrong?