Thanks John,
Well the code is something like this....
I had no idea that a java program could shut down the command window. And it never happens in when we
test it only happens in the live environment. And we wont we able to simulate the live environment here. Thats why debugging too wont help us either. I am now able to get the stack trace written to a file as the code above does. But strangely after the exception the logger only throws junk values.
Could you please explain why a command window would close, when an exception occurs, because i open the command prompt and run the program. Even if an exception is not caught, it should only kill the program and show the promt right?
Thanks John
pradeep