My app is deployed on Tomcat and I've configured the JAVA_OPTS
environment variable in /etc/default/tomcat7
.
There seem to be a million different places where these variables can be provided to Tomcat, so I want to check that the values I'm providing are what's actually being used. Is there something I can inspect at runtime to determine the value of this variable. I checked System.getProperties()
, but it doesn't seem to be there.