Re: timeout error

2008-12-23 Thread Dejan Bosanac
Hi, it looks like you're having some kind of network problems between your client and broker. Can you establish regular telnet connection to you production broker? Cheers -- Dejan Bosanac Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog -

Re: timeout error

2008-12-23 Thread 刘昊
Dejan, Thank you for your reply. I can connect to the boker in production mode with telnet localhost 61613, here's the output: r...@ekin:~# telnet localhost 61613 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. Since I'm working on a poor slice(256MB RAM, 10GB

Loss of dispatched messages

2008-12-23 Thread deadfolk
Hi All, Hopefully an easy one...we have a pub/sub setup with a bunch of Groovy consumers using the Java client to listen to a bunch of topics. We terminate these by literally killing the process. When we do this, we seem to lose any dispatched messages that have not yet been processed. That

Objectmessage max size, how can i change it?

2008-12-23 Thread silver1
Hi, what is the maximum size of a objectmessage for sending over a ssl-protocoll? Is it 20 MB? Can I modify the size? I have tested (ApacheMQ Version 5.2) with a File (~ 25 MB) and get the following Error: Exception in thread main java.lang.OutOfMemoryError: Java heap space at

Re: Objectmessage max size, how can i change it?

2008-12-23 Thread James Strachan
That looks like you're out of heap space - try increasing the JVM's heap 2008/12/23 silver1 martin.ku...@robotron.de: Hi, what is the maximum size of a objectmessage for sending over a ssl-protocoll? Is it 20 MB? Can I modify the size? I have tested (ApacheMQ Version 5.2) with a File (~

Re: timeout error

2008-12-23 Thread Dejan Bosanac
That looks fine and obviously you connection process to the broker goes well. Can you turn on debugging on you broker and check log files for some errors? Cheers -- Dejan Bosanac Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog -

Re: Problem starting embedded broker in JBoss 5

2008-12-23 Thread RanganathanJ
Hi, I saw your posting reg Problem starting embedded broker in JBoss 5 on the net. Actually, I too face the same issue and searching for a better solution. In the mean time, if you had any other approach or any solution for the problem of JBOSS with ActiveMQ integration, could you pls share

Re: Objectmessage max size, how can i change it?

2008-12-23 Thread silver1
Ah, thank you :) The maximum size of a Objectmessage is the maximum available memory space? James.Strachan wrote: That looks like you're out of heap space - try increasing the JVM's heap 2008/12/23 silver1 martin.ku...@robotron.de: Hi, what is the maximum size of a objectmessage

Re: Objectmessage max size, how can i change it?

2008-12-23 Thread James Strachan
2008/12/23 silver1 martin.ku...@robotron.de: Ah, thank you :) The maximum size of a Objectmessage is the maximum available memory space? Its a bit more complex than that; the broker has a cache it tries to maintain before enabling producer flow control.

Re: Disable multicast discovery

2008-12-23 Thread Ben Amitai
Hey Joe, I have this new problem now: the broker don't seem to send the messages. My broker is embedded, and when I reply, the message is sent to the embedded broker, but just don't reach the wanted station. Maybe i'm doing something wrong... Joe Fernandez wrote: Just comment out this

Re: Loss of dispatched messages

2008-12-23 Thread Gary Tully
You may just need to make your subscriptions durable: http://activemq.apache.org/how-do-durable-queues-and-topics-work.html but also check out - http://activemq.apache.org/subscription-recovery-policy.html which determines whether a subscription can see messages published before it existed. and

Re: timeout error

2008-12-23 Thread 刘昊
Dejan, Since the error is not constantly show itself, I may have to wait for a while to see if it works. I've turned on the debugging on the ActiveMQ, and I'll check tomorrow morning to see if there's anything interesting, I'll let you know ASAP, thank you for helping out. Regards, Hao Liu

Re: Loss of dispatched messages

2008-12-23 Thread deadfolk
Thanks for your reply Gary. We are using durable subscriptions...any messages which have not yet been delivered will arrive once the consumers start again. The problem seems to be that any messages which have been prefetched but not handled are not rolled back if the consumer terminates, but

Re: Loss of dispatched messages

2008-12-23 Thread Gary Tully
you using a transacted consumer by any chance. You may be experiencing: https://issues.apache.org/activemq/browse/AMQ-2032 that is resolved on trunk so you can try a snapshot. if not, this sounds like a bug. Any chance you could produce a small test case and attach it to a jira? 2008/12/23

Re: NPE: java.net.UnknownHostException after installing 5.2, same config as 5.1

2008-12-23 Thread MaenXe
Yes this fixed it. Thanks! M@ Gary Tully wrote: You need to change the format for the uri to specify the group via a parameter. This is the upshot of the resolution to http://issues.apache.org/activemq/browse/AMQ-1489 - check out the detail in the comments. The required change is of

Re: Error setting up Network of Brokers in 5.2.0

2008-12-23 Thread MaenXe
Thanks to Gary Tully's advice, and the comments listed on https://issues.apache.org/activemq/browse/AMQ-1489 AMQ-1489 , I was able to get this working. The correct method would be the specify groups as in multicast://default?group=dev, etc. Now I know, and knowing is half the M@ MaenXe

Re: NPE: java.net.UnknownHostException after installing 5.2, same config as 5.1

2008-12-23 Thread Bruce Snyder
On Mon, Dec 22, 2008 at 4:14 AM, Gary Tully gary.tu...@gmail.com wrote: You need to change the format for the uri to specify the group via a parameter. This is the upshot of the resolution to http://issues.apache.org/activemq/browse/AMQ-1489 - check out the detail in the comments. The

Re: timeout error

2008-12-23 Thread 刘昊
Dejan, It works well for quite a while. But it fails just now, I checked the data/activemq.log, and I found this: 2008-12-24 03:37:30,092 [127.0.0.1:39746] DEBUG Transport - Transport failed: java.io.EOFException java.io.EOFException at