Hi Ahmed
Are the exceptions come from esql in the shared libraries or in the applications? Double check your project references, maybe something changed there.
As Francois already mentioned, the jar files need to be present in the related bar you deploy, so that the application has access.
In order to better understand your situation, can you send a screenshot of your project setup in the toolkit, and maybe also one of the error?
------------------------------
Regards
Matthias Blomme
Integration Specialist
Integration Designers
Turnhout
------------------------------
Original Message:
Sent: Wed December 18, 2024 08:22 AM
From: Francois Brandelik
Subject: Messageflow using inside messageflows
Hi,
It seems to me that what you are describing is a deployment problem. You need to make sure that whenever you deploy the sub-flow with the Java call, you also deploy (in the same bar file) the java classes needed for the call to succeed... Remember that each integration server has it's own JVM and anything that is deployed there needs to have it Java calls deployed as well, unless the call is made global (different location of jar file).
Hope it helps
------------------------------
Francois Brandelik
Original Message:
Sent: Tue December 17, 2024 09:56 AM
From: Saad Ahmed
Subject: Messageflow using inside messageflows
Hi, I have codebase where i have multiple apps and few static libs. On one hand, Applications have messageflows that are using messageflows inside it and on the other hand there are messageflows inside static libs which are also being used inside those applications.
So first, I want to understand what could be a technical justification for doing this i mean couldn't this be done simple creating subflows for reusble flows and use them inside messageflows where ever needed. Please help me explain this.
Second, I've changed all those messageflows which were being used inside other messageflows into subflows in the Applications. Plus convert all the messageflows to Subflows in the static libs as well. So there is no exceptions showing on the toolkit but when i deploy the bar there are few esql procedures declarations(calling java methods in the backend) is throwing exceptions that couldn't be able to find java class or method which is referred to by the routine.
What am i doing wrong and in order to fix this i need to understand the issue here first.
------------------------------
Saad Ahmed
------------------------------