title: Adding -javaagent to Tomcat 6 server, where do I put it and in what format?
body: <p>I´m trying to install an application  health monitoring application that can monitor J2EE web transactions and I need to put a javaagent into my Tomcat somehow but am not clear on exactly how to do this, I am using Linux and have been instructed by the software company that makes this product to do something like below:</p>
  
  <pre><code>-javaagent:&lt;Path to the WebTransactionAgent.jar&gt;
  </code></pre>
  
  <p>I have received further support from them and they basically said to put this into the appropriate .sh file (but they weren´t able to tell me which file that is for Tomcat)</p>
  
  <p>I tried putting this in the catalina.sh file but it does not seem to be working:</p>
  
  <pre><code>JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m -XX:MaxPermSize=256m -javaagent:"C:\WebTransactionAgent.jar"
  </code></pre>
  
  <p>Any advice is appreciated</p>