Created attachment 492200 [details] Patch for the aformentioned issue. Description of problem: As reported from the field: Currently the QpidDestinationProxy class that is responsible for allowing JMS destinations to be bound into a JNDI tree for use does not work in alternate application servers being that the QpidDestinationProxy is being returned directly, rather than the Referenceable objects that it produces. As a result, on alternate platforms, ClassCastExceptions resulted threby rendering the adapter unusable in non JBoss environments. Version-Release number of selected component (if applicable): Current development version of the Qpid JCA adapter Steps to Reproduce: 1.Deploy the adapter and run any application code in alternate application server. Actual results: ClassCastExceptions as expected objects do not correctly implement required interfaces. Additional info: Again, this has been reported in the field and as such the patch was provided by our consulting arm with a few minor modifications. I have attached a patch that fixes the issue. This work will also be integrated by the JCA team via standard SCM channels
*** This bug has been marked as a duplicate of bug 700494 ***