title: Setting CATALINA_OPTS for tomcat6 on windows doesn't work
body: <p>I'm trying to setup Tomcat6 to work with JMX on Windows Vista 64.</p>
  
  <p>To do that I need to pass the parameters below to Tomcat6.</p>
  
  <p>What I do in command prompt. (that doesn't work)</p>
  
  <pre><code>set CATALINA_OPTS="-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9898 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false"
  tomcat6.exe
  </code></pre>
  
  <p>What I do that does work (but causes other problems)</p>
  
  <pre><code>java -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9898 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -jar bootstrap.jar
  </code></pre>
  
  <p>It seems as if tomcat is just ignoring the environment variable CATALINA_OPTS.
  Am I doing something wrong?</p>
  
  <p>--- Update - Since writing this i've tried to edit catalina.bat and define the variable CATALINA_OPTS there. No success. (tried adding the parameters to JAVA_OPTS too, no success either)</p>
  
  <p>Thanks in Advance!!</p>