Administer > Manage instances > WebSphere Commerce Payments instance


Delete a WebSphere Commerce Payments instance


  1. Ensure that WebSphere Commerce Payments is stopped.

    The WebSphere Commerce Information Center does not need to be stopped when deleting a WebSphere Commerce Payments instance.

  2. Delete the WebSphere Commerce Payments instance from Configuration Manager by doing the following steps:

    1. Start Configuration Manager.

    2. In Configuration Manager, under WebSphere Commerce expand...

      hostname | Payments | Instance List

    3. Right-click the instance to delete and select...

      Delete Payments Instance

      A dialog displays confirming that you want to delete the instance. When the instance is deleted, a message displays. Click OK.

    4. Exit Configuration Manager. This step also deletes the enterprise application and virtual hosts.

  3. Do one of the following sets of steps, depending on the database you are using for WebSphere Commerce Payments:

    • Drop the WebSphere Commerce Payments database associated with the WebSphere Commerce Payments instance you want to delete.

      To drop a local WebSphere Commerce Payments database, issue the following commands from a DB2 command window:

      db2 drop db db_name

      To drop a remote WebSphere Commerce Payments database...

      db2 attach to remote_db_node_name user db_admin_ID using db_admin_password
      db2 drop db db_name db2 uncatalog db db_alias

    • Drop the WebSphere Commerce Payments tablespace and delete the Oracle user associated with the WebSphere Commerce Payments instance to delete. For instructions on dropping a tablespace and deleting an Oracle user, refer to the Oracle documentation.

  4. Delete the following directories if they exist:

    • WC_INSTALL/payments/instances/instance

    • WC_PROFILE/installedApps/hostname/instance_Commerce_Payments_App.ear

    • WAS_HOME/profiles/WAS_WPM_profile_name/logs/instance/

    • WAS_HOME/logs/instance_Commerce_Payments_Server

  5. Do the following steps, depending on the Web server:

    Web server Actions
    IBM HTTP Server No additional steps need to be performed when using IBM HTTP Server.
    Microsoft IIS No additional steps need to be performed when using Microsoft IIS.
    Sun Java System Web Server No additional steps need to be performed when using Sun ONE Web Server.

  6. If you plan to use another WebSphere Application Server after deleting the WebSphere Commerce Payments instance, regenerate the WebSphere Application Server plug-in configuration file.


What to do next

Delete the WebSphere Commerce Payments instance does not delete the corresponding WebSphere Application Server profile. To remove the WebSphere Application Server profile, see the Delete a profile topic in the WebSphere Application Server Information Center.


+

Search Tips   |   Advanced Search