Re: ActiveMQ JNDI in Tomcat

2007-11-08 Thread ttmdev
; > Context context = new javax.naming.InitialContext(); > return context.lookup(str); > > This works outside of the web server, but not in. Can anyone point me in > the right direction? > > -- View this message in context: http://www.nabble.com/ActiveMQ-JNDI-in-Tomc

Re: ActiveMQ JNDI in Tomcat

2007-11-08 Thread Mario Siegenthaler
Hi You don't really need a jndi.properties. Just place the activemq jar in the common/lib (or lib if you're using tomcat 6) of your tomcat and follow the configuration at http://activemq.apache.org/setting-up-activemq-with-tomcat-559.html Mario On 11/8/07, Dave Carlson <[EMAIL PROTECTED]> wrote:

ActiveMQ JNDI in Tomcat

2007-11-08 Thread Dave Carlson
Hello, We are trying to connect to an ActiveMQ server from a web app. We are having trouble with the JNDI part of it. We have not been successful placing a jndi.properties file in the WEB-INF/classes, nor anywhere else. The properties in our JNDI file are: java.naming.factory.initial org.apach

ActiveMQ JNDI in Tomcat

2007-11-08 Thread Dave Carlson
Hello, We are trying to connect to an ActiveMQ server from a web app. We are having trouble with the JNDI part of it. We have not been successful placing a jndi.properties file in the WEB-INF/classes, nor anywhere else. The properties in our JNDI file are: java.naming.factory.initial org.apach