on 07-21-2014 8:47 PM
Dear Experts,
today I faced the following big challenge - I had to remove a few packages from NetWeaver AS Java 7.3 EHP 1.
On 7.0, this can easily be done with both JSPM and SDM, but those tools are dismissed since 7.1...
For installing those packages, we used SUM, but SUM is unable to undeploy them.
I found an article, that it is possible to undeploy packages with the telnet undeploy command, though this didn't
work for me:
>undeploy list=/usr/sap/EJ7/J02/j2ee/console/undeploy.xml
Undeploy settings:
on_undeploy_error=stop
on_prerequisite_error=stop
workflow=normal
If there is an offline undeployment, Telnet connection to host may be lost, but the result can be seen us ing [get_result] command
Processing undeployment operation, wait...
===== PROGRESS START =====
===== UNDEPLOY RESULT =====
type: [SDA], name: [SAP-WEC-FRW], vendor: [sap.com], location: [null], version: [null], status: [NotDe ployed], description: [There is no component which corresponds to the specified undeployment item 'sap.co m_SAP-WEC-FRW'.]
type: [SDA], name: [XLSO-WEC], vendor: [sap.com], location: [null], version: [null], status: [NotDeplo yed], description: [There is no component which corresponds to the specified undeployment item 'sap.com_X LSO-WEC'.]
type: [SDA], name: [SAP-WEC], vendor: [sap.com], location: [null], version: [null], status: [NotDeploy ed], description: [There is no component which corresponds to the specified undeployment item 'sap.com_SA P-WEC'.]
===== END UNDEPLOY RESULT =====
===== Summary - Undeploy Result - Start =====
------------------------
Type | Status : Count
------------------------
> SCA(s)
> SDA(s)
- [NotDeployed] : [3]
------------------------
------------------------
Type | Status : Id
------------------------
> SCA(s)
> SDA(s)
- [NotDeployed] : sap.com_SAP-WEC-FRW, sap.com_XLSO-WEC, sap.com_SAP-WEC,
------------------------
===== Summary - Undeploy Result - End =====
>undeploy list=/usr/sap/EJ7/J02/j2ee/console/undeploy.xml on_undeploy_error=skip_depending on_prerequisit e_error=skip_depending
Undeploy settings:
on_undeploy_error=skip_depending
on_prerequisite_error=skip_depending
workflow=normal
If there is an offline undeployment, Telnet connection to host may be lost, but the result can be seen us ing [get_result] command
Processing undeployment operation, wait...
===== PROGRESS START =====
===== UNDEPLOY RESULT =====
type: [SDA], name: [SAP-WEC-FRW], vendor: [sap.com], location: [null], version: [null], status: [NotDe ployed], description: [There is no component which corresponds to the specified undeployment item 'sap.co m_SAP-WEC-FRW'.]
type: [SDA], name: [XLSO-WEC], vendor: [sap.com], location: [null], version: [null], status: [NotDeplo yed], description: [There is no component which corresponds to the specified undeployment item 'sap.com_X LSO-WEC'.]
type: [SDA], name: [SAP-WEC], vendor: [sap.com], location: [null], version: [null], status: [NotDeploy ed], description: [There is no component which corresponds to the specified undeployment item 'sap.com_SA P-WEC'.]
===== END UNDEPLOY RESULT =====
===== Summary - Undeploy Result - Start =====
------------------------
Type | Status : Count
------------------------
> SCA(s)
> SDA(s)
- [NotDeployed] : [3]
------------------------
------------------------
Type | Status : Id
------------------------
> SCA(s)
> SDA(s)
- [NotDeployed] : sap.com_SAP-WEC-FRW, sap.com_XLSO-WEC, sap.com_SAP-WEC,
------------------------
===== Summary - Undeploy Result - End =====
vi undeploy.xml
"undeploy.xml" [New file]
<Components>
<DevelopmentComponentLine vendor="sap.com" name="SAP-WEC"/>
<DevelopmentComponentLine vendor="sap.com" name="SAP-WEC-FRW"/>
<DevelopmentComponentLine vendor="sap.com" name="XLSO-WEC"/>
</Components>
I have also tried specifying only 1 package, like:
>undeploy XLSO-WEC
but it didn't work either... Many thanks for any possible ideas, suggestions, hints...
Hi Symon,
By using the below method, you should be able to uninstall the software component archives (SCAs) on telnet console. First, check the names of applications (development components) installed with SAP-WEC, SAP-WEC-FRW and XLSO-WEC packages.
You can find these details in System Information: Components Info in NetWeaver Administrator.
Open a command prompt,
telnet localhost 50008
Logon as Administrator and try the following command:
undeploy vendor=sap.com name=<development component>
For example:
undeploy vendor=sap.com name=xapps~xmii~ear
BR,
Alper Somuncu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello and many thanks for your reply! In order to sort this our faster, I have also included a screenshot. As far as I understand your statement above, in order to remove
SAP-WEC |
I would need to remove all the DCs and enter the undeploy command for all those packages at the bottom left ? wec~esrv~mc~complaintsandreturns~dpu, wec~comm~mc~customerinteraction~dpu, ... etc. ?
That is so much harder than before with SDM and JSPM !! So, better if I compose .xml files...
Hi Symon,
That's right. You need to remove all the DCs and execute undeploy command for the packages. You can also handle it by creating the xml file, personally I prefer to do it manually.
BR,
Alper Somuncu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.