Re: Memory leak in broker when subscribing to a topic using TCP connector + noLocal?

2008-08-20 Thread Jean-Yves LEBLEU
Hello all, I don't know if it is the same case but even if you remove the listener and set local to false, you get a java.lang.OutOfMemoryError: Java heap space Here is the trace Memory Usage:0Memory Percent:0Send count:0Memory: 5177344 Memory Usage:0Memory

Re: Internet Explorer 'Stack Overflow at Line 0' (ActiveMQ Javascript)

2008-08-20 Thread ipsi
Come on folks, surely someone has some idea what could be going on? I'm 99% sure it's the fault of ActiveMQ.js, but I'm not sure why that would be the case. How many people out there are using the ActiveMQ Javascript stuff with IE? Seems like I'm doing something wrong, but I'm basically stuck

Re: 4.1.1 to 5.1.0 eating heap space

2008-08-20 Thread Jean-Yves LEBLEU
Hello all, Coming back on this problem it seems that if I remove the broker from my webapp and run an external broker, I have no more OutOfMemoryError. Now if I run an embedded broker without any memory limit parameters, I run out of java heap space. If I put some destinationPolicy and

Embedded broker, adding connections after broker was configured with xbean:

2008-08-20 Thread Eugeny N Dzhurinsky
Hello all! I have the activemq.xml file, listed below: beans bean class=org.springframework.beans.factory.config.PropertyPlaceholderConfigurer/ broker brokerName=broker0 xmlns=http://activemq.org/config/1.0; managementContext managementContext

Re: Embedded broker, adding connections after broker was configured with xbean:

2008-08-20 Thread Gary Tully
I think the issue is that the broker configured via xbean:activemq.xml is started eagerly. That is, it is started before your connector is added. What should help is to add a start=false attribute to the broker xbean. not sure what is deemed the correct way, there are a bunch of ways to configure

ActiveMQ active connection limitations

2008-08-20 Thread Reigner_Y
Hi All, I am new to ActiveMQ, and I have a few questions regarding ActiveMQ 5.1 - - What is the number of active connections can an activemq 5.1 handle? 1,000 - 10,000 active connections? The server is built for activemq use only - server specs - Amazon EC2 small instance 1.7GB RAM 100MBPS

Re: ActiveMQ active connection limitations

2008-08-20 Thread James Strachan
2008/8/20 Reigner_Y [EMAIL PROTECTED]: Hi All, I am new to ActiveMQ, and I have a few questions regarding ActiveMQ 5.1 - - What is the number of active connections can an activemq 5.1 handle? 1,000 - 10,000 active connections? The server is built for activemq use only - server specs -

Re: ActiveMQ active connection limitations

2008-08-20 Thread Reigner_Y
Hi James, Thanks for the quick reply and info. Regards, Reigner Y -- View this message in context: http://www.nabble.com/ActiveMQ-active-connection-limitations-tp19068544p19069919.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

How to develop his own DiscoveryAgent ?

2008-08-20 Thread Eric-AWL
Hi every body I won't be in a local area network topology and would want to develop my own discoveryAgent. Is someone can help me by telling me where I can find some sorts of documentations ? (rules to follow, and so on ?) Thank you ... Eric-AWL -- View this message in context:

Re: Question about Negative Pending Messages

2008-08-20 Thread Joe Fernandez
I think you'll also see that on the JConsole, 'queuesize' is also a negative number that matches that on the web console. See the followign thread. http://www.nabble.com/Closing-a-consumer-create-more-messages-than-sent-to17602690.html#a17619080 Sessions/consumers were being closed immediately

Re: Large networks of brokers, dynamically included destinations and temporary queues

2008-08-20 Thread Joe Fernandez
Hi Eric, As long as there exists the appropriate forwarding bridge(s), w/correct networkTTL, from the consumer's broker back to the producer's broker, there shouldn't be a problem with using the request/reply model and temp queues. I recommend moving up to 5.1. There have been some issues

RE: Using Perl to check ActiveMQ with Net::Stomp.

