|
From: Ted H. <thu...@ro...> - 2004-07-16 22:56:01
|
Eoin, The problem occurs with pretty much any script, not just a script using excel. I tried a simple example with Word, instead of Excel. Same result: works fine when JBoss is unwrapped, doesn't do anything if wrapped. There is only one VB script running at a time. As to your suggestion about Console.writeln's, I assume you mean I should insert print statements into the VB script, not in the Java application context? Yes, I have done this in the following form: WScript.echo "example" These are visible when running in wscript (not cscript) but again, only when JBoss is unwrapped. The only relevant factor appears to be using the Java Service Wrapper or not. Ted -----Original Message----- From: wra...@li... [mailto:wra...@li...] On Behalf Of Eoin Curran Sent: Friday, July 16, 2004 8:18 AM To: wra...@li... Subject: Re: [Wrapper-user] Wrapper causes zombie procecesses started from Runtime.getRuntime( exec ( cmd ) ); Ted, Some other things you could check to try and narrow it down: Does the problem occur with any script, or only if the script uses excel? Does it occur with any sheet or only this one? You say you call the script asynchronously - in your tests are there more than one vbsript process executing simultaneously? Now that you have StreamGobbler, you could stick in some Console.writeln's and see if the process get's stuck at a certain point in the script, or after the script exits? eoin. |