on 10-27-2005 12:34 PM
Dear all,
we are installing SAP Web AS 6.40 Java on SUSE Linux 9.2 on a AMD64 (x86_64) platform. The installation stops at the phase where the J2EE engine is started. In the /usr/sap/<SID>/<INSTANCE>/work directory the bootstraop logs indicate an error starting the JVM.
We are using the IBM JDK 1.4.2.
Before providing all the details, does anyone of you have experience with linux on x86_64
Cheers
Marcel Rabe
Ok,
problem solved. In case somenody else runs into the same problem, here's what we did.
We set the following environment variables:
JAVA_LINK=IBMJava2-amd64-142
JAVA_BINDIR=/opt/IBMJava2-amd64-142/bin
JAVA_HOME=/opt/IBMJava2-amd64-142
JAVA_ROOT=/opt/IBMJava2-amd64-142
JRE_HOME=/opt/IBMJava2-amd64-142/jre
The following environment variable is CRUCIAL!
LD_LIBRARY_PATH=/opt/IBMJava2-amd64-142/jre/bin/j9vm:/opt/IBMJava2-amd64-142/jre/bin:/usr/sap/<SID>/SYS/exe/run:/oracle/<SID>/920_64/lib
so put the ../9jvm directory first. It didn't work because we had created a symblic link to libjvm.so in that folder (see ) but this actually caused the problem. So we did not do that in the end.
After this, everything worked fine.
Cheers
Marcel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Marcel,
good job.
Thank you very much for the solution.
I had similar problems in starting the EP7.0.
The installation went fine (funny isn't it?)
In the file /usr/sap/<SID>/DVEBMGS<SYSNO>/work/std_bootstrap.out
there was the message:
libjvm.so preloadLibrary: /opt/IBMJava2-amd64-142/jre/libj9vm22.so: cannot open shared object file: No such file or directory
libjvm.so failed to load: j9vm22
I set the environment variables you mentioned and deleted the link (which I created also) and it worked!!!
Regards,
Michael
Hi,
While installing solution manager 4 (SLES x86_64) I also run into the problem "ibjvm.so preloadLibrary: /opt/IBMJava2-amd64-142/jre/bin/j9vm/libj9vm22.so: cannot open shared object file: No such file or directory" during the phase "Create Java users"
I've taken your advice (Chris B) and the installation carries on with out a problem. (and the java instance has started)
When I stop and start sap, I then cannot get the Java instance to start again!
The error in the "std_bootstrap.out" has the message; "libjvm.so preloadLibrary: /opt/IBMJava2-amd64-142/jre/libj9vm22.so: cannot open shared object file: No such file or directory
libjvm.so failed to load: j9vm22"
I have set all the environmental variables including the LD_LIBRARY_PATH and JAVA_HOME
I was wondering if you had the same problem, else if anyone else could please please help.
Thanks,
Chris G
Message was edited by: Chris Geladaris
Please be aware, that moving/copying/linking the missing libraries is only a temporary solution in this case - if at all.
SAP note <a href="https://service.sap.com/sap/support/notes/1066142">#1066142 - Linux: libj9vm22.so: cannot open shared object file</a> describes the root cause.
Regards,
Alexander.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.