Foros de discusión

what is the URL for a javamelody installation into webapps/ROOT

Brian Cohen, modificado hace 11 años.

what is the URL for a javamelody installation into webapps/ROOT

Junior Member Mensajes: 25 Fecha de incorporación: 4/05/12 Mensajes recientes
I have basically a default installation of Liferay 6.1 EE Tomcat bundle, with no customization to the friendly URL or Virtual Host settings. So the URL is https://liferay.company.com/web/guest.

I installed JavaMelody by putting the jars in <tomcat_install>/webapps/ROOT/WEB-INF/lib, and set the standard configuration lines in the web.xml as:


<filter>
         <filter-name>monitoring</filter-name>
           <filter-class>net.bull.javamelody.MonitoringFilter</filter-class>
</filter>
<filter-mapping>
        <filter-name>monitoring</filter-name>
         <url-pattern>/*</url-pattern>
</filter-mapping>
<listener>
        <listener-class>net.bull.javamelody.SessionListener</listener-class>
 </listener>


But I cannot figure out what actual URL to point to to access JavaMelody. I tried https://liferay.company.com/web/guest/monitoring, but nothing. Does any one know this, I know I am missing something silly here emoticon
thumbnail
David H Nebinger, modificado hace 11 años.

RE: what is the URL for a javamelody installation into webapps/ROOT

Liferay Legend Mensajes: 14919 Fecha de incorporación: 2/09/06 Mensajes recientes
According to the javamelody user guide, you use:

http://<host>/<context>/monitoring</context></host>


where <host> is the name of the server where the webapp is deployed, followed possibly by the port (for example localhost:8080) and where <context> is the name of the context of the webapp which you have configured during the deployment thereof.

Since the context is the root server, you should be able to use http://localhost:8080/monitoring to access the javamelody page.
Brian Cohen, modificado hace 11 años.

RE: what is the URL for a javamelody installation into webapps/ROOT

Junior Member Mensajes: 25 Fecha de incorporación: 4/05/12 Mensajes recientes
David H Nebinger:
According to the javamelody user guide, you use:

http://<host>/<context>/monitoring</context></host>


where <host> is the name of the server where the webapp is deployed, followed possibly by the port (for example localhost:8080) and where <context> is the name of the context of the webapp which you have configured during the deployment thereof.

Since the context is the root server, you should be able to use http://localhost:8080/monitoring to access the javamelody page.


I know, I tried my non-SSL URL, and get the following error, same as with SSL:


Not Found

The requested resource was not found. 

http://insider.corero-cns.com:8080/monitoring

Rob Hall, modificado hace 10 años.

RE: what is the URL for a javamelody installation into webapps/ROOT

Junior Member Mensajes: 47 Fecha de incorporación: 30/11/11 Mensajes recientes
Rob Hall:
Has anyone found a solution for this? I'd like to get Java Melody going with a client's 6.1 EE GA2 instance to help diagnose why it keeps locking up/maxing out memory usage.


It worked all the time..what I didn't realize is I have to be logged in as Administrator to go to the URL. The downside to be logged in is it negates using the Javamelody collect server approach as far as I can tell.
sampath kumar, modificado hace 10 años.

RE: what is the URL for a javamelody installation into webapps/ROOT

New Member Mensaje: 1 Fecha de incorporación: 27/03/14 Mensajes recientes
please say , finally how you access the monitoring link. i too did the same thing and got struck, please help me emoticon