2008-08-20 Thread Dylan Vanderhoof
can_read() is actually part of IO::Select, and not at all related to the broker. Net::Stomp's can_read function just passes through to the internal IO::Select-can_read() function on the socket to the client, so if you want to explore what its actually doing, look to that module instead of

RE: How to develop his own DiscoveryAgent ?

2008-08-20 Thread Powers, Matthew
What about ZeroConf? -Original Message- From: Joe Fernandez [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 20, 2008 12:28 PM To: users@activemq.apache.org Subject: Re: How to develop his own DiscoveryAgent ? What about using a LDAP directory server, like Apache DS, to allow the

ActiveMQ 5.1 messages on nondurable topic never go away

2008-08-20 Thread Ryan Moquin
So I upgraded to Servicemix 3.3-SNAPSHOT since it appears that 3.2.2 is not going to work for me since I have to restart it after every 1100 jms messages or my Servicemix services start hanging (or will only be allowed to send a message once every maybe 20 seconds). I have no clue why all of a

Re: ActiveMQ causes producer to hang when no consumer on topic after a few minutes.

2008-08-20 Thread Ryan Moquin
I don't think I saw that option? I assumed the timetolive would have that effect? I'll take another look at the settings, I may have overlooked that one. I hope so because I'm getting pretty desperate and I'm positive that I've correctly tried all the other options correctly, which is why I'm

Re: ActiveMQ causes producer to hang when no consumer on topic after a few minutes.

2008-08-20 Thread Bruce Snyder
On Wed, Aug 20, 2008 at 2:49 PM, Ryan Moquin [EMAIL PROTECTED] wrote: I don't think I saw that option? I assumed the timetolive would have that effect? I'll take another look at the settings, I may have overlooked that one. I hope so because I'm getting pretty desperate and I'm positive that

Re: Does useAsyncSend work in ActiveMQ 4.1.1?

2008-08-20 Thread Bruce Snyder
On Wed, Aug 20, 2008 at 2:51 PM, Ryan Moquin [EMAIL PROTECTED] wrote: So it will still block if the jms flow is restricting the producer then? The JMS Flow is part of ServiceMix, not part of ActiveMQ so async sends are not involved when setting useAsyncSend to true. I was under the impression

Re: Using Perl to check ActiveMQ with Net::Stomp.

2008-08-20 Thread Roger Hoover
Sorry. The syntax is. $stomp-can_read({'timeout' = 5}); On Wed, Aug 20, 2008 at 3:10 PM, Roger Hoover [EMAIL PROTECTED]wrote: I'm using can_read() in a similar way as you and it works. Perhaps you're not waiting long enough? Try setting a timeout. #This will wait on the socket for up to

Re: Enabling security

2008-08-20 Thread Joe Fernandez
Here's a link to Camel, which btw is very cool ;) http://activemq.apache.org/camel/ If you don't intend to use Camel, then there's no problem removing the camelContext. Joe http://www.ttmsolutions.com Jacob Rhoden-4 wrote: Dejan Bosanac wrote: what kind of exception are you getting?

Re: ActiveMQ causes producer to hang when no consumer on topic after a few minutes.

2008-08-20 Thread Ryan Moquin
Interesting. Ok, I have that on, but I don't think I tried without a consumer in 3.3. The only problem in that case then, is that if my producer sends 1300 messages and a consumer receives those 1300 messages, my producer starts to block in that case as well. It seems like no matter what, my

Re: ActiveMQ causes producer to hang when no consumer on topic after a few minutes.

2008-08-20 Thread Ryan Moquin
I should mention though that I did see settings for the new servicemix-jms endpoints actually that should solve the problems I'm having, but I don't think any of them work. I'll try them again and let you know which ones and then you can tell me if I'm screwing up and using them wrong, though

RE: Producer hanged when sending 6M ByteMessage

2008-08-20 Thread Gabe Westmaas
How are you persisting the message? MySQL has a default max packet size of 1M, and I'm sure other databases have similar limits. Also, if you aren't consuming the messages you may exceed memory limits on the broker, check the Home page on the web monitor and see if its at 99%. You can