留言板

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

Brian Cohen,修改在11 年前。

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

Junior Member 帖子: 25 加入日期: 12-5-4 最近的帖子
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,修改在11 年前。

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

Liferay Legend 帖子: 14918 加入日期: 06-9-2 最近的帖子
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,修改在11 年前。

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

Junior Member 帖子: 25 加入日期: 12-5-4 最近的帖子
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,修改在10 年前。

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

Junior Member 帖子: 47 加入日期: 11-11-30 最近的帖子
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,修改在10 年前。

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

New Member 发布: 1 加入日期: 14-3-27 最近的帖子
please say , finally how you access the monitoring link. i too did the same thing and got struck, please help me emoticon