Pascale, We have created a video to help monitor Java processes and there is functionality that monitors threads - you can see the video here:
http://www.javasystemsolutions.com/jss/video/view/MidTier-JMX So, modify the batch file to include the JMX parameters, run the batch, run jconsole and attach, and look at the threads tab. You will probably find a thread that's blocking, which will give you some idea what it's doing (ie is it blocking on a file handle/socket, etc). In the medium to long term, I'm not sure that running an external process that runs Java is terribly scalable - you may want to revisit it (and you're welcome to talk to us for some advice at no cost). John -- Single Sign On for AR System http://www.javasystemsolutions.com/jss/ssoplugin _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug11 www.wwrug.com ARSList: "Where the Answers Are"