While deploying our application, we are facing issue while trying to look for loaded class sun.instrument.InstrumentationImpl we are unable to find it although it is part rt.jar. I heard that JBoss uses classloader other than System class loader.
I tried to diagnose this by adding "-verbose:class" and found that some of the sun packages like sun.nio etc getting loaded but not sun.instrument.
Please help me understand how can we make sure that a given package is loaded? Do we have any custom configuration?
FYI.... same application works in other Application servers like Weblogic, Tomcat and websphere.