NetworkTTL filters AdvisoryMessages only after transmission

2007-11-08 Thread hbruch
Hi, we are using a star topology, having multiple 4.0.2-brokers connected to one central broker via a slow, unreliable network. Network connectors are configured with a networkTTL=1. However, AdvisoryMessages are sent over two hops before they get discarded: 2007-11-09 07:35:13,733 DEBUG Demand

Which jars are needed for client applications?

2007-11-08 Thread sebb
The ActiveMQ 4.1.1 zip file contains some 34 jar files. Which of these are needed for JMS client applications? Apologies if this is documented anywhere (I looked but all I could find was details of the jars needed for running the ActiveMQ service) Thanks for any guidance...

Re: ActiveMQ JNDI in Tomcat

2007-11-08 Thread ttmdev
You can configure your AMQ administrable objects via the Tomcat JNDI InitialContext implementation. Here's the how-to documentation for Tomcat 6.0. http://tomcat.apache.org/tomcat-6.0-doc/jndi-resources-howto.html Or w/in your servlet you can create your own InitialContext based on the jndi.pro

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:

RE: JBoss JMX port problem

2007-11-08 Thread Matt Flowers
Yes I have the managementContext entry. My original question was about that. I made the changes, but it still uses 1099. I'm wondering if I have to change something else. I have also tried it with other permutiations with and without connectorPort and createConnector: I've tried this:

RE: JBoss JMX port problem

2007-11-08 Thread Matt Flowers
It's a resource adapter in JBoss deployed as a RAR. It's not a separate process. I set it up based on the instructions I found here: http://activemq.apache.org/integrating-apache-activemq-with-jboss.html. Running on windows XP, by the way. Don't think I mentioned that. -Original Message-

Re: JBoss JMX port problem

2007-11-08 Thread DJ Daugherty
how are you starting the activeMQ process? On 11/8/07, Matt Flowers <[EMAIL PROTECTED]> wrote: > > I'm running the resource adapter version of ActiveMQ. As far as I know > there isn't an activemq.xml used in that set up. Is this something I > could add somewhere? > > -Original Message- > F

RE: JBoss JMX port problem

2007-11-08 Thread Matt Flowers
I'm running the resource adapter version of ActiveMQ. As far as I know there isn't an activemq.xml used in that set up. Is this something I could add somewhere? -Original Message- From: DJ Daugherty [mailto:[EMAIL PROTECTED] Sent: Thursday, November 08, 2007 10:56 AM To: users@activemq.ap

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

Re: JBoss JMX port problem

2007-11-08 Thread DJ Daugherty
within the activeMQ directory... the default JMX port will be 1099 unless you manually change the port to 1199. within the conf/activemq.xml config file... do a search for connectorPort=1099 change the '1099' to '1199' and then make sure you uncomment the section in order to active the feature.

Re: Configure ActiveMQ as a broker and a bridge at the same time

2007-11-08 Thread ranjan santa
Actually I can't use a snapshot version, so v5 is not really a possibility. The consequences of your answer are following: It is not possible to consume messages from a bridge (which means, the bridge can't act as a broker), depending on the inbound queue. It is not possible to configure forwardi

JBoss JMX port problem

2007-11-08 Thread Matt Flowers
I'm running : ActiveMQ RA 4.1.1. JBoss 4.0.5. I've got JBoss binding JMX to port 1199. ActiveMQ binds to 1099. I'm doing local messaging only within the app server. No clustering or remoting or anything like that. I can't have ActiveMQ using 1099 -- another app needs that port. I've tried this:

Re: Configure ActiveMQ as a broker and a bridge at the same time

2007-11-08 Thread ttmdev
By default, a forwarding bridge does not support message flow in both directions. However, if you're using a relatively recent AMQ 5.0 SNAPSHOT, you can override this default behavior by setting the networkConnector element's 'duplex' attribute to true as follows. This will create a two-way or ful

Configure ActiveMQ as a broker and a bridge at the same time

2007-11-08 Thread ranjan santa
Hi I am putting messages in a queue and forward them over two bridges in a row to a broker, all ActiveMQ instances on different machines. This works well. But also I want to send messages back on another queue. So as I understand, I have to configure the broker also as a bridge, the middle bridg