How to determine which classes were loaded from where in JBoss

I seem to remember some function in the JMX console that allows you to enter a class name and see the class loaders that loaded it, and from which resources the class was loaded. Sorry, I can not find this. For standalone applications, I always used the JWhich tool to get this information.

+3
source share
2 answers

I am using JBoss 4.2.0 GA, and in the JMX console I found my component with type archive == . This MBean shows:

MBean Java Class:   org.jboss.mx.loading.HeirarchicalLoaderRepository3

Then I just needed to call:

displayClassInfo()

with my full class name.

+2
source

JBoss Profiler .

0

Source: https://habr.com/ru/post/1717777/


All Articles