I have a web project that picks up the report generated using batch and streams to the servletOutputstream. This batch is run using task scheduler at regular intervals. The problem here is, the report that the user downloads is not real time.
Generating and downloading the report on a click of a button without using batch is not possible as the server is not capable of it-Multiple DB calls and multiple cursors are being used and the application goes OOM, memory tuning didn't work at all-(weblogic10.3.6, jrockit1.6). The batch is set up such that it uses Sun JVM, with 1024m heap space and it is working well.
Now, I want to call this Batch on click of a button and I want it to run on the JVM specified in the .bat file-Sun JVM1.6- not the already loaded Jrockit. Is it possible to do this? If yes, how?
Any help on this is appreciated. Thanks!