Hi,
I’m attempting to create a custom component for CloverETL Designer 4.0.3. I’ve gone through the steps in the documentation and have also referenced this blog post:
http://www.cloveretl.com/blog/creating- … p-by-step/
After installing the plugin into my local Eclipse installation, I can see it in Eclispe’s log when starting up:
...
Component extension plugin found:
Component: com...component1 (components.xml) 512 com...components
...
Engine plugin extension plugin found:
EnginePlugin: com...enginePlugin1 (plugins; com...CLProvider)
...
DEBUG [main] - Plugin com...components loaded.
id - com...components
version - 0.1.0
provider-name - ...
component { className = com...DataServiceWriter; type = DS_WRITER; }
...
However, when the engine runtime initializes upon opening a graph, I receive the following error:
FATAL i - cannot initialize engine
com.cloveretl.server.facade.api.exceptions.CloverServerException: Engine init failed! Inited plugins:26, should be initialized:27
at com.cloveretl.server.i.init(Unknown Source)
at com.cloveretl.server.i.run(Unknown Source)
Following the documentation, I’ve instructed the runtime engine to use a custom log4j.xml w/ these loggers:
<logger name="org.jetel.util.classloader.GreedyURLClassLoader">
<level value="trace"/>
</logger>
<logger name="org.jetel.plugin.PluginClassLoader">
<level value="trace"/>
</logger>
However, I’m not seeing anything obvious there. Any help or suggestions would be much appreciated.
Hi jsnikeris,
As part of CloverETL 4, there has been a new ETL runtime introduced. The new runtime brings certain changes that earlier articles do not have reflect. It is also the case of mentioned blog article. Currently we are preparing updates that will clarify how to create custom components for later CloverETL versions with new ETL runtime.
Hi,
For now, you may get some hint by looking at OSS engine.
The source is available at SourceForge or GitHub -
https://github.com/CloverETL/CloverETL-Engine
Look into cloveretl.component.
Hello Guys,
Has this issue been fixed ? I see comments saying that this would be fixed in the latest version, though I’m still facing issues.
I used this link - http://doc.cloveretl.com/documentation/ … ngine.html to create a custom component. And then unzipped the jar into -plugins-com.cloveretl.gui_4.1-lib-plugins and it gave me the below error -
10:08:22,705 INFO : === CloverETL 4.1.0.018 Starting ===
Exception in thread “Thread-10” com.cloveretl.server.facade.api.exceptions.CloverServerException: java.lang.RuntimeException: com.cloveretl.server.facade.api.exceptions.CloverServerException: Engine init failed! Inited plugins:26, should be initialized:27
at com.cloveretl.server.j.run(Unknown Source)
Caused by: java.lang.RuntimeException: com.cloveretl.server.facade.api.exceptions.CloverServerException: Engine init failed! Inited plugins:26, should be initialized:27
at com.cloveretl.server.j.init(Unknown Source)
… 1 more
Caused by: com.cloveretl.server.facade.api.exceptions.CloverServerException: Engine init failed! Inited plugins:26, should be initialized:27
… 2 more
Hi Anupam
We are no longer maintaining the ability to create your very own components (CustomComponent) as it was replaced by CustomJavaComponent, which is fully programmable (in Java) and integrated into the Designer.
If this question is related to your topic here, please see the full answer there.
Best regards