• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problems with Java Melody

 
sankey jain
Ranch Hand
Posts: 58
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
sankey jain
Ranch Hand
Posts: 58
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 58
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic