Hi,
sorry, I forgot to note, that the resources in the context.xml and
web.xml files are replacements for the jndi.properties. I'm using
Tomcat's build-in JNDI.
It looks like you're using one Queue with the name listenerDestination.
So, try the following:
META-INF/context.xml:
...
Hadraba Petr napisał(a):
Hi Maciej,
I'm connecting from Tomcat to ActiveMQ with this configuration:
Thx, but how it corresponds to my jndi.properties file?
How should I form my configuration files (context.xml, web.xml)?
jndi.properties:
---
java.naming.factory.initial =
org.activ
Hi Maciej,
I'm connecting from Tomcat to ActiveMQ with this configuration:
META-INF/context.xml:
...
...
WEB-INF/web.xml:
...
jms/ConnectionFactory
javax.jms.ConnectionFactory
jms/Test
javax.jms.Queue
...
Hope, it hel
Hi,
i develope my web application using ActiveMQ and run it under Apache
Tomcat 5. There is a problem - the 'jndi.properties' file seems to be
invisible, although it is placed on class path.
Has anybody met such a problem?
Maciej