Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Brian Cohen
what is the URL for a javamelody installation into webapps/ROOT
July 12, 2012 7:41 PM
Answer

Brian Cohen

Rank: Junior Member

Posts: 25

Join Date: May 3, 2012

Recent Posts

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:

 1
 2<filter>
 3         <filter-name>monitoring</filter-name>
 4           <filter-class>net.bull.javamelody.MonitoringFilter</filter-class>
 5</filter>
 6<filter-mapping>
 7        <filter-name>monitoring</filter-name>
 8         <url-pattern>/*</url-pattern>
 9</filter-mapping>
10<listener>
11        <listener-class>net.bull.javamelody.SessionListener</listener-class>
12 </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
David H Nebinger
RE: what is the URL for a javamelody installation into webapps/ROOT
July 12, 2012 8:38 PM
Answer

David H Nebinger

Community Moderator

Rank: Liferay Legend

Posts: 11321

Join Date: September 1, 2006

Recent Posts

According to the javamelody user guide, you use:

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


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
RE: what is the URL for a javamelody installation into webapps/ROOT
July 13, 2012 5:29 AM
Answer

Brian Cohen

Rank: Junior Member

Posts: 25

Join Date: May 3, 2012

Recent Posts

David H Nebinger:
According to the javamelody user guide, you use:

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


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:

1
2Not Found
3
4The requested resource was not found.
5
6http://insider.corero-cns.com:8080/monitoring
Rob Hall
RE: what is the URL for a javamelody installation into webapps/ROOT
March 10, 2014 2:43 PM
Answer

Rob Hall

Rank: Junior Member

Posts: 47

Join Date: November 30, 2011

Recent Posts

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
RE: what is the URL for a javamelody installation into webapps/ROOT
March 27, 2014 7:27 AM
Answer

sampath kumar

Rank: New Member

Posts: 1

Join Date: March 27, 2014

Recent Posts

please say , finally how you access the monitoring link. i too did the same thing and got struck, please help me emoticon