cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Batch profiling with DT managed

Hello,

I'm trying to find where the time is consumed in a java batch application with DT managed. I created a custom entry point (custom service) that match the main method of the batch and the method called iteratively. The process is detected but I don't know where to find the resulted purepaths.

JP


4 REPLIES 4

pahofmann
Leader

You should see the custom service in the Transactions & services overview.

You can use the filter for Service Type: Custom service:


Thank you @Patrick H. for your answer. I was trying on a test batch :

public class Entree {
public static void main(String[] args) throws Exception {
doIt();
}
private static void doIt() throws InterruptedException {
while (true) {
System.out.println(" Il est " + new Date() );
Thread.sleep(5000);
}
}
}

and it didn't work (?).

I tried on my real batch, and now it seems to works.

Thank you for your help,

JP


Maybe you didn't restart the process or activate Hot Sensor Placement for Java when configuring the test Batch?


Patrick,

I did restart the process. I'll try to understand later, when I have some time.

Regards,

JP