2
SAP Knowledge Base Article Symptom You want to undeploy an SCA (Software Component Archive) that has no deployable content, such as SAPSPIPCJ. These SCAs have only BUILDARCHIVES, but no DEPLOYARCHIVES folder. Such components must never be deployed on a productive runtime system. They can be deployed however by mistake - in this case the component will appear in the deployment component repository and also in the JSPM deployed components tab but with no single DC inside i.e. it is kind of a "dummy"-SC name. Using the SDM to undeploy these SCA`s results in the following errrors: Error: No deployed SDA with the specified component attributes 'SAPAPIPCJ', 'sap.com' found. Error: None of the specified components are currently deployed. Nothing to undeploy. Error: Processing error. Return code: 104 Environment SAP_JAVASL SAP JAVA SL 6.40 - 6.40 SAP-JEECOR SAP J2EE ENGINE CORE 7.01 - 7.02 7.00 - 7.00 Cause This is because the SCAs contain only sources required for customer development using Netweaver Development Infrastructure (NWDI) landscape. Since the SAPSPIPCJ does not have any deployable archives (SDAs), you can not undeploy this SCA using the SDM since the SDM supports only the undeployment of the SDAs contained in the SCA and not the SCA itself. Resolution To remove reference to these SCAs, the file sdmrepository.sdc should be updated. The filecan be found here: usr\sap\<SID>\<instance_number>\SDM\program\config Please proceed as follows: 1. Make a backup of the file, in case you need to revert to an older version 1514115 - Removing SCA's with no deployable content from the deployment component repository and the JSPM deployed components tab Version 1 Validity: 30.09.2010 - active Language English Page 1 of 2

Note 1514115 - Removing SCA's With No Deployable Content From the Deployment Component Repository and the JSPM Deployed Components Tab

  • Upload
    pubirz

  • View
    212

  • Download
    6

Embed Size (px)

Citation preview

Page 1: Note 1514115 - Removing SCA's With No Deployable Content From the Deployment Component Repository and the JSPM Deployed Components Tab

SAP Knowledge Base Article

Symptom

You want to undeploy an SCA (Software Component Archive) that has no deployable content, such as SAPSPIPCJ. These SCAs have only BUILDARCHIVES, but no DEPLOYARCHIVES folder.

Such components must never be deployed on a productive runtime system. They can be deployed however by mistake - in this case the component will appear in the deployment component repository and also in the JSPM deployed components tab but with no single DC inside i.e. it is kind of a "dummy"-SC name.

Using the SDM to undeploy these SCA`s results in the following errrors:

Error : No deployed SDA with the specified component attributes 'SAPAPIPCJ', 'sap.com' found. Error : None of the specified components are currently deployed. Nothing to undeploy. Error : Processing error. Return code: 104

Environment

� SAP_JAVASL SAP JAVA SL 6.40 - 6.40

� SAP-JEECOR SAP J2EE ENGINE CORE 7.01 - 7.02 7.00 - 7.00

Cause

This is because the SCAs contain only sources required for customer development using Netweaver Development Infrastructure (NWDI) landscape.

Since the SAPSPIPCJ does not have any deployable archives (SDAs), you can not undeploy this SCA using the SDM since the SDM supports only the undeployment of the SDAs contained in the SCA and not the SCA itself.

Resolution

To remove reference to these SCAs, the file sdmrepository.sdc should be updated. The filecan be found here: usr\sap\<SID>\<instance_number>\SDM\program\config

Please proceed as follows:

1. Make a backup of the file, in case you need to revert to an older version

1514115 - Removing SCA's with no deployable content from the deployment component repository and the JSPM deployed componen ts tab

Version 1 Validity: 30.09.2010 - active Language English

Page 1 of 2

Page 2: Note 1514115 - Removing SCA's With No Deployable Content From the Deployment Component Repository and the JSPM Deployed Components Tab

2. Open up the sdmrepository.sdc file with notepad or notepad++ 3. Search for occurence of SCA name, such as SAPSPIPCJ. Normally there will be reference to

the SCA from within 2 different xml blocks of content 4. Remove everything between and including the XML tags <Sca>..</Sca> where you find the

reference to the SCA. Take care not to insert any empty spaces or new line characters into this file. Simply highliight the block of content and delete

5. Remove everything between and including the XML tags <ScaDeployment>..</ScaDeployment> where you find the reference to the SCA

6. Save the file

The system information is read from a BC_COMPVERS table that is written during deployment. To synch up the BC_COMPVERS table with the new sdmrepository file, execute the following commands in the directory SDM/program:

./StopServer.sh

./sdm.sh jstartup mode=standalone

./sdm.sh gc enabled=true

./sdm.sh gc

./sdm.sh systemcomponentstate mode=sync

./sdm.sh jstartup mode=integrated

Reference to the empty SCA should now be removed.

Keywords

SAPAPIPCJ, empty SCA, SAP-CRMWEB, undeploy SCA

Header Data

Product

Released On 11.10.2010 16:06:21 Release Status Released to Customer Component BC-CTS-SDM Software Delivery Manager for Java

BC-UPG-OCS-SPJ Support package tools for Java

Priority Normal Category How To

Product Product Version

SAP NetWeaver SAP NetWeaver 2004

SAP NetWeaver 7.0

Other Components

Page 2 of 2