Questions tagged [java-melody]

The goal of JavaMelody is to monitor Java or Java EE application servers in QA and production environments

The goal of JavaMelody is to monitor Java or Java EE application servers in QA and production environments. It is not a tool to simulate requests from users, it is a tool to measure and calculate statistics on real operation of an application depending on the usage of the application by users.

See https://github.com/javamelody/javamelody/wiki

126 questions
7
votes
4 answers

Restrict access to java-melody monitoring url

Is there a way I can restrict access to /monitoring url generated by Java-Melody plugin in Grails using Shiro roles? Update: a little bit more details. It's no problem so secure most Grails ressources with shiro. But in case of the java melody…
AverageJoe
  • 436
  • 4
  • 13
7
votes
2 answers

Monitoring spring beans with JavaMelody in Spring-Boot project

I'm trying to monitor a REST application based on the Spring tutorial Building a RESTful Web Service but in the Java Melody documentation page the configuration depends of the web.xml file, but the spring project does not have such file. I tried by…
gamerkore
  • 1,105
  • 1
  • 11
  • 16
7
votes
0 answers

How to log JPA/SQL queries with JavaMelody?

I have found the following manual https://code.google.com/p/javamelody/wiki/UserGuideAdvanced#JPA_monitoring It contains some info regarding the changes I should make in persistence.xml in order to let JavaMelody gather JPA/SQL statistics. However,…
Roman
  • 64,384
  • 92
  • 238
  • 332
6
votes
1 answer

Grails connection pool - connections not closing?

I have a grails/groovy web-app with database connection pooling. The settings are set-up like this: dataSource: url: "jdbc:postgresql://192.168.100.53:5432/bhub_dev" properties: jmxEnabled: true initialSize: 5 …
6
votes
1 answer

How to configure JavaMelody to Monitor Jdbc Connections in C3p0 DataSource

I'm using Spring configuration file to configure C3P0. To monitor DataSource I configured net.bull.javamelody.SpringDataSourceFactoryBean as mentioned in the user guide of javamelody. But my report is showing 0 Active jdbc connections where as my…
udaybhaskar
  • 159
  • 5
  • 16
5
votes
3 answers

How to make Javamelody use different port (Spring Boot+two HTTP ports exposed)

I have Spring Boot web application. It exposes REST API on port 8080. It also exposes management port 8081 with Spring Boot Management endpoints (http://docs.spring.io/spring-boot/docs/current/reference/html/production-ready-monitoring.html). I do…
Bartosz Bilicki
  • 12,599
  • 13
  • 71
  • 113
4
votes
2 answers

Default Interceptors in CDI Beans

I have a question. Whenever we have EJB jars
ArturSkowronski
  • 1,722
  • 13
  • 17
4
votes
1 answer

Big number of http sessions in grails

I'm running grails 2.2.4 app on tomcat7 and Linux server. I see in JavaMelody monitoring (plugin) that there are over 1000 http sessions opened while only about 10 users are logged in. What's more, all those sessions not connected to users (I can…
pawels
  • 1,070
  • 1
  • 10
  • 16
4
votes
4 answers

Change the storage-directory of javamelody

I need to monitor java application and I am using javamelody. But the problem is, I have to get the data that javamelody has so I can show it in another screen. I know that javamelody store its rdd files in temp/javamelody directory, now I need to…
Algorithman
  • 1,309
  • 1
  • 16
  • 39
3
votes
2 answers

JavaMelody brakes Spring Boot tests

The application is developed on Spring Boot 2.0.1. I include the next dependency to be able to use JavaMelody - dependency("net.bull.javamelody:javamelody-spring-boot-starter:1.72.0") JavaMelody configuration: javamelody: …
Alexander Kuzmenko
  • 529
  • 1
  • 12
  • 32
3
votes
2 answers

Used jdbc connections seem to be leaking and I cannot figure out why

I have been fighting with this issue for ages and I cannot for the life of me figure out what the problem is. Let me set the stage for the stack we are using: Web-based Java 8 application GWT Hibernate 4.3.11 MySQL MongoDB Spring Tomcat 8 (incl…
brent777
  • 3,369
  • 1
  • 26
  • 35
3
votes
1 answer

How to convert web.xml code to java config for java melody

Is it possible to completely eliminate web.xml from a project and convert it into Java configuration? How to convert the following web.xml to java configuration? I have gone through few links for understanding this Some of them are : How to replace…
svs teja
  • 957
  • 2
  • 22
  • 43
3
votes
1 answer

java.io.IOException: Stream closed - on Tomcat 8 - JavaMelody - JAX WS

I have upgraded my Tomcat from Version 7 to Version 8.0.30. Everything works fine until a WebService method is called, which should return a result. [Edit: 25.01.2016] It seems that the response is empty, not even a root tag can be found. When I…
Klaus Ertl
  • 1,234
  • 1
  • 12
  • 21
3
votes
0 answers

How can I export collected metrics data from web application using javamelody

I have my web application in production mode using javamelody APIs, collecting daily metrics for last 2 months. I want to export the collected data metrics from production environment and ship the data to test environment to do report analysis. I…
3
votes
1 answer

Clarification for Javamelody in Tomcat

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…
Dark Matter
  • 2,231
  • 3
  • 17
  • 31
1
2 3
8 9