Removing non-required services can reduce the memory footprint as well as simplifying configuration for your application. To remove JBoss services, consider deleting the services listed below from the deploy
(or deploy-hasingleton
) directory.
Warning: The jboss-service.xml
found in the configdir
/conf
directory should never be deleted or moved.
Consider whether you might be able to remove the following services:
JBoss Mail (
mail-ra.rar
,mail-service.xml
)HA-JMS (in the
deploy-hasingleton
directory of theall
configuration)HA-JNDI ( in
all/deploy/cluster-service.xml
, search for HAJNDI)UUID Key Generator (used only for CMP,
uuid-keygenerator.sar
)Monitoring (monitor JMX changes, in
monitoring-service.xml
)Scheduling (schedule tasks to execute, in s
chedule-manager-service.xml
andscheduler-service.xml
)EJB3 related services; see
<JBdir>/server/
configdir
/conf/jboss-service.xml