1 Reply Latest reply on Feb 6, 2017 8:20 AM by Shashikala G

    WFLYEJB0405: No EJB found with interface of type

    Shashikala G Newbie

      Hello everybody,

      I'm trying to upgrade my application from Jboss 5.1.0  to WIldfly 10.1.0 final.

      When I deploy my application I am getting many errors  WFLYEJB0405: No EJB found with interface of type.

       

      Please find the attached standalone-full.xml,error log for reference.

       

      My MDB

      @MessageDriven(name= "MDBInventoryBeanDecorator", messageListenerInterface = MessageListener.class, activationConfig = {

         @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"),

         @ActivationConfigProperty(propertyName = "destination", propertyValue = "jms/DecorateInventoryItemQueue"), 

         @ActivationConfigProperty(propertyName = "acknowledgeMode", propertyValue = "Auto-acknowledge"),

         @ActivationConfigProperty(propertyName = "maxSession", propertyValue = "30") })

       

      standalone-full.xml as shown below:

      <jms-queue name="DecisionInsertionQueue" entries="jms/DecisionInsertionQueue java:jboss/exported/jms/DecisionInsertionQueue"/>

       

      ejb-jar.xml

      <message-driven>

        <ejb-name>MDBInsertPackageProcessDetailBean</ejb-name>

        <activation-config>

        <activation-config-property>

        <activation-config-property-name>destination</activation-config-property-name>

        <activation-config-property-value>jms/DecisionInsertionQueue</activation-config-property-value>

        </activation-config-property>

        <activation-config-property>

        <activation-config-property-name>destinationType</activation-config-property-name>

        <activation-config-property-value>javax.jms.Queue</activation-config-property-value>

        </activation-config-property>

        <activation-config-property>

        <activation-config-property-name>acknowledgeMode</activation-config-property-name>

        <activation-config-property-value>Auto-acknowledge</activation-config-property-value>

        </activation-config-property>

        <activation-config-property>

        <activation-config-property-name>maxSession</activation-config-property-name>

        <activation-config-property-value>100</activation-config-property-value>

        </activation-config-property>

        </activation-config>

        <env-entry>

        <env-entry-name>RulesApplierClass</env-entry-name>

        <env-entry-type>java.lang.String</env-entry-type>

        <env-entry-value>uk.co.tui.ejb.Phase2ApplyRulesService</env-entry-value>

        </env-entry>

        </message-driven>

       

      jboss.xml

       

      <message-driven>

            <ejb-name>MDBInventoryBeanDecorator</ejb-name>

            <aop-domain-name>mdec</aop-domain-name>

        </message-driven>

       

      Has anyone been into such issue and fixed it. Any help will be appreciated. Thanks in advance

        • 1. Re: WFLYEJB0405: No EJB found with interface of type
          Shashikala G Newbie

          correcting the queue name

           

          standalone-full.xml as shown below:

          <jms-queue name="DecorateInventoryItemQueue" entries="jms/DecorateInventoryItemQueue java:jboss/exported/jms/DecorateInventoryItemQueue"/>

           

          ejb-jar.xml

          <message-driven>

            <ejb-name>MDBInsertPackageProcessDetailBean</ejb-name>

            <activation-config>

            <activation-config-property>

            <activation-config-property-name>destination</activation-config-property-name>

            <activation-config-property-value>jms/DecorateInventoryItemQueue</activation-config-property-value>

            </activation-config-property>

            <activation-config-property>

            <activation-config-property-name>destinationType</activation-config-property-name>

            <activation-config-property-value>javax.jms.Queue</activation-config-property-value>

            </activation-config-property>

            <activation-config-property>

            <activation-config-property-name>acknowledgeMode</activation-config-property-name>

            <activation-config-property-value>Auto-acknowledge</activation-config-property-value>

            </activation-config-property>

            <activation-config-property>

            <activation-config-property-name>maxSession</activation-config-property-name>

            <activation-config-property-value>100</activation-config-property-value>

            </activation-config-property>

            </activation-config>

            <env-entry>

            <env-entry-name>RulesApplierClass</env-entry-name>

            <env-entry-type>java.lang.String</env-entry-type>

            <env-entry-value>uk.co.tui.ejb.Phase2ApplyRulesService</env-entry-value>

            </env-entry>

            </message-driven>