Details

    • Type: Story
    • Status: Closed (View Workflow)
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.0.0.Alpha6
    • Component/s: None
    • Labels:
      None

      Description

      Now I'm creating WildFly Swarm MDB sample.

      https://github.com/emag/wildfly-swarm-examples/tree/mdb-spike/messaging-mdb

      But, I got the following deployment error.

       sh
      Caused by: org.jboss.msc.service.ServiceNotFoundException:
        Service service jboss.ejb.default-resource-adapter-name-service not found
      

      full logs

      So, I just added default-resource-adapter-name attribute in EJBConfiguration.

       diff
      $ git di
      diff --git a/ejb/runtime/src/main/java/org/wildfly/swarm/ejb/runtime/EJBConfiguration.java b/ejb/runtime/src/main/java/org/wildfly/swarm/ejb/runtime/EJBConfiguration.java
      index 3fe10f7..92b212b 100644
      --- a/ejb/runtime/src/main/java/org/wildfly/swarm/ejb/runtime/EJBConfiguration.java
      +++ b/ejb/runtime/src/main/java/org/wildfly/swarm/ejb/runtime/EJBConfiguration.java
      @@ -49,6 +49,7 @@ public class EJBConfiguration extends AbstractServerConfiguration<EJBFraction> {
               node.get("default-singleton-bean-access-timeout").set(5000);
               node.get("default-security-domain").set("other");
               node.get("default-missing-method-permissions-deny-access").set("true");
      +        node.get("default-resource-adapter-name").set("activemq-ra.rar");
               node.get("log-system-exceptions").set("true");
               list.add(node);
      

      https://github.com/emag/wildfly-swarm/commit/0ade836a2bbac0df2d9ef7c46e7187bca3cdc4e4

      Then, the error changed to the following one.

       sh
      ERROR [org.jboss.as.controller.management-operation] (main) WFLYCTL0013: Operation ("add") failed
        - address: (("deployment" => "5820c5f3-0937-4cad-b403-7802f96be063.war"))
        - failure description: {
          "WFLYCTL0180: Services with missing/unavailable dependencies" => 
            ["jboss.deployment.unit.\"5820c5f3-0937-4cad-b403-7802f96be063.war\".component.MyTopicMDB.CREATE is missing [
                jboss.ra.activemq-ra
              ]"
            ]
          }
      

      full logs

      Do we need resource-adapters fraction or something ?

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                emag Yoshimasa Tanabe
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: