Applies to: All versions of Ephesoft Transact
This article provides steps on how to remove a custom plugin from Ephesoft Transact. Custom plugins must be removed from all batch classes. Refer to the section that applies to your version of Transact below.
Note: Take a backup of the database before removing a custom plugin from your workflow.
Ephesoft Transact 2019.1 and Above
- Remove the custom plugin folders located at [Ephesoft_Directory]\SharedFolders\export-batch-folder.
- Open the server.xml file located at [Ephesoft_Directory]\JavaAppServer\conf.
- Verify the location of the customPluginJars folder. A sample location is provided below:
<PostResources base="$ {shared.folders} \customPluginJars" className="org.apache.catalina.webresources.DirResourceSet" readOnly="true" webAppMount="/WEB-INF/lib"/>
- Navigate to the customPluginJars folder, the default location is [Ephesoft_Directory]\SharedFolders\customPluginJars.
- Remove the customPlugin.jar file from the customPluginJars folder.
- Restart Ephesoft Transact.
You have successfully removed a custom plugin from Ephesoft Transact.
Ephesoft Transact 4.5.0.0 and Below
- Execute the following queries using your Ephesoft Transact directory <Ephesoft DB Name>.
- Select the ID as PLUGIN_ID from the custom plugin where the plugin_name is ‘%PLUGIN_NAME%’;
- From the PLUGIN_ID, delete from plugin_dependency where plugin_id = PLUGIN_ID;
- Select ID as PLUGIN_CONFIG_ID from plugin_config where plugin_id = PLUGIN_ID;
- Delete the ID from plugin_config_sample_value where plugin_config_id = PLUGIN_CONFIG_ID;
- Delete the ID from plugin_config where plugin_id = PLUGIN_ID;
- Delete from plugin where id = PLUGIN_ID;
- Delete the plugin configurations from the application-Context.xml file in the Ephesoft installation directory sample: <import resource=”classpath:/META-INF/applicationContext-XXX-plugin.xml”/>
- Remove the custom plugin .jar file from the lib folder located at [Ephesoft_Directory]\Application\WEB-INF\lib.
- Remove the added plugin configuration file from the plugins folder located at [Ephesoft_Directory}\SharedFolders\workflows\plugins.
- Restart Ephesoft Transact.
You have successfully removed a custom plugin from Ephesoft Transact.
The post How to Remove a Custom Plugin appeared first on Ephesoft Docs.