Monitoring AEM author (cq-quickstart-5.6.1-standalone.jar) with JavaMelody | Community
Skip to main content
October 16, 2015
Solved

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

  • October 16, 2015
  • 1 reply
  • 718 views

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!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by JustinEd3

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

1 reply

JustinEd3Adobe EmployeeAccepted solution
Adobe Employee
October 16, 2015

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