Thanks it worked.
Original Message:
Sent: Mon February 16, 2026 07:33 AM
From: Ahmed Elelaimy
Subject: User defined Policies
Go to java prespective , create java project , put the class into it , after this right click on the java project , select build path , then configure build path .
in the screen will open the libraries tab and the select add external jars from the right add below 2 jars :
- jplugin2.jar
- javacompute.jar
from this path :
C:\Program Files\IBM\ACE\12.0.12.19\server\classes
------------------------------
Ahmed Elelaimy
Original Message:
Sent: Wed February 11, 2026 06:10 AM
From: Narender kadari
Subject: User defined Policies
Hi,
Can please specify which jar needs to be added as I have already added jplugin. And when I created a new java project and re compiled with bar issue has been resolved and bar file is deployed. But when iam trying to call the java method after reaching to mbpolicy.getpolicy() method iam getting source folder not found tab I have added the message flow in the message flow container but still getting the error. If I press f6 the method is returning null(Policy or property not found). Ihave added the relevant sbips fyr.
------------------------------
Narender kadari
Original Message:
Sent: Wed February 11, 2026 12:15 AM
From: Abdulla M H
Subject: User defined Policies
Hi,
Have you placed the JAR file inside the shared-classes directory of the integration node?
------------------------------
Abdulla M H
Original Message:
Sent: Tue February 10, 2026 08:43 AM
From: Narender kadari
Subject: User defined Policies
I have created a java integration project with class and method. And created an external procedure with java as external name in esql. And referenced the java project to application. But when I try to deploy the bar iam getting an error java methods could not be found in workpath/shared-classes directory.
------------------------------
Narender kadari
Original Message:
Sent: Tue February 10, 2026 06:28 AM
From: Andy Bell
Subject: User defined Policies
Perhaps it would be better for you to share your use case? It maybe that creating a UDP and then using a policy to over ride it achieves the same thing?
------------------------------
Andy Bell
Original Message:
Sent: Tue February 10, 2026 03:19 AM
From: Narender kadari
Subject: User defined Policies
Can you guide me to use Java integration project(Java package) instead of JCN node to call user defined policy in esql.
------------------------------
Narender kadari
Original Message:
Sent: Mon February 09, 2026 06:21 AM
From: Paul Lacy
Subject: User defined Policies
Hello Narender,
You can access it in ESQL via java calls.
Please see this for the details:
Accessing a user-defined policy by using ESQL - IBM Documentation
------------------------------
Paul Lacy
Original Message:
Sent: Fri February 06, 2026 11:29 AM
From: Narender kadari
Subject: User defined Policies
Can anyone help me with accessing the property which is mentioned in user defined policy using esql on compute node.
------------------------------
Narender kadari
------------------------------