7 Replies Latest reply on Jul 10, 2013 4:43 PM by lu2000ck

    MBD @ResourceAdapter deployment issue with JCA inbound listener

    Sudip Bhowmik Newbie

      Trying out a simple inbound RA with MBD receiving end, but getting the following deployment error. I tried all differemt vesrions of JBoss AS 7.1.1, 7.1.2 & 7.1.3 and every time I am getting the following error. RA is getting deployed, but issue is coming when MDB is being deployed.

       

      =================================================

      13:04:10,050 INFO  [org.jboss.as.server] (HttpManagementService-threads - 1) JBAS015870: Deploy of deployment "DiameterEAR-1.0.ear" was rolled back with failure message {"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.deployment.subunit.\"DiameterEAR-1.0.ear\".\"DiameterMDB-1.0.jar\".component.MessageDrivenBean.CREATE Missing[jboss.ra.\"DiameterRAInDeploy-1.0\"]","jboss.deployment.subunit.\"DiameterEAR-1.0.ear\".\"DiameterMDB-1.0.jar\".component.MessageDrivenBean.VIEW.\"com.infyon.DiameterRAIn.DiameterMessageListener\".MESSAGE_ENDPOINT Missing[JBAS014861: <one or more t

      ransitive dependencies>]","jboss.deployment.subunit.\"DiameterEAR-1.0.ear\".\"DiameterMDB-1.0.jar\".component.MessageDrivenBean.ejb3.timerService Missing[JBAS014861: <one or more transitive dependencies>]","jboss.deployment.subunit.\"DiameterEAR-1.0.ear\".\"DiameterMDB-1.0.jar\".moduleDeploymentRuntimeInformation Missing[JBAS014861: <one or more transitive dependencies>]","jboss.deployment.subunit.\"DiameterEAR-1.0.ear\".\"DiameterMDB-1.0.jar\".component.MessageDrivenBean.START Missing[JBAS014861: <one or more transitive dependencies>]","jboss.deployment.subunit.\"DiameterEAR-1.0.ear\".\"DiameterMDB-1.0.jar\".component.MessageDrivenBean.TimedObjectInvoker Missing[JBAS014861: <one or more transitive dependencies>]"

       

      ===========================================================================================================

      The source set is attached here with.

       

      The snippet of the MDB code:

       

       

      import com.infyon.DiameterRAIn.DiameterMessageListener;

      import java.util.logging.Logger;
      import javax.ejb.ActivationConfigProperty;
      import javax.ejb.TransactionManagement;
      import javax.ejb.TransactionAttribute;
      import javax.ejb.TransactionManagementType;
      import javax.ejb.TransactionAttributeType;
      import javax.ejb.MessageDriven;
      import javax.jms.JMSException;
      import javax.jms.Message;
      import javax.jms.MessageListener;
      import javax.jms.TextMessage;

      import org.jboss.ejb3.annotation.ResourceAdapter;

      @MessageDriven(
      name = "MessageDrivenBean",
      messageListenerInterface=DiameterMessageListener.class,
      activationConfig =

            {          @ActivationConfigProperty(propertyName="ServerName",propertyValue="localhost"),          @ActivationConfigProperty(propertyName="PortNumber",propertyValue="40100"),          @ActivationConfigProperty(propertyName="UserName",propertyValue="user"),          @ActivationConfigProperty(propertyName="Password",propertyValue="pwd"),          @ActivationConfigProperty(propertyName="EventPatterns",propertyValue="myPattern")      }

      )

      @TransactionManagement(value= TransactionManagementType.CONTAINER)
      @TransactionAttribute(value= TransactionAttributeType.REQUIRED)
      @ResourceAdapter("DiameterRAInDeploy-1.0.rar")

      public class ReceiveGxMDB implements DiameterMessageListener

      {

      /** The logger */ //....

      }

       

       

      Please help me.