Expand my Community achievements bar.

SOLVED

Monitoring AEM author (cq-quickstart-5.6.1-standalone.jar) with JavaMelody

Avatar

Level 1

Hi - we are looking to monitor our author instance (running on a CentOS 6.5 host) with JavaMelody

https://code.google.com/p/javamelody/

The usual install method we use with our other tomcat apps does not seem to apply (there is no WEB-INF/lib I can find to drop the javamelody jar)

Can anyone offer some advice how to get JavaMelody going here?

Thanks!

1 Accepted Solution

Avatar

Correct answer by
Employee

Hi,

You might want to take a look at this old-ish issue: https://code.google.com/p/javamelody/issues/detail?id=168

Essentially, you'll need javamelody and its dependencies to be OSGi bundles and also use the HttpService to register the filter and listeners used by JavaMelody (see http://felix.apache.org/documentation/subprojects/apache-felix-http-service.html for information on how to do that).

Depending on how OSGi-friendly (which tend to be mostly around the use/abuse of classloaders and other random Java platform assumptions) the library is, that shouldn't be too much effort.

Regards,

Justin

View solution in original post

1 Reply

Avatar

Correct answer by
Employee

Hi,

You might want to take a look at this old-ish issue: https://code.google.com/p/javamelody/issues/detail?id=168

Essentially, you'll need javamelody and its dependencies to be OSGi bundles and also use the HttpService to register the filter and listeners used by JavaMelody (see http://felix.apache.org/documentation/subprojects/apache-felix-http-service.html for information on how to do that).

Depending on how OSGi-friendly (which tend to be mostly around the use/abuse of classloaders and other random Java platform assumptions) the library is, that shouldn't be too much effort.

Regards,

Justin