on 04-18-2013 12:11 PM
Hi Basis Gurus,
We have migrated to SAP JVM in production as well as QA.We did the System Copy, but while giving params to sapinst during system copy, the path for jdk was given mistakenly given /usr/java.Now after the system copy, java is not getting up.The bootstrap log says:
Unrecognized option: -Xj9
[Thr 772] *** ERROR => JHVM_LoadJavaVM: Cannot create Java VM (rc=-6) [jhvmxx_mt.c 558]
[Thr 772] *** ERROR => Cannot load Java VM (server) (rc=-1) [jlnchxxi_mt. 752]
[Thr 772] **********************************************************************
*** ERROR => Java VM initialization failed.
*** Please see SAP Note 943602 , section 'Java VM initialization issues'
*** for additional information and trouble shooting.
**********************************************************************
[Thr 772] SigISetIgnoreAction : SIG_IGN for signal 20
[Thr 772] JLaunchCloseProgram: good bye (exitcode = -1)
The java version in Q is currently pointing to IBM .
java -version
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 2.3)
IBM J9 VM (build 2.3, J2RE 1.4.2 IBM J9 2.3 AIX ppc64-64 j9ap64142ifx-20100915 (JIT enabled)
J9VM - 20100914_64612_BHdSMr
JIT - 20090210_1447ifx2_r8
GC - 200902_24)
Please suggest
Hi,
I had to deal with a similar case recently... theres two ways to deal with this.
Basically the issue is that if the services get compiled by the wrong java compiler they won't start.
The easiest way to fix this is to redo your system copy, Having said that your engine has not started so compilation migh not have taken place, so you migh have a chance to change the parameters in profile, VA, configtool, SDM etc and should be fine.
The other way is a bumpier road, If the services have been compiled under the wrong JDJK you'll need to change all your java home in your parameters, VA, configtool, etc, etc.. then you can force the system to recompile the services by removing the contents of server0, even with that some components will require to be redeployed.
You might want to post the error in the logs to see whats the extent of the damage.
Regards, Juan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Juan
Thanks for the insight,
The bootstrap log in Q says this:
[Thr 772] JLaunchIStartFunc: Thread 772 started as Java VM thread.
[Thr 772] *** ERROR => DlLoadLib()==DLENOACCESS - dlopen("libjvm.so") FAILED
"Could not load module .
System error: No such file or directory" (errno=2,No such file or directory) [dlux_mt.c 445]
[Thr 772] *** ERROR => Can't load VM shared library (libjvm.so) (rc=-2) [jhvmxx_mt.c 1588]
[Thr 772] **********************************************************************
*** ERROR => Cannot load the Java VM shared library.
*** Please see SAP Note 943602 , section 'Java VM shared library issues'
*** for additional information and trouble shooting.
**********************************************************************
[Thr 772] *** ERROR => Cannot load DLL for Java VM [jlnchxxi_mt. 717]
[Thr 1] Thu Apr 18 06:24:25 2013
[Thr 1] SigISetIgnoreAction : SIG_IGN for signal 20
[Thr 1] JLaunchCloseProgram: good bye (exitcode = -2)
There are no logs created for server0.Plz suggest
Yes that is the path it is pointing to , in production where we have migrated to SAP JVM ,config tool is pointing to usr/sap/<SID>/<INSTANCE>/exe/sapjvm_4.
We did our system copy giving java path as /usr/java.I am using the instance profile that wa created after system copy, java should be up , but it throws the above mentioned error
[Thr 772] *** ERROR => DlLoadLib()==DLENOACCESS - dlopen("libjvm.so") FAILED
"Could not load module .
System error: No such file or directory" (errno=2,No such file or directory) [dlux_mt.c 445]
Well this basically points that the system is looking into the wrong path. You need to make sure your parameters and settings in configtool, SDM, etc are pointing to the right path
Also you can check some of the recommendations on,
Note 1611326 - Patching the SAP JVM 4.1 manually for NetWeaver 2004 and 7.0
Regards, Juan
Hello Sabya,
Also see the below note :
Note 1522198 How to manually configure an AS Java to use SAP JVM 4.1
You have to check the step 5,6,7,8 & 9 to verify JVM setting are done properly.
Also check the note:
Note:
743583 How to change the JDK of SDM
718901 How to Change the JDK of the J2EE Engine
All these note will help you to resolve the issue.Feedback pls.
Thanks
Haroon Rasheed
AGS
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.