Shifted the aggregation of the JAVA_OPTS environment variable inside the 'start' function to fix a bug where running a restart rather than a stop then start would unset the SNMP_OPTS and JMX_OPTS environment variables thereby starting the tomcat container without SNMP or JMX ports listening.
Shifted the aggregation of the JAVA_OPTS environment variable inside the 'start' function to fix a bug where running a restart rather than a stop then start would unset the SNMP_OPTS and JMX_OPTS environment variables thereby starting the tomcat container without SNMP or JMX ports listening.

geekpete/tomcatscripts