Urgent java.lang.IndexOutOfBoundsException in ActiveMQ Kaha Storage - Data lost?

2008-07-16 Thread qbeukes
Hey, Our queues usually grow much faster than the database can accept data from the consumer, so they tend to be very large. I'm not sure if this has anything to do with it. But the service stopped responding (queue just kept growing, and consumer wasn't reading any data). So I killed

Slave broker throws IllegalStateException when I try to use Pure master/slave failover clusting

2008-07-16 Thread qlin
I meets a exception when I start slave broker. Anyone have met the same issue like that? How can I fix it? Any suggestion is appreciated. Thank you very much. My enironment: 1. computer A is running AMQ5.0.0 as master MQ 2. Computer B is running AMQ5.0.0 as slave MQ I follow the guide from

Problem working with PHP, STOMP and ActiveMQ - Channel was inactive for too long

2008-07-16 Thread Sunil Kumar
Hello, I am trying to interface php with ActiveMQ using STOMP. I followed instructions given at the following URL's: http://activemq.apache.org/getting-started.html#GettingStarted-StartingActiveMQ,http://activemq.apache.org/getting-started.html#GettingStarted-StartingActiveMQ

Re: Release schedule for NMS

2008-07-16 Thread Hiram Chirino
Hey Jim, I can help you with cutting the release.. You should probably start out by cutting release candidates and pushing the tar balls up to your public_html directory on the people.apache.org machine. That way we can all help checking it out to find out the missing bits. Regards, Hiram On

Does multicast transport exist?

2008-07-16 Thread Shimik
Does multicast transport exist in 5.1? Reliable using JGroups/JRMS or unreliable. According to this http://activemq.apache.org/uri-protocols.html, one might think it does. If it does, how can I use it? -- View this message in context:

Using a topic for RPC-style requests

2008-07-16 Thread David Crisp
Hi, Our application sends RPC-like requests over the bus to a set of remote instances. We create a temporary queue and embed it in the outgoing request using Message.setReplyTo(tempQ). Is there a way to accomplish this using topics selectors? Has anyone played with this and if so, how did

Re: unable to compile activemq-cpp on redhat linux 4.0 with gcc 3.4

2008-07-16 Thread subrash
Thanks for the info . First i was able to get the active-mq-cpp to compile on ubuntu with no issues unfortunately i am still stuck on linux_redhat EL 4 ( our production problem) . In your comment i see something about copying the cppunit file . what file do you copy where ? First i modified

Re: Does multicast transport exist?

2008-07-16 Thread David Crisp
Hi Shimik, I'm looking for the same info, although I'm currently on 4.1.2. When I did a code dive, I noticed that there are multicast connectors (transport network) although they appear to be unreliable. My attempts to use it have been unsuccessful so far. Good luck, D. Shimik wrote:

activemq-cpp binaries for redhat linux el4

2008-07-16 Thread subrash
does anybody know where i can download binaries/rpm for activemq-cpp for redhat linux el4 -- View this message in context: http://www.nabble.com/activemq-cpp-binaries-for-redhat-linux-el4-tp18490674p18490674.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Using a topic for RPC-style requests

2008-07-16 Thread James Strachan
2008/7/16 David Crisp [EMAIL PROTECTED]: Hi, Our application sends RPC-like requests over the bus to a set of remote instances. We create a temporary queue and embed it in the outgoing request using Message.setReplyTo(tempQ). Is there a way to accomplish this using topics selectors?

Re: systemUsage configuration

2008-07-16 Thread aliu
Hi, just to clarify. In my last post, when I mentioned 'all the pending messages are in memory', I actually mean uncommitted messages within a transaction. Again, can someone confirm if this statement (all uncommitted messages are kept in memory) is true? aliu wrote: The reason I've been

Re: Broker detection of poison messages

2008-07-16 Thread David Crisp
Hi Mike, I've seen nothing like this in the docs. How about explicitly acknowledging receipt of the message before processing the message content? If you run out of heap while processing the message, it won't be redelivered. -D Michael Woodson wrote: I'm working on a consumer that

Re: A question about the queue.

2008-07-16 Thread Bruce Snyder
On Wed, Jul 9, 2008 at 8:46 PM, yanhongsan [EMAIL PROTECTED] wrote: To Bruce : Your method is to start the broker with programmatic configuration for ActiveMQ. Are there methods to add networkconnectors with program after start ActiveMQ with activemq.bat ? AFAIK, the only way that

Re: Does multicast transport exist?

2008-07-16 Thread Shimik
According to these posts there are others who are looking for the same thing. I can't figure out if it exist or not. http://www.nabble.com/Reliable-Multicast-and-ActiveMQ-td17806853.html

Re: activemq-cpp binaries for redhat linux el4

2008-07-16 Thread Timothy Bish
Currently there are no official rpms or binary distributions of ActiveMQ-CPP. Given the vast number of OSes and Compilers that are in use its quite hard to supply binaries for them all. There has been some work done to make it possible to create debian packages and redhat rpms, but we are still

Re: unable to compile activemq-cpp on redhat linux 4.0 with gcc 3.4

2008-07-16 Thread Timothy Bish
What is the version of your g++ compiler? I think we've built with g++ versions as old as 3.4.5 without issue. You need to use a version that supports covariant return types. Regards Tim. On Wed, 2008-07-16 at 08:50 -0700, subrash wrote: Thanks for the info . First i was able to get the

message routing

2008-07-16 Thread Mark Webb
I am passing instances of a class from a single producer to a group of consumers. The class contains an integer id field that defines the consumer. I am searching for advice on how to properly route data through ActiveMQ. So if I have Class X that has a field Y, how can I route messages in a

Re: Does multicast transport exist?

2008-07-16 Thread Joe Fernandez
The second posting's thread states that reliable multicast is currently on the todo list and that JGroups is not an option, because JGroups is LGPL and slow. Joe www.ttmsolutions.com Shimik wrote: According to these posts there are others who are looking for the same thing. I can't figure

Re: message routing

2008-07-16 Thread Joe Fernandez
IMO, the best option for implementing that sort of routing pattern is Camel. Your other option is to rely on message selectors. Your producer can assign the value of field Y to a message property; the property is then referenced w/in a message selector. You can have the consumer specify the

Re: ActiveMQ causes application to hang on Glassfish

2008-07-16 Thread everett
Hans Bausewein wrote: everett wrote: In the end, due to somewhat severe time constraints, I decided to use RabbitMQ because it is well-documented and and actually works. Thank you for your help anyway, Hans. There is a lot on their roadmap, but apparently not so much done,

Re: Multicast for discovery.

2008-07-16 Thread Joe Fernandez
The default is multicast://239.255.2.3:6155 You can find it in org.apache.activemq.transport.discovery.multicast.MulticastDiscoveryAgent.java However, you may want to look closely at AMQ-1489 and the comments at the top of

Master broker is down when slave is crashed

2008-07-16 Thread qlin
I have met the bugs of pure master/slave clustering on the AMQ 5.0.0. The issue is that master broker is down when I kill the slave broker ungracefully. I can't access AMQ web page(http://localhost:8161/admin/queues.jsp) and can't send any messages to MQ using ant producer provided by AMQ