Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This topic expands on the command line tool used to selectively cleanup RETIRED BPEL packages. This tool can be used to completely remove unwanted process instances along with the RETIRED package(s). 

Warning

Warning: Do not retire the last active version of the BPEL when using the cleanup tool.

Update the following configuration settings in the process-cleanup.properties file which is located in the <BPS_HOMEHOME>/repository/conf directory.

Code Block
##BPS database connection information as defined in datasources.properties file
database.url=jdbc:mysql://localhost/bps
database.username=root
database.password=root
database.driver=com.mysql.jdbc.Driver
user.timezone=GMT
clientTrustStorePath=/home/wso2bps/repository/resources/security/wso2carbon.jks
clientTrustStorePassword=wso2carbon
clientTrustStoreType=JKS
#tenat context eg: tenant mode; tenant.context=https://localhost:9443/t/abc.com
tenant.context=https://localhost:9443
#BPS super admin's login credentials
wso2.bps.username=admin
wso2.bps.password=admin
## Set this option true if instances need to be removed along with processes
delete.instances=false
## Available Filters for Instance States : ACTIVE, COMPLETED, SUSPENDED, TERMINATED, FAILED
## Listing process instances having the defined filter state
process.filterStates=COMPLETED,TERMINATED,FAILED

...