This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
With the adequate proxy settings filled in. The problem here is that the proxy settings are set from a file called Proxy.xml. Before my http request executes, the file Proxy.xml is opened and the details for proxyHost and proxyPort are read and filled in automatically.
But if during the session (ie, while tomcat is running) , the file Proxy.xml is altered in some way, maybe the proxyHost is changed to a different and incorrect IP, the program still works , unless I restart tomcat.
My question is, How do I unset these proxy settings totally from my tomcat server or jsp file once a certain line of code is executed? i.e, is there a System.unsetProperty or equivalent.