title: Profiling a Play framework application (2.0.2) through VisualVM
body: <p>I'm having some serious problems regarding my Play! Applications performance. I already tried to change the server and the data base, but the slowness persists.</p>
  <p>Using Firebug to measure my http requests I found out that they are taking around 20 seconds just to start replying.</p>
  <p>So my last hope is to use VisualVM to profile my application and find its bottle necks. But I don't know the proper way of passing some arguments like <code>-Dcom.sun.management.jmxremote</code> without messing with the global <code>JAVA_OPTS</code> variable.</p>
  <p>Thanks again!</p>