File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Problems with Java Melody Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Problems with Java Melody" Watch "Problems with Java Melody" New topic
Author

Problems with Java Melody

sankey jain
Ranch Hand

Joined: Apr 29, 2010
Posts: 58
hi all,

i am getting the HTTP 404 error while trying to install java melody into my application




i have also placed the jar files in the lib folder.
when i try to access the monitoring url, it gives me a 404 error

i am accessing the application via https://10.20.169.170:8081/conflict/monitoring
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9910
    
158

Sankey, is that complete web.xml?

i am accessing the application via https://10.20.169.170:8081/conflict/monitoring


Assuming "conflict" is the context of your deployed web application, I don't see a servlet-mapping for "monitoring" in your web.xml.

[My Blog] [JavaRanch Journal]
sankey jain
Ranch Hand

Joined: Apr 29, 2010
Posts: 58
Jaikiran Pai wrote:Sankey, is that complete web.xml?

i am accessing the application via https://10.20.169.170:8081/conflict/monitoring


Assuming "conflict" is the context of your deployed web application, I don't see a servlet-mapping for "monitoring" in your web.xml.


Hi JaiKiran,

Yes, you were right. we fixed that. now melody is up.
but we now have another challenge, the sql transactions are not being recorded, table remains empty all the time

we are using hibernate with c3po pooling. are there any exclusive configurations to be made for hibernate ?
sankey jain
Ranch Hand

Joined: Apr 29, 2010
Posts: 58
sankey jain wrote:
Jaikiran Pai wrote:Sankey, is that complete web.xml?

i am accessing the application via https://10.20.169.170:8081/conflict/monitoring


Assuming "conflict" is the context of your deployed web application, I don't see a servlet-mapping for "monitoring" in your web.xml.


Hi JaiKiran,

Yes, you were right. we fixed that. now melody is up.
but we now have another challenge, the sql transactions are not being recorded, table remains empty all the time

we are using hibernate with c3po pooling. are there any exclusive configurations to be made for hibernate ?


we referred to the advanced documentation on melody present in google groups.
it had exclusive configuration for hibernate. once we included that, sql transactions were being recorded as well
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problems with Java Melody
 
Similar Threads
Error JSF 2.1: java.io.FileNotFoundException:*/*.xhtml Not Found in ExternalContext
NullPointerException in AutoScrollPhaseListener
Having issues with Tomcat 6.x
Error page configured in web.xml not working
Deployment Exception