cancel
Showing results for 
Search instead for 
Did you mean: 

How to undeploy .ear files in PI system

Former Member
0 Kudos

Hi ,

Could you please help me to undeploy .EAR files in PI system.

When i am trying to undeploy it from os level not able to find any script , Can anyone tell me a script for HP-ux to undepoly .

Thanks,

Pradeep.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

login to OS level as adm user,

give command

telnet localhost 50108 (or 50008, port depends on ur instance number)

give administrator credentials

suppose u want to undeploy "abc"

then give command

list_app |grep abc

you will get output like.....  sap.com/abc

give command

undeploy vendor=sap.com name=abc

and check the deployment results.

Answers (3)

Answers (3)

Former Member
0 Kudos

Thanks Abhijit issue is resolved.

davefitzgibbon
Advisor
Advisor
0 Kudos

HI Prandeep,

You can undeploy .ear files via NWDS which is the most feasible way. Do you have this instaled in your system ?

If not, then there is also the possibility to undeploy via Telnet providing that the undeploy command is available

1. login the j2ee telnet console.

2. after login, please jump to the server node with command "jump 0".

3. then "add deploy"

4. then "man"

5. Look for the command "undeploy". If it is there then you can use this to remove the file.

Regards,

David

Former Member
0 Kudos

Hi David ,

Could you tell me the syntax for the telnet command to use

If server name is <hostname removed by moderator>

Thanks,

Pradeep.

Message was edited by: Juan Reyes

Former Member
0 Kudos

This message was moderated.

davefitzgibbon
Advisor
Advisor
0 Kudos

Hi Prandeep,

You simply need to type

telnet LOCALHOST 5XXXX

then login as SAP system Administrator

Have a look at the following wiki which describes deployment and udeployment via telnet in more detail

http://wiki.sdn.sap.com/wiki/display/TechTSG/(JSTSG)(Telnet)DeployController+Commands

Regards,

David

Ranjith418
Contributor
0 Kudos