Appclear Tool removes applications deployed previously on the server side of a cluster element. Appclear Tool execution is performed using the appclear script file, located in < SAPj2eeEngine _install_dir> /cluster/server or < SAPj2eeEngine _install_dir> /alone directory. An additional txt file must be given as a parameter to the script file to specify the deployed applications to be removed. This file must be named appclear.txt and must be located in the same directory as the corresponding script. The syntax of appclear.txt file is as follows:
delete=[directory_path]
skip=[directory_path]
If a directory path is specified in the
delete
command, all files and subdirectories are deleted. The
skip
command line shows the path to a directorythat is not to be deleted. More then one directory can be added at the
skip
command line and all paths are separated by semicolon (;).
Note 1 : appclear script file is executed without any parameters. It reads from appclear.txt and removes the selected directories. Make sure that appclear.txt file is present in the directory where the appclear script is located.
Note 2
: The
skip
command cannot be omitted. It must exist in the row straight after
delete
. If all directories must be deleted, the syntax of
skip
is:
skip= (that is, without any parameters).
Note 3
: It is recommended that Appclear Tool be used in critical situations only, since it clears all data that has been stored in the DBMS Service
/work
directory. This includes users and groups that are not created by default during the installation process – that is, the initial state of the server is recovered, except the default password for user “Guest” (default password is “guest” but after executing
appclear
script file the password for this user is empty string “”). You can modify the
appclear.txt
file to prevent deletion of all data. However, when SAP J2EE Engine 6.20 is functioning properly, it is recommended you use the
REMOVEAPP
command from the
DEPLOY
Shell command group to remove an application.