Hi all,
I have a java application that is bundled as a single Jar file in AS400 IFS folder. I submit it to QBATCH2 and it will invoke a few web services for RPG program requests.
The problem here is only the first one or two requests (after the application is submitted to batch) are consuming long time (around 2 - 3 minutes) which is a huge delay for the users. Later hits are completed within seconds. We also noted that the processor usage of this appln is more during the first hit.
Is it because that the jar is getting extracted only after the first request is received thereby taking more time? If so, is there any option to get the jar extracted even before any request comes to the program?
Thanks,
Neo
I have a java application that is bundled as a single Jar file in AS400 IFS folder. I submit it to QBATCH2 and it will invoke a few web services for RPG program requests.
The problem here is only the first one or two requests (after the application is submitted to batch) are consuming long time (around 2 - 3 minutes) which is a huge delay for the users. Later hits are completed within seconds. We also noted that the processor usage of this appln is more during the first hit.
Is it because that the jar is getting extracted only after the first request is received thereby taking more time? If so, is there any option to get the jar extracted even before any request comes to the program?
Thanks,
Neo
Comment