geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Mulder" <>
Subject Re: How to refer to an external resource from web.xml
Date Mon, 07 Aug 2006 23:57:31 GMT
For Geronimo 1.1...

On the machine that the web app is running on, deploy a new JMS
Resource Group for ActiveMQ using the console.  On the first
configuration screen, there's a URL to connect to the ActiveMQ broker,
which is set to "tcp://localhost:61616" by default.  Change it to
"tcp://ejb-server-hostname:61616" and go on and create a connection
factory and any destinations that you need.

Then that will be a local connection factory as far as your web app is
concerned (so the web configuration shouldn't need to change except
perhaps making sure the name matches the new connection factory
deployed above), but the connection factory will just interact with a
JMS broker running on a different machine.


On 8/7/06, avin98 <> wrote:
> Hi,
> I have my EJB container running in a different box, from my web-app. I need
> to refer to the JMS resources running along with the EJB container, in my
> web-app.
> I need to know how this can be achieved ?
> When they are deployed on the same box, I refer to them as:
> <resource-ref>
>         <description>jms broker</description>
>         <res-ref-name>ActiveMqQueueConnectionFactory</res-ref-name>
>         <res-type>javax.jms.QueueConnectionFactory</res-type>
>         <res-auth>Container</res-auth>
>     </resource-ref>
> --
> View this message in context:
> Sent from the Apache Geronimo - Users forum at

View raw message