IBM



Deleting a WebSphere Payments instance

To delete a WebSphere Commerce Payments instance:

1. Ensure that WebSphere Commerce Payments is stopped. Refer to Start and stop servers.

Note: The WebSphere Commerce Information Center does not have to be stopped when deleting a WCS instance.

2. Delete the WebSphere Commerce Payments instance from Configuration Manager:

a. Start Configuration Manager.

b. In Configuration Manager, under WebSphere Commerce, expand host_name Æ Payments Æ Instance List.

c. Right-click the instance to delete and select Delete Payments Instance. A dialog opens confirming that to delete the instance.

d. When the instance is deleted, a message displays. Click OK.

e. Exit Configuration Manager. This also deletes the WebSphere Commerce Payments application server, enterprise application, and virtual hosts.

3. Depending the database for WebSphere Commerce Payments:

If you are using DB2, drop the WebSphere Commerce Payments database associated with the WebSphere Commerce Payments instance to delete.

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

db2 drop db dbname

dbname is the name of the WebSphere Commerce Payments database.

To drop a remote WebSphere Commerce Payments database, issue the following commands from a DB2 command session on the WebSphere Commerce Payments machine:

db2 attach to remote_db_node_name user dbuser using dbpassword

db2 drop db dbname

db2 uncatalog db db_alias

If you are using Oracle, drop the WebSphere Commerce Payments table space and delete the Oracle user associated with the WebSphere Commerce Payments instance to delete. For instructions on dropping a table space and deleting an Oracle user, refer to the Oracle documentation.

4. Delete the following directories if they exist:

wc_installdir/instances/wpm_instance

wc_installdir/payments/instances/wpm_instance

was_installdir/logs/wpm_instance_Commerce_Payments_Server

was_installdir/installedApps/host_name/ wpm_instance_Commerce_Payments_App.ear

wpm_instance is the name of the WebSphere Commerce Payments instance that to delete.

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

a. Open HTTPServer_installdir/conf/httpd.conf in a text editor.

b. Remove all sections delimited by the following text:

IBM WebSphere Payments (Do not edit this section)

End of IBM WebSphere Payments (Do not edit this section)

There will be multiple sections in the file delimited by the text. Remove the delimiting text as well.

c. Save the changes and exit the text editor.

d. Restart the Web server.

6. If you plan to use other WebSphere Application Server application servers after deleting the WebSphere Commerce Payments instance, regenerate the WebSphere Application Server plug-in configuration file as described in the next section.


Redbooks
ibm.com/redbooks


+

Search Tips   |   Advanced Search