cancel
Showing results for 
Search instead for 
Did you mean: 

"main" java.lang.NoClassDefFoundError

former_member182034
Active Contributor
0 Kudos

Dear All,

I am getting issue during installation of ECC 6 on RHEL 5.

WARNING 2012-06-02 11:40:41

Execution of the command "/usr/java/jdk1.5.0_18/bin/java -classpath migmon.jar -showversion com.sap.inst.migmon.imp.ImportMonitor -dbType ORA -importDirs /tmp/PRD/D51032272_1/EXP1:/tmp/PRD/D51032272_1/EXP2:/tmp/PRD/D51032272_1/EXP3:/tmp/PRD/D51032272_1/EXP4:/tmp/PRD/D51032272_1/EXP5:/tmp/PRD/D51032272_1/EXP6:/tmp/PRD/D51032272_2/EXP7:/tmp/PRD/D51032272_2/EXP8:/tmp/PRD/D51032272_2/EXP9:/tmp/PRD/D51032272_2/EXP10:/tmp/PRD/D51032272_2/EXP11 -installDir /tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS -orderBy "" -r3loadExe /usr/sap/LNX/SYS/exe/run/R3load -tskFiles yes -extFiles yes -dbCodepage 4103 -jobNum 2 -monitorTimeout 30 -loadArgs " -stop_on_error" -trace all -sapinst" finished with return code 1. Output: java version "1.5.0_18"Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_18-b02)Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_18-b02, mixed mode)

ERROR 2012-06-02 11:40:41

CJS-30022  Program 'Migration Monitor' exits with error code 1. For details see log file(s) import_monitor.java.log,

import_monitor.log.

whiel Import_monitor.log is:

java version "1.5.0_18"

Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_18-b02)

Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_18-b02, mixed mode)

Exception in thread "main" java.lang.NoClassDefFoundError: com/sap/inst/migmon/imp/ImportMonitor

For More Information:

[root@saplinux ~]# uname -a

Linux saplinux 2.6.18-53.el5xen #1 SMP Wed Oct 10 16:48:44 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux

[root@localhost JAVA]# rpm -ivh jdk-1_5_0_18-linux-amd64.rpm

[root@saplinux IM_LINUX_X86_64]# rpm -qa |grep jdk

jdk-1.5.0_18-fcs

how can I rectify this Exception? and please tell me if you need more information..

help will be appreciated...

Regards

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

since you are using rhel then it is advised to get it(IBM JDK) from RHN

former_member182034
Active Contributor
0 Kudos

Dear all,

thanks for your support,

i was doing it on testing system now installation have been successfully completed while problem was:

I was trying to paste the media(30+ GB) in tmp folder while default size of tmp folder was not enough to save it.

Regards,

Answers (3)

Answers (3)

Former Member
0 Kudos

ma jamil wrote:

For More Information:

[root@localhost JAVA]# rpm -ivh jdk-1_5_0_18-linux-amd64.rpm

[root@saplinux IM_LINUX_X86_64]# rpm -qa |grep jdk

jdk-1.5.0_18-fcs

Please consider that you are currently using an unsupported JDK. Please consult SAP note 1172419 - Linux: Supported Java versions on the x86_64 platform as you still need an IBM 1.4 JDK for a NetWeaver 7.0 EhP 2 based system.

Best Regards,

Alexander.

former_member189797
Active Contributor
0 Kudos

Hello,

First please ensure that <sid>adm have enough permissions on all

directories below '/tmp/sapinst_instdir' and on the file 'migmon.jar' in

the install-directory. the best option is make sure that everything is

set to 777 here.

If this does not help , kindly make sure you are using the right version of JDK for your system.

Also make surethat MIGMON.SAR file is not corrupted.

Let us know if this helps.

Regards,

Gaurav

isaias_freitas
Advisor
Advisor
0 Kudos

Hello!

The "migmon.jar" file at the installation folder could be corrupted.

You can try to copy the MIGMON.SAR from the DVD to the installation folder and uncompress it.

If this doesn't help, you can try to update the MIGMON by downloading the latest version from the SAP Marketplace (details at the SAP Note 784118).

You can also check the SAP Note 709140, to confirm that your JDK is correct for your system.

I hope this helps.

Best regards,

Isaias

former_member182034
Active Contributor
0 Kudos

hi Isaias & Gaurave,

thanks for your reply. Dear, I was getting this issue due to SAP Media

Actually, I have copied the data from external drive to Linux server/tmp folder and I check/compare the the size of SAP media which were same but after system restart, size of SAP media is showing less. I don't understand why I was getting this issue while 3 time i have copied media from external drive to linux server.

now I copied SAP Media on linux/root directory and the installation which is running fine.

please tell me about data copy in tmp . why i m facing this issue.

Regards,