troubleshooting Question

Issue with Javamelody with tomcat

Avatar of gaugeta
gaugeta asked on
JavaJava EE
7 Comments1 Solution3904 ViewsLast Modified:
I have setup Javamelody in my Tomcat container to view the statistics of my currently used website.

My website is configured in server.xml as follows and is not deployed as war but the classes and the jsp files are manually copied to "/dun/student/webapps" location as shown in the mapping:

<Context path="/stud" docBase="/dun/student/webapps" crossContext="false" debug="0" reloadable="true">

I have copied the jar files javamelody.jar and jrobin- in the lib directory of my web-app.

Now I have modified the web.xml of my web-app to have the following lines and I have pasted it above my servlet declarations.


I have restarted tomcat as well.

Now I'm trying to access my java melody statistics using the url:
But I'm getting a 404 status saying requested resource is not available.

Now my web app which has many jsp files which were working fine too cannot be accessed and there too I'm getting a 404 error.
But if I remove those lines which I added for javamelody in the web.xml file my jsp can be accessed.

What am I doing wrong here.

Please advice how I can fix this.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 7 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 7 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros