Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-2068

Cannot use other JMS provider deployed as resource adapter (RAR)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 7.0.2.Final
    • EJB
    • None

      I've configured JBoss AS 7.0.1.Final without messaging subsystem.
      A resource adapter (sonicmq-jms-ra.rar) has been successfully deployed to JBoss - JNDI references exists.

      [org.jboss.as.server.deployment] (MSC service thread 1-1) Starting deployment of "sonicmq-jms-ra.rar"
      [org.jboss.as.connector.metadata.deployment.ResourceAdapterXmlDeploymentService$AS7RaXmlDeployer] (MSC service thread 1-1) Registered connection factory java:/ConnectionFactory
      [org.jboss.as.connector.metadata.deployment.ResourceAdapterXmlDeploymentService$AS7RaXmlDeployer] (MSC service thread 1-1) IJ020002: Deployed: file:/E:/jboss/jboss-as-7.0.2.Final/standalone/tmp/vfs/tempffbd2948ba3869df/sonicmq-jms-ra.rar-14d86ac7606f92a7/contents/
      [org.jboss.as.deployment.connector] (MSC service thread 1-1) Starting sevice service jboss.ra.sonicmq-jms-ra_1
      

      But it is not possible to use that JMS-RA for MessageDrivenBeans.

      I tried to add

              <subsystem xmlns="urn:jboss:domain:ejb3:1.1" lite="false">
                  <mdb>
                      <resource-adapter-ref resource-adapter-name="sonicmq-jms-ra"/>
                  </mdb>
      

      and

              <subsystem xmlns="urn:jboss:domain:ejb3:1.1" lite="false">
                  <mdb>
                      <resource-adapter-ref resource-adapter-name="deployment.sonicmq-jms-ra"/>
                  </mdb>
      

      Both fail with either

      ServiceNotFoundException: Service service sonicmq-jms-ra not found
      

      or

      IllegalStateException: No resource adapter registered with resource adapter name deployment.sonicmq-jms-ra
      

      I tried to figure out how hornetq-ra is added as a resource adapter to JBoss 7 (wanted to add sonicmq-jms-ra as a subsystem/service) - but there's no documentation how to do that.

      It would be nice to have a solution/workaround quickly - because my evalutation copy will expire in a few days.

              rhn-engineering-cdewolf Carlo de Wolf
              snazy0 Robert Stupp (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: