You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by Kamalanathan Raman <Ka...@infosys.com> on 2007/01/05 05:48:52 UTC

Help needed in referring to EJB using Home and Remote interface- Reg

Kevan,



I have one query , like iam using home and remote interface to refer to
another EJB . So how shud I put the references in geronimo-web.xml. I
have attached web.xml



<ejb-ref id="EjbRef_3">

        <ejb-ref-name>ejb/TransactionSession</ejb-ref-name>

        <ejb-ref-type>Session</ejb-ref-type>


<home>com.symcor.wlbx.biz.ejb.transaction.TransactionSessionHome</home>


<remote>com.symcor.wlbx.biz.ejb.transaction.TransactionSession</remote>

   </ejb-ref>



How should I add the references in Geronimo-web.xml . Currently iam
adding the EJB jars in the repository and referring to it by this way



      <ejb-ref>

            <ref-name>ejb/TransactionSession</ref-name>

            <pattern>

                  <groupId>Deploy_Lockbox</groupId>

                  <artifactId>wlbxbiz</artifactId>

                  <version>rc</version>

                  <name>TransactionSessionEJB</name>

            </pattern>

      </ejb-ref>



What is the correct way to go about it. If I don`t do this iam getting "
Could not find EJB for reference ejb/AuthenticateSession having home
interface ...and remote interface...."



Can u help me out in this regard.



Thanks and Regards,

Kamal





**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***