JavaMelody - Monitoring of sql requests and of jdbc connections in GlassFish v3+
<p>I want to use JavaMelody to monitor the SQL requested by a Glassfish Application Server. There are step-by-step instructions on <a href="https://github.com/javamelody/javamelody/wiki/UserGuideAdvanced#monitoring-of-sql-requests-and-of-jdbc-connections-in-glassfish-v3" rel="nofollow noreferrer">https://github.com/javamelody/javamelody/wiki/UserGuideAdvanced#monitoring-of-sql-requests-and-of-jdbc-connections-in-glassfish-v3</a>, but the second step does not work for me.</p>

<p>The instruction is:</p>

<blockquote>
  <p>In the GlassFish admin console, rename your JDBC Resource (DataSource)
  from "jdbc/MyDataSource" to "jdbc/MyDataSource_uncached" for example</p>
</blockquote>

<p>I can't find any way to edit rename the JDBC Resource.</p>

<p>The following screenshot shows the JDBC data source tab of the Glassfish Admin console:
<a href="https://i.stack.imgur.com/tdTKX.png" rel="nofollow noreferrer">Edit JNDI Name of a JDBC Resource</a></p>

<p>Do you know how to rename JNDI Name of a JDBC Resource?</p>