Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

User routines not working in routes

I have Talend Open Studio for ESB 6.1.1 and I am having troubles exporting my user routines when I build the route. When I run the job from the studio, everything works perfectly, but as soon as I build the kar file and deploy the route in the runtime, the job throws an error every time that a user routine is referenced.
How can I use user routines when I build and deploy my routes?
The caused by message is shown below:
Caused by: java.lang.NoClassDefFoundError: routines/VixtaUtils
at integration.afs_tank_readings_receiver_0_1.AFS_Tank_Readings_Receiver$3.process(AFS_Tank_Readings_Receiver.java:160)
at org.apache.camel.processor.DelegateSyncProcessor.process(DelegateSyncProcessor.java:63)
Labels (3)
2 Replies
Anonymous
Not applicable
Author

It seems like a bug, have you tested it also on the latest version 6.2.1?
Anonymous
Not applicable
Author

I have not tried that as we would have to migrate our ESB servers to the newest open source version. 
If you are looking to replicate the issue, you will need to reference a user routine from the route itself rather than in a DI job. It also must be a user routine and not a bean class.