activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: Adding the JNDI.properties file to an enterprise application
Date Wed, 01 Oct 2008 11:30:53 GMT
BTW WebSphere community edition already comes with ActiveMQ in which
case you won't need the RAR :)

2008/10/1 James Strachan <james.strachan@gmail.com>:
> You should probably use WebSphere's configuration mechanism for its
> JNDI provider; you'll also need to use the Resource Adapter for
> WebSphere to be able to use MDBs with ActiveMQ
>
> see
> http://activemq.apache.org/j2ee.html
>
> 2008/10/1 rmh1 <robhinds@gmail.com>:
>>
>> Hi All,
>>
>> I am trying to create a simple application (as an .ear) - the application
>> has a MDB that listens to a queue, when a message comes in, it looks in a
>> response folder and writes a message to a response queue.
>>
>>
>> I am deploying on Websphere App Server, and have set up the ActiveMQ config
>> linking the queues with WAS. I write a message to my input queue, i can see
>> from teh logs that it is picked up by the MDB, identified and a response
>> message is found and it then tries to write the message to the response
>> queue but it fails.
>>
>> I know the queue and its config is working fine as i can use the same queue
>> for other apps - so my thought is, although i have added my JNDI properties
>> to WAS (hence the inbound queue/listener operations work) do I also need to
>> add my jndi.properties to my .EAR file also?
>>
>>
>> If this is the case, how can I do this? I have read that sometimes it is
>> possible to make a .jar of the file and include that... is it possible to
>> create a .jar from just a properties file?
>>
>> Thanks!
>> --
>> View this message in context: http://www.nabble.com/Adding-the-JNDI.properties-file-to-an-enterprise-application-tp19758417p19758417.html
>> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
>>
>>
>
>
>
> --
> James
> -------
> http://macstrac.blogspot.com/
>
> Open Source Integration
> http://open.iona.com
>



-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://open.iona.com

Mime
View raw message