4 Replies Latest reply on Aug 25, 2012 7:22 AM by balind7

    Disable JMS messaging completely

    balind7

      Hello,

       

      we have no need for JMS in our application.

      We are using the standard standalone.xml configuration. In this configuration <subsystem xmlns="urn:jboss:domain:messaging:1.1"> is not activated.

       

      But it seems to be that the corresponding modules like org.jboss.as.messaging and org.hornetq are loaded at jboss startup.

      I removed org.jboss.as.messaging and org.hornetq from the module directory for test purposes

       

      This leads to exceptions at startup:

      13:51:04,444 WARN  [org.jboss.modules] Failed to define class com.arjuna.ats.arjuna.coordinator.TxStats in Module "org.jboss.jts:main"

      from local module loader @1f9805f (roots: /opt/example/Suite/jboss/modules):

      org.jboss.modules.ModuleLoadError: Module org.hornetq:main is not found in local module loader @1f9805f

      (roots: /opt/example/Suite/jboss/modules)

          at org.jboss.modules.ModuleLoadException.toError(ModuleLoadException.java:78)

          ....

       

      It seems to be that hornetq is not only used from the jboss messaging system but also from other modules:

      directly from org/jboss/jts,

      indirectly from org/jboss/as/transactions, org/jboss/as/connector, org/jboss/as/jpa, org/jboss/as/ejb3, org/jboss/xts, org/omg/api

       

      It there a way to disable and remove hornetq completely? There are problems to deal with hornetq's native libs on different linux platforms.

       

      Thanks

      Baerbel