geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Krishnakumar B" <www....@gmail.com>
Subject Re: How to resolve JMS Dependency ?
Date Tue, 08 Aug 2006 11:16:49 GMT
For referring to Queues u should use

<nam:resource-env-ref>
    <nam:ref-name></nam:ref-name>
    <admin-object-link></admin-object-link>
</nam:resource-env-ref>

or Message Destination Reference

I think both would work

http://www.chariotsolutions.com/geronimo/geronimo-1.1/web-plan.html#web-plan-refs
( You can refer to resource-env-ref for J2EE Connector Administered
Objects )

Resource Environment Ref can be used to reference JMS Destinations.

Regards
Krishnakumar

On 8/8/06, Manish Satwani <manish.satwani@gmail.com> wrote:
> Hi All,
>
> I am facing problem while deploying my ear on geronimo 1.1
>
> It is complaining regarding jms/AcevaPublisherQueue (my application need
> this)
>
> I have added this queue from console.
>
 we have acm.war file which also access (resource-ref) this queue
> and i have acevaEJB.jar which also have (resource-ref) to this queue
>
> i also added resource-link entries in geronimo-web.xml and openEJB-jar.xml
>
> this is in openEjb-jar.xml
> <session>
>             <ejb-name>CollectionService</ejb-name>
>             <jndi-name>ejb/CollectionService</jndi-name>
>             <naming:resource-ref>
>
> <naming:ref-name>jms/AcevaPublisherConnectionFactory</naming:ref-name>
>
> <naming:resource-link>jms/AcevaPublisherConnectionFactory</naming:resource-link>
>             </naming:resource-ref>
>              <naming:resource-ref>
>
> <naming:ref-name>jms/AcevaPublisherQueue</naming:ref-name>
>
> <naming:resource-link>jms/AcevaPublisherQueue</naming:resource-link>
>             </naming:resource-ref>
>         </session>
>
>
> this is in geronimo-web.xml
>
> <naming:resource-ref>
>
> <naming:ref-name>jms/AcevaPublisherQueue</naming:ref-name>
>
> <naming:resource-link>jms/AcevaPublisherQueue</naming:resource-link>
>     </naming:resource-ref>
>
>
>
> any enviroment - > depency entry needed?
>
> if yes
>
> <sys:dependency>
>                     <sys:groupId>?????</sys:groupId> (what
> should i write here)
>
> <sys:artifactId>???</sys:artifactId>(what should i write
> here)
>                 </sys:dependency>
>
>
> --
> Manish Satwani
> Senior Software Engineer
> Aceva Technologies | Unlock Your Working Capital
> A-1501, Signature Towers - I,
> South City, Gurgaon,
> Haryana – 122001
> Call at:
> +91-124-2805091/92 Ext. 35
> +91-99113-16998
> Visit: http://www.aceva.com

Mime
View raw message