|
From: Adrian M. <ama...@ge...> - 2007-11-26 10:58:37
|
Hello everyone, I have a Java application that uses Runtime.exec() to start another .NET app. This works just fine when running my program 'standalone'. The problem arises when I use the wrapper to install my Java app as a service: Runtime.exec() executes ok, the .NET app is launched and it seems to work without issues up to about one and a half / two minutes into execution, where it freezes and is seen as 'not responding' by windows. I have browsed through the mailing lists archives and seen some problems with exec() related to the access to network drives or error dialog messages that are not displayed on screen, but I don't think any of this applies to me. Of course I considered that the problem may be caused by the .NET app running as SYSTEM, but (and I find this quite puzzling) after the freeze if I stop the java service or just plain kill the java process the .NET app resumes normal execution as if nothing had happened and has no more problems. A couple more details: - My java app has no GUI; the .NET one does. - The java service seems to keep running in normal fashion after the .NET app hangs. - (Don't know if this is relevant) The .NET app acts as client to some web services. It invokes them some times without any apparent issues before hanging. If anyone could point me in the right direction where to look regarding this it would be greatly appreciated (I'm quite lost here). Many thanks. Adrián. |