Quantcast
Channel: Ephesoft Docs
Viewing all articles
Browse latest Browse all 478

How to Remove a Custom Plugin

$
0
0

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

  1. Remove the custom plugin folders located at [Ephesoft_Directory]\SharedFolders\export-batch-folder.
  2. Open the server.xml file located at [Ephesoft_Directory]\JavaAppServer\conf.
  3. 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"/>
  1. Navigate to the customPluginJars folder, the default location is [Ephesoft_Directory]\SharedFolders\customPluginJars.
  2. Remove the customPlugin.jar file from the customPluginJars folder.
  3. Restart Ephesoft Transact.

You have successfully removed a custom plugin from Ephesoft Transact.

Ephesoft Transact 4.5.0.0 and Below

  1. Execute the following queries using your Ephesoft Transact directory <Ephesoft DB Name>.
  2. Select the ID as PLUGIN_ID from the custom plugin where the plugin_name is ‘%PLUGIN_NAME%’;
  3. From the PLUGIN_ID, delete from plugin_dependency where plugin_id = PLUGIN_ID;
  4. 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;
  1. Delete from plugin where id = PLUGIN_ID;
  2. 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”/>
  3. Remove the custom plugin .jar file from the lib folder located at [Ephesoft_Directory]\Application\WEB-INF\lib.
  4. Remove the added plugin configuration file from the plugins folder located at [Ephesoft_Directory}\SharedFolders\workflows\plugins.
  5. 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.


Viewing all articles
Browse latest Browse all 478

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>