1 Reply Latest reply on Aug 11, 2014 11:17 PM by jingjing jiang

    Activating a org.jboss.msc.service.Service within a static module

    Erhard Siegl Novice


      I want to use a HA-Timer along the lines of jboss-eap-quickstarts/cluster-ha-singleton. I separated the service-part from the EJB-part into two different jars. This works quite well as long as I deploy both parts. However, I would like to install the service-part as static module. This didn't work (org.jboss.msc.service.ServiceNotFoundException), since it seems that the services are not activated in a static module (META-INF/services/org.jboss.msc.service.ServiceActivator is not started?).

      Is there a simple way to activate services within a static module or would I have to write a subsystem?