I have created a war file and deployed it. the war file contains under lib directory jmx-ref.jar. I want my servlet to use my jmx-ref.jar instead of the one that comes with jboss for my servlet. But always it uses the jmx.jar whic comes with jboss. Can some one tell me how to do this?
won't work, JBoss boots with JBossMX as its jmx implementation, your servlet can't override these classes