JVM after restart empty of settings

Running R7 and have edited java.policy file to allow for code/agents to set http and https proxy properties.

Once the code runs, proxy settings are kept in the JVM IF the code includes setpropery call.

But if the JVM is restared, this is flushed and the settings is gone. Now we have one agent that runs rather periodically so this is not really a problem. But after a reboot some other agents runs that would need the proxy but used the previously settings to run so now it dumps.

Is there any settings anywhere in a property file (like on a Tomcat-server where you can edit catalina.properties to use this:

http.proxyHost=yourProxyURL

http.proxyPort=yourProxyPort

http.proxyUser=yourUserName

http.proxyPassword=yourPassword)

I would like to see something similar so that IF any developer forgets to add System.getProperties().put(“http.proxyHost”, “someProxyURL”);

System.getProperties().put(“http.proxyPort”, “someProxyPort”);

System.getProperties().put(“http.proxyUser”, “someUserName”);

System.getProperties().put(“http.proxyPassword”, “somePassword”);

to the code.

There must(??) be some way to default the IBM JVM to a set of properties when it is initialized on an R7 server?