We currently have batchjobs in Java that proces mulitple (sometimes large) files. These jobs can take some time to run. We run these files directly in the JVM, using Java Threads that continuesly run in a loop. (proces files and then wait a while).
Now the company I work for, wants to run these jobs in the Weblogic application server. Not because it's better, but because that's the company's standard platform.
A potential problem I see is that BEA weblogic monitors all threads and default says that threads that run longer then 10 minutes are STUCK threads, which can potentially lead to a server in FAILED state.
What is the best practice to do this in BEA Weblogic?