by, 11-06-2011 at 06:16 PM (888 Views)
JBoss core services are listed in conf/jboss-service.xml file. These services are started first when the server starts up. You may open the file in any test editor or in some XML editor. You will see MBeans for various services including logging, security, JNDI. You may comment any service for example:
Now if you restart JBoss, you wont see the JNDIView service in the management console listing. In normal practice, you very seldom needs to alter this file. Remember that the services listed in jboss-service.xml are not hot deployable – which means server restart is required. If you want hot deployment, then use a separate file in the deploy directory.