[jboss-jira] [JBoss JIRA] (AS7-2068) Cannot use other JMS provider deployed as resource adapter (RAR)

Robert Stupp (Created) (JIRA) jira-events at lists.jboss.org
Tue Oct 11 07:53:16 EDT 2011


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

                 Key: AS7-2068
                 URL: https://issues.jboss.org/browse/AS7-2068
             Project: Application Server 7
          Issue Type: Bug
          Components: EJB
    Affects Versions: 7.0.2.Final
            Reporter: Robert Stupp
            Assignee: Carlo de Wolf


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.
{noformat}
[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
{noformat}

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

I tried to add 
{noformat}
        <subsystem xmlns="urn:jboss:domain:ejb3:1.1" lite="false">
            <mdb>
                <resource-adapter-ref resource-adapter-name="sonicmq-jms-ra"/>
            </mdb>
{noformat}
and
{noformat}
        <subsystem xmlns="urn:jboss:domain:ejb3:1.1" lite="false">
            <mdb>
                <resource-adapter-ref resource-adapter-name="deployment.sonicmq-jms-ra"/>
            </mdb>
{noformat}


Both fail with either
{noformat}
ServiceNotFoundException: Service service sonicmq-jms-ra not found
{noformat}
or
{noformat}
IllegalStateException: No resource adapter registered with resource adapter name deployment.sonicmq-jms-ra
{noformat}

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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list