We are creating a new module for our system to receive data from another source. Everytime we terminate the test application in Eclipse it causes and unexpected termination at the suppliers end. I get notified and they assume something is wrong. Solution add a Shutdown hook to end the connection gracefully.
Nothing is ever that easy.
turns out that a known bug in Eclipse is that clicking on the red terminate button does not kill anything nicely.
No solutions only workarounds:
1. Run in a console. A bit annoying when working in dev, you need to constantly stop and start the app and it can slow you down a bit.
2. Relatively safe workaround if you are using threads. It works well but you have to remember to use it and not click the red button!
Thanks to both for providing the most concise and useful explanations and suggestion.
No comments:
Post a Comment