Skip to Content

"main" java.lang.NoClassDefFoundError

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    Posted on Jun 07, 2012 at 10:34 AM

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

    Add a comment
    10|10000 characters needed characters exceeded

    • 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,

  • Posted on Jun 02, 2012 at 04:10 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • 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,

  • Posted on Jun 02, 2012 at 07:54 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 04, 2012 at 10:32 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.