geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard <>
Subject Referencing JCA Admin Objects
Date Thu, 17 Nov 2005 15:39:34 GMT
I have written a JCA connector that makes use of several admin objects (like
JMS queues and topics) but I am having issues referencing it from my EJB.
This works fine when referencing ActiveMQ recources but not for my own
connector. The only thing I can figure is that I am not using the proper
JNDI subcontext. If I have my own connector I thought that I needed to use
the EIS subcontext but that does not appear to work. Here are some snippets.
  Admin object definition in the deployment plan:



<config-property-setting name="Name">Value</config-property-setting>


 The resource-env-ref in the ejb-jar.xml:





 The deployment descriptor in open-ejb.xml:




 The lookup code:
 InitialContext initCtx = new InitialContext();
Object objref = initCtx
   Thanks in advace,

View raw message