Note: SAP Note 2462712 contains detailed information on how to undeploy applications from SAP NetWeaver Application Server.

Prerequisites

The SAP NetWeaver AS Java is running.

Procedure

  1. Log into the SAP Server and run terminal.
  2. Connect to SAP NetWeaver Application Server for Java using the Telnet to port 5<NN>08 where <NN> is a SAP NetWeaver Application Server instance number. For example:
    # telnet localhost 50008
  3. Enter the SAP J2EE administrator user and password.
  4. Run the following command to see if the VMware Adapter for SAP LaMa is deployed:
    > list_app | grep <adapter name>

    Where <adapter name> is one of the following VMware Adapter for SAP LaMa name options: VMwareLaMaAdapter, VMwareLVM.

    For example:

    > list_app | grep VMwareLaMaAdapter

    If the VMware Adapter for SAP LaMa appears in the list, then it has been deployed.

    Note: To ensure that no adapters are deployed, follow steps 4-6 for each adapter name.
  5. Run the following command to uninstall the VMware Adapter for SAP LaMa:
    > undeploy name=<adapter_name> vendor=JavaEE on_undeploy_error=stop

    For example:

    > undeploy name=VMwareLaMaAdapter vendor=JavaEE on_undeploy_error=stop
  6. Run the following command to verify that the VMware Adapter for SAP LaMa is undeployed:
    > list_app | grep <adapter_name>

    For example:

    > list_app | grep VMwareLaMaAdapter

    If the VMware Adapter for SAP LaMa does not appear in the list, then it has been undeployed.

  7. Exit from Telnet session by executing the quit command.

Results

You successfully undeployed the VMware Adapter for SAP Landscape Management.