Chris Pike created QPID-5058:
--------------------------------

             Summary: QPID JCA 0.22 on JBoss 5.1 Examples Throw Errors
                 Key: QPID-5058
                 URL: https://issues.apache.org/jira/browse/QPID-5058
             Project: Qpid
          Issue Type: Bug
          Components: JCA
    Affects Versions: 0.22
         Environment: Jboss 5.1 with jboss esb
            Reporter: Chris Pike


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)



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to