Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-5058

QPID JCA 0.22 on JBoss 5.1 Examples Throw Errors

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.22
    • 0.25
    • JCA
    • None
    • Jboss 5.1 with jboss esb

    Description

      Using the examples provided here http://svn.apache.org/repos/asf/qpid/tags/0.22/qpid/java/jca/README-JBOSS.txt

      I can successfully deploy the RA file, but when trying to create a queue or topic using the following mbean xml

      <mbean code="org.jboss.resource.deployment.AdminObject"
      name="qpid.jca:name=HelloQueue">
      <attribute name="JNDIName">Hello</attribute>
      <depends optional-attribute-name="RARName">jboss.jca:service=RARDeployment,name='qpid-ra-0.22.rar'</depends>
      <attribute name="Type">javax.jms.Destination</attribute>
      <attribute name="Properties">
      DestinationAddress=amq.direct
      </attribute>
      </mbean>

      I get the following error

      Deployment "vfsfile:/opt/jboss-esb/server/soi/deploy/qpid-jca-ds.xml" is in error due to the following reason(s): org.jboss.deployers.spi.DeploymentException: No admin object metadata type=javax.jms.Destination ra=jboss.jca:service=RARDeployment,name='qpid-ra-0.22.rar'

      at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:993)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:939)
      at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:873)
      at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.checkComplete(MainDeployerAdapter.java:128)
      at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:369)
      at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
      at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      at java.lang.Thread.run(Thread.java:636)

      Attachments

        Issue Links

          Activity

            People

              wprice Weston M. Price
              pike1212 Chris Pike
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: