miaoyf / javamelody

Automatically exported from code.google.com/p/javamelody
0 stars 0 forks source link

wiki: add info to Advanced user guide about class loading problems #426

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
I had an EAR deployed on JBoss 5, with a WAR file inside it.
I use Maven for making the EAR and WAR.
I had not used "provided scope" for the javamelody in the WAR, so the 
javamelody jar file were present in both EAR/lib and WARs WEB-INF/lib.

This caused the Ejb counters to not appear in monitoring web app output, since 
there were two instances of the counter, one for each class loader.

I will attach a patch to provide more info about this in the adv. user guide, 
so others do not have to suffer the same problem.

Original issue reported on code.google.com by alf.hoge...@gmail.com on 9 Aug 2014 at 2:04

GoogleCodeExporter commented 8 years ago
Suggested text to add on wiki page

Original comment by alf.hoge...@gmail.com on 9 Aug 2014 at 2:05

Attachments:

GoogleCodeExporter commented 8 years ago
I have included it, a bit modified (revision 3887).
Thanks.

Original comment by evernat@free.fr on 10 Aug 2014 at 8:42