title: Cannot load this JVM TI agent twice
body: <p>Tomcat is installed as windows service. I want to attach a debugger to it. It fails to start when I add the related JVM options to command line:</p>
  
  <pre><code>d:\Projects\bin\tomcat\jira-it\bin&gt;tomcat6.exe //TS//mysvc ++JvmOptions -Xrunjdwp:transport=dt_socket,address=0.0.0.0:8787,server=y,suspend=y
  ERROR: Cannot load this JVM TI agent twice, check your java command line for duplicate jdwp options.
  Error occurred during initialization of VM
  agent library failed to init: jdwp
  </code></pre>
  
  <p>Where else does tomcat service store its options? <code>catalina.bat</code> has nothing to do with it. I also didn't find anything in <code>conf</code> directory. There are no <code>CATALINA_*</code> or <code>JAVA_*</code> env. vars except <code>JAVA_HOME</code></p>
  
  <p>When started without my options tomcat prints a message:</p>
  
  <pre><code>Listening for transport dt_socket at address: 8003 
  </code></pre>
  
  <p>But no file in <code>bin/</code> of <code>conf/</code> contain the word "8003"</p>