We have a server project with a sub graph that is using a JAVA transformation component for some data transformation and data assignments based on values in the data. Our .java file is kept in the trans folder along with the .class file. Intermittently we are experiencing graph runs that fail because the .class file is missing. I have experienced times where I verify the files exist then go to run the graph and the graph errors due to missing .class files. This behavior has been happening occasionally over the last couple of months and has increased in its frequency this week. I am not aware of any changes to the OS or to Clover Server during this period.
My question is what would cause the .class files to be deleted as this does not happen in every project on the server?
We ae using CloverETL Server 4.3.0.15/15. Any help or suggestions are appreciated.
Hi Codehoper,
thank you for your question. Upon reviewing the information you reported, I would like to provide the following suggestions:
-
In the custom Java component, try replacing the Transform Class reference with a Transform URL reference where you would refer to the .java file instead of the .class file. This might prolong the graph run slightly as the .java file would have to be compiled during every graph run. Note: depending on the component, the property may be called Algorithm Class and Algorithm URL.
-
Another option to overcome the issue would be to add the .class file into a .jar file and placing that .jar file into the classpath.
If none of these options works for you, I would like to ask you for a couple of additional details so that we can narrow the cause of this issue down:
-
In regards to your last question, I would like to clarify whether the .class file is virtually deleted (so you need to place it again in the Trans folder) or not. The reason that Clover could not find the file during a graph run might be its temporary unavailability rather than deletion.
-
Are you running the graph directly from the Designer or from the Server console?
-
Is it possible that there are more instances of the graph being run from 2 or more Designers at the same time?
-
Is the .class file called in any other graph run that might be running simultaneously with the one in question?
-
Where are the sandbox files stored? Are they stored directly on the server where CloverETL Server is running or elsewhere, for example in a network attached storage?
-
You mentioned some other projects on the server. Is there anything exceptional about the project in question when compared to the other projects? Are also the other projects comprise custom Java components? If so, are the .class files also called within a sugraph?
-
Which operating system is installed on the machine where CloverETL Server runs?
Regards,