Chapter 21. Extensibility CloverETL engine plugins

Since 3.1.2

CloverETL Server may use external engine plugins loaded from specified source. Source is specified by config property "engine.plugins.src"

See details about possibilities of CloverETL configuration in Chapter 16, Configuration

This property must be absolute path to the directory or zip file with additional CloverETL engine plugins. Both directory and zip must contain subdirectory for each plugin. These plugins are not a substitute for plugins packed in WAR. Changes in the directory or the ZIP file apply only when the server is restarted.

Each plugin has its own class-loader which uses parent-first strategy by default. Parent of plugins' classloaders is web-app classloader (content of [WAR]/WEB-INF/lib). If the plugin uses any third-party libraries, there may be some conflict with libraries on parent-classloaders classpath. These are common exceptions/errors suggesting, that there is something wrong with classloading:

There are couple of ways how to ged rid of such conflicts:

Of course, the suggestions above may be combined. It's not easy to find the best solution for these conflicts and it may depend on the libraries on app-server classpath.

For more convinient debugging it is useful to set TRACE log level for related class-loaders.

<logger name="org.jetel.util.classloader.GreedyURLClassLoader">
	<level value="trace"/>
</logger>
<logger name="org.jetel.plugin.PluginClassLoader">
	<level value="trace"/>
</logger>
			

See "Logging" section for details about overriding server log4j configuration.