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">

Open in new window

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.


Open in new window

I have restarted tomcat as well.

Now I'm trying to access my java melody statistics using the url:

Open in new window

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.

Open in new window

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.
IT Business Systems Analyst / Software Developer

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Top Expert 2015

The Distinguished Expert awards are presented to the top veteran and rookie experts to earn the most points in the top 50 topics.

Join our community to see this answer!
Unlock 1 Answer and 7 Comments.
Start Free Trial
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