cancel
Showing results for 
Search instead for 
Did you mean: 

System copy - MUT-02041 SDM call of createsdmkitjar ends with returncode 2

Former Member
0 Kudos

Hello,

I'm trying to export the java add-in nw2004 but i get this MUT-02041 error en cannot continue.

Any ideas?

Thanks

Accepted Solutions (0)

Answers (9)

Answers (9)

Former Member
0 Kudos

16...SAPKB64016

greets

Former Member
0 Kudos

Hi

H

we r getting the below error during export..could you please guide us

/usr/java14_64/bin/java -Xmx1024M -jar /usr/sap/BIP/DVEBMGS03/SDM/program/bin/SDM.jar createsdmkitjar tofile=/usr/sap/trans/bip_sys_copy/JAVA/SDM/SDMKIT.JAR sdmhome=/usr/sap/BIP/DVEBMGS03/SDM/program logfile=/usr/sap/put/BIP/callSdmViaSapinst.log logtoconsole=true

Info:

Info: =====================================================

Info: = Starting to execute command 'createsdmkitjar' =

Info: =====================================================

Info: Starting SDM - Software Deployment Manager...

Starting SDM - Software Deployment Manager...

Info: tc/SL/SDM/SDM/sap.com/SAP AG/7.0012.20070328121310.0000

tc/SL/SDM/SDM/sap.com/SAP AG/7.0012.20070328121310.0000

Info: SDM operation mode successfully set to: Standalone

Initializing Network Manager (50317)

Info: Initializing Network Manager (50317)

Checking if another SDM is running on port 50318

Info: Checking if another SDM is running on port 50318

Info: No filename specified for excluded components.

Info: Resulting JAR file: /usr/sap/trans/bip_sys_copy/JAVA/SDM/SDMKIT.JAR

Info: No temporal directory for packing is provided. SDM home directory will be used.

Info: Pack directory exists already. Remove it first.

Warning: Warning during command execution: No archive file exists for development component 'ants'/'sap.com'/'LOKAL'/'0.2007.11.08.19.35.05'/'0'. Cannot pack this archive.

Missing archives may lead to errors after the packed SDM installation has been extracted later.

Info: This SDM installation has been packed to /usr/sap/trans/bip_sys_copy/JAVA/SDM/SDMKIT.JAR

To unpack this installation again, extract /usr/sap/trans/bip_sys_copy/JAVA/SDM/SDMKIT.JAR and invoke the SDM command install with parameter extractpackedinst=true

Executed, but finished with warning(s). Return code: 2

Error: Executed, but finished with warning(s). Return code: 2

Former Member
0 Kudos

Hi,

NW 7.0 SP15: The problem is related with file created at D:\usr\sap\SID\JC01\SDM\program\pack\.

During the generation, if this file getting a sizer bigger than 4 GB the error will occurs.

Workaround:

Pick up any big package of your environment and deploy it again. In my case I deployed ADSSAP. This package is big enough.

After deployed it by SDM you can restart the export again.

Regards

Former Member
0 Kudos

Well, I downloaded my installation zip from

SAP Installations and Upgrades - Entry by Application Group - SAP NetWeaver - SAP NetWeaver - SAP NETWEAVER 04 - Installation and Upgrade - Windows Server - MS SQL SERVER - Installation Master 6.20/6.40 Windows Server on IA32 32bit

Choose your own NW version, Operating system, and db.

Make sure to select the Installation Master.

Hope it helps.

Former Member
0 Kudos

You can find the Exclude.xml find in your installation cd

u2026SAPINST\COMMON\INSTALL\JMIG\EXCLUDE.XML

You can even copy it to anywhere you want to modify it.

But do not forget to modify the control.xml file.

u2026SAPINST\NT\I386\PATCOL640\WEBAS630\MSS\control.xml

//var exclude = installer.getCD("SAPINST") + "/COMMON/INSTALL/JMIG/EXCLUDE.XML";

var exclude = "c:/EXCLUDE.XML";

var ret = Sdm.createsdmkitjar(["excludedcomplist=" + exclude, "tofile=" + context.get("ExportDir") + "/SDMKIT.JAR"]);]]></script>

Greets

0 Kudos

Dear

Thanks for reply

But i am unable to find EXCLUDE.XML file in my installation master CD.

So please give suggetion.

Ramesh

Former Member
0 Kudos

I got it!!

the exlude file should be like:

<DevelopmentComponentLine name="tc/webadministrator/abapsyssetup" vendor="sap.com" />

Thanks u all for ur help!

Former Member
0 Kudos

Iu2019m trying using the cmd line interfase.

Getting the following error:

Starting SDM - Software Deployment Manager...

Exception in thread "main" com.sap.sdm.util.classloaders.SDMClassLoaderError: In

ternal error in class loading system.

Additional error message is:

com.sap.sdm.util.classloaders.SDMClassLoaderException: Cannot create class loader

for component com.sap.sdm.util.slutil.SL_UTIL.

Additional error message is:

com.sap.sdm.util.classloaders.SDMClassLoaderException: Cannot create class loader

instance: Jar file #1 cannot be read: C:.libutilxmlsapxmltoolkit.jar

at com.sap.sdm.is.classloaders.impl.ClassLoaderManagerImpl.pushContextCl

assLoader(ClassLoaderManagerImpl.java:129)

at com.sap.sdm.util.slutil.ComponentElementXMLizerFactory.createComponen

tXMLizerElement(ComponentElementXMLizerFactory.java:49)

at com.sap.sdm.util.sduread.impl.ComponentElementDeXMLizer.getComponentF

romXMLString(ComponentElementDeXMLizer.java:35)

at com.sap.sdm.util.sduread.impl.SdaFileImpl.<init>(SdaFileImpl.java:45)

at com.sap.sdm.util.sduread.impl.SduReaderImpl.readFile(SduReaderImpl.ja

va:39)

at com.sap.sdm.util.sduread.impl.SduReaderImpl.readFile(SduReaderImpl.ja

va:17)

at com.sap.sdm.control.SDMVersion.getMyDC(SDMVersion.java:49)

at com.sap.sdm.control.SDMVersion.<init>(SDMVersion.java:33)

at com.sap.sdm.control.SDMMain.initializeSdmRepository(SDMMain.java:93)

at com.sap.sdm.control.SDMMain.initializeSDM(SDMMain.java:65)

at com.sap.sdm.control.command.decorator.SDMInitializer.execute(SDMIniti

alizer.java:44)

at com.sap.sdm.control.command.decorator.GlobalParamEvaluator.execute(Gl

obalParamEvaluator.java:60)

at com.sap.sdm.control.command.decorator.AbstractLibDirSetter.execute(Ab

stractLibDirSetter.java:46)

at com.sap.sdm.control.command.decorator.ExitPostProcessor.execute(ExitP

ostProcessor.java:48)

at com.sap.sdm.control.command.decorator.CommandNameLogger.execute(Comma

ndNameLogger.java:49)

at com.sap.sdm.control.command.decorator.AdditionalLogFileSetter.execute

(AdditionalLogFileSetter.java:65)

at com.sap.sdm.control.command.decorator.AbstractLogDirSetter.execute(Ab

stractLogDirSetter.java:54)

at com.sap.sdm.control.command.decorator.SyntaxChecker.execute(SyntaxChe

cker.java:37)

at com.sap.sdm.control.command.Command.exec(Command.java:42)

at SDM.main(SDM.java:21)

I tried, the next forum and didnu2019t work.

still searchingu2026

Former Member
0 Kudos

What should the file structure look like?

The exclude.xml file was like

<?xml version="1.0" ?>

<!-- version $Id: //bc/640-2/src/ins/SAPINST/impl/tpls/ind/j2ee-eng/mig/6.40/EXCLUDE.XML#1 $, Date $Date: 2004/11/02 $ -->

<Components>

<DevelopmentComponentLine name="FS-Deployment TC" vendor="sap.com" />

</Components>

so i added:

<DevelopmentComponentLine name="abapsyssetup.ear" vendor="sap.com/tc/webadministrator" />

and didnt work, i tried:

<DevelopmentComponentLine name="tc/webadministrator/abapsyssetup.ear" vendor="sap.com" />

that didnt work either

Any suggestions?

Thanks

0 Kudos

I have sam problem

I have SUN Solaris 10,

So where should i create EXCLUDE.XML file.

Please Help me.

/////////// My error in java.log file as per follow/////////////////

No metadata files exist for development component 'AdobeDocumentServices'/'com.adobe'/'Adobe Systems'/'800.20070708051308.406522'/'0'. Cannot pack this archive.

Missing archives may lead to errors after the packed SDM installation has been extracted later.

Info: This SDM installation has been packed to /oracle/AXD/backup/export/JAVA/SDM/SDMKIT.JAR

To unpack this installation again, extract /oracle/AXD/backup/export/JAVA/SDM/SDMKIT.JAR and invoke the SDM command install with parameter extractpackedinst=true

Executed, but finished with warning(s). Return code: 2

Error: Executed, but finished with warning(s). Return code: 2

//////////////////error in sapinst log file ///////////////////

No metadata files exist for development component 'AdobeDocumentServices'/'com.adobe'/'Adobe Systems'/'800.20070708051308.406522'/'0'. Cannot pack this archive.

Missing archives may lead to errors after the packed SDM installation has been extracted later.

Info: This SDM installation has been packed to /oracle/AXD/backup/export/JAVA/SDM/SDMKIT.JAR

To unpack this installation again, extract /oracle/AXD/backup/export/JAVA/SDM/SDMKIT.JAR and invoke the SDM command install with parameter extractpackedinst=true

Executed, but finished with warning(s). Return code: 2

Error: Executed, but finished with warning(s). Return code: 2

ERROR 2008-07-22 15:44:46

MUT-02041 SDM call of createsdmkitjar ends with returncode 2

ERROR 2008-07-22 15:44:46

MUT-03025 Caught ESAPinstException in Modulecall: ESAPinstException: error text undefined.

ERROR 2008-07-22 15:44:46

FCO-00011 The step packSDMKitJar with step key |NW_Export|ind|ind|ind|ind|0|0|NW_Java_Export_Dialog|ind|ind|ind|ind|5|0|NW_JAVA_Export_CI|ind|ind|ind|ind|3|0|packSDMKitJar was executed with status ERROR .

Former Member
0 Kudos

Hello

Please refer to note number 920877.

I hope this helps.

Thanks

Mona

Former Member
0 Kudos

Currently I am facing a very similar problem.

You may use the mentioned note or stop sapinst and restart with option SKIP_ERROR_STEP=true

After that the export will succeed.

The problem is (which is also mentioned in the SDM command line PDF document) that you most likely get an error during import because sapinst can't find the corresponding file for the (in scource system) deployed application.

I am not sure if there is a real master solution for that iusse but I skipped the sapinst import error by editing the keydb.xml file changing the appropriate section from ERROR to OK.

I decided to do that because the file sapinst tried to unpack (and which was not available) was not available on the source system either (error during export you got right now).

Since this is a test system I will finish the import and see if I get any errors.

Former Member
0 Kudos

First it shows me a list of about 20 .ear files and telle me the file doesnt exit:

###.ear doesn't exist.

Cannot pack this archive.

Missing archives may lead to errors after the packed SDM installation has been extracted later.

Info: This SDM installation has been packed to E:\SAPJavaExport\SDM\SDMKIT.JAR

To unpack this installation again, extract E:\SAPJavaExport\SDM\SDMKIT.JAR and invoke the SDM command install with parameter extractpackedinst=true

Executed, but finished with warning(s). Return code: 2

Error: Executed, but finished with warning(s). Return code: 2

ERROR 2008-06-25 11:47:34 [iaxxinscbk.cpp:289]

abortInstallation

MUT-02041 SDM call of createsdmkitjar ends with returncode 2

TRACE [iaxxejsbas.hpp:270]

EJS_Base::dispatchFunctionCall()

JS Callback has thrown std::ESAPinstException: ESAPinstException: error text undefined

Any ideas are helpful...

Thanks

Former Member
0 Kudos

Hi,

what is the content of sapinst_dev.log/java.log regarding this error?