title: NameNotFoundException: jmx-rmi
body: <p>Having an issue with remote JMX connection on Tomcat 7</p>
  
  <pre><code>ERROR: IOException trying to connect to JMX Connector Server: 
  Failed to retrieve RMIServer stub: javax.naming.NameNotFoundException: jmxrmi
  </code></pre>
  
  <p>I assume this means that jndi path (jmxrmi) is configured with an alternate name, and not jmxrmi.  But how do I find that?  How does the server indicate it wants to use a difference name?</p>
  
  <p>I think what I am looking for is the correct JNDI path for that server's JMX RMI</p>