Let the jar file remain in the default/lib folder.
When you remove the jar file it throws and classnotfounderrror which is an indication that
you MBean is being picked up. What are the contents of com.management.JBossStartupClass
class? How are you verifying that the startup class is not being called? If you add a
System.out.println message in the startService method of the startup class, do you see the
message in the logs?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4189738#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...