Error "Could not reserve enough space for object heap"

2013-01-24 Thread hirrun
I am new to ActiveMQ. I followed the installation process for Unix. When I run bin/activeMQ I get the weeoe "Could not reserve enough space for object heap". And ActiveMQ does not start. Any help is appreciated. H -- View this message in context: http://activemq.2283324.n4.nabble.com/Error

Re: Network of brokers not picking up messages

2013-01-24 Thread Mohit Anchlia
Queue has 3 consumers and all those are of other MQ network of brokers. Pre-fetch is 1000 In activemq.xml there is only one broker defined with NetworkConnectors as On Thu, Jan 24, 2013 at 2:21 PM, Christian Posta wrote: > You'll need to post some more details... configs for the brokers,

Re: Network of brokers not picking up messages

2013-01-24 Thread Christian Posta
You'll need to post some more details... configs for the brokers, which broker you're putting the message on, which broker has the consumers, etc. On Thu, Jan 24, 2013 at 3:13 PM, Mohit Anchlia wrote: > Could it be because of pre-fetch? It's set to 1000 and the messages are > less than 800. Not

Re: Network of brokers not picking up messages

2013-01-24 Thread Mohit Anchlia
Could it be because of pre-fetch? It's set to 1000 and the messages are less than 800. Not sure if it has something to do with that and how it works with network of brokers. On Thu, Jan 24, 2013 at 1:42 PM, Mohit Anchlia wrote: > I use network of brokers and in the admin UI I see the connections

Re: Can ActiveMQ become as light and lean as possible?

2013-01-24 Thread Jim
Hi, So you mean I can't go bellow 28MB? -- View this message in context: http://activemq.2283324.n4.nabble.com/Can-ActiveMQ-become-as-light-and-lean-as-possible-tp4662140p4662189.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Can ActiveMQ become as light and lean as possible?

2013-01-24 Thread Jim
I apologize for my elementary/lamen question but I don't know Scala.What does it mean that it requires Scala runtime?It is not possible to use Apollo in a JRE-6? -- View this message in context: http://activemq.2283324.n4.nabble.com/Can-ActiveMQ-become-as-light-and-lean-as-possible-tp4662140p46

Re: Utility to process DLQ

2013-01-24 Thread Mohit Anchlia
Even if I created that utility can I still read those messages that might be stuck because of "ACK" issues? Not sure how to process them, looks like several other people have same issues but no resolution at the moment. On Thu, Jan 24, 2013 at 11:24 AM, Christian Posta wrote: > I don't think the

Re: Can ActiveMQ become as light and lean as possible?

2013-01-24 Thread Hiram Chirino
That 28 MB includes the scala jar dependency which on it's own is about 7MB. No, you can't avoid it. On Thu, Jan 24, 2013 at 2:00 PM, Jim wrote: > Also I see that the zip of Apollo is 28MB. To get it down to 7MB like you > said is this documented? > > > > -- > View this message in context: > h

Re: No connection could be found for ID NC_

2013-01-24 Thread Mohit Anchlia
I created this: https://issues.apache.org/jira/browse/AMQ-4272 On Thu, Jan 24, 2013 at 11:25 AM, Christian Posta wrote: > Probably not.. open a JIRA and give step by step how to recreate and I'll > take care of it. > > > On Thu, Jan 24, 2013 at 12:07 PM, Mohit Anchlia >wrote: > > > When I got

Re: No connection could be found for ID NC_

2013-01-24 Thread Christian Posta
Probably not.. open a JIRA and give step by step how to recreate and I'll take care of it. On Thu, Jan 24, 2013 at 12:07 PM, Mohit Anchlia wrote: > When I got to "Active Consumers" and click one of the connections on the > network of brokers to other MQ machine I get this message. Is this a > ex

Re: Utility to process DLQ

2013-01-24 Thread Christian Posta
I don't think there's anything out of the box... might try Camel for that... On Thu, Jan 24, 2013 at 11:57 AM, Mohit Anchlia wrote: > Is there a utility that's available with mq to move messages from DLQ to > some other queue? > -- *Christian Posta* http://www.christianposta.com/blog twitter

Re: Can ActiveMQ become as light and lean as possible?

2013-01-24 Thread Christian Posta
Apollo is written in Scala/Java. It would require a Scala runtime to use. Whittling down the broker (ActiveMQ 5.x or Apollo) isn't documented anywhere yet. I'll do that and respond back when I have it up. On Thu, Jan 24, 2013 at 12:00 PM, Jim wrote: > Also I see that the zip of Apollo is 28MB.

No connection could be found for ID NC_

2013-01-24 Thread Mohit Anchlia
When I got to "Active Consumers" and click one of the connections on the network of brokers to other MQ machine I get this message. Is this a expected behaviour? No connection could be found for ID NC_

Re: SO_LINGER

2013-01-24 Thread Christian Posta
It's enabled only if there is a value > -1 set... if (soLinger > -1) { sock.setSoLinger(true, soLinger); } else if (soLinger == -1) { sock.setSoLinger(false, 0); } Otherwise it defaults to whatever SocketFactory.getDefault().createSocket() produces.

Re: Can ActiveMQ become as light and lean as possible?

2013-01-24 Thread Christian Posta
Apollo is a subproject of ActiveMQ, is active, and is supported by the ActiveMQ developers. Here are a couple blog posts about Apollo: http://rajdavies.blogspot.com/2012/02/apache-activemq-apollo-10-is-released.html http://hiramchirino.com/blog/2011/01/activemq-apollo-looking-impressive/ http://w

Re: Can ActiveMQ become as light and lean as possible?

2013-01-24 Thread Jim
I would prefer as minimalistic as possible.But if the min is just less than 10MB I am ok. I don't have Scala. Also what is Apollo? Different project?Is it active?Is it supported by the same as Active-MQ developers? -- View this message in context: http://activemq.2283324.n4.nabble.com/Can-Activ

Race condition due to asynchronous implementation of ActiveMQResourceAdapter.endpointActivation

2013-01-24 Thread Jonathan Brown
I have a MessageDriven bean in jboss 7. The ActiveMQResourceAdapter is activated via the endpointActivation() method at the appropriate time however due to the asynchronous nature of underlying ActiveMQEndpointWorker.connect() implementation I run into a scenario in which the resource adapter is '

Re: SO_LINGER

2013-01-24 Thread Mohit Anchlia
It appears from the doc that it's enabled and you have to specifically set it to -1 Sent from my iPhone On Jan 24, 2013, at 9:19 AM, Christian Posta wrote: > No, it's not enabled by default. > You can enable it with the following settings on your connection URI: > > ?soLinger= > > > On Thu,

Re: Queues not connected together at each end of a Full Duplex NetworkConnector

2013-01-24 Thread Christian Posta
it would be nice to preserve backward compatibility, and i don't believe there will be compatibility issues with future releases.. but it's not a guarantee :) On Thu, Jan 24, 2013 at 9:02 AM, billy wrote: > Thank you very much! That is exactly the problem I'm having. > > Do you know if this is

Re: SO_LINGER

2013-01-24 Thread Christian Posta
No, it's not enabled by default. You can enable it with the following settings on your connection URI: ?soLinger= On Thu, Jan 24, 2013 at 8:47 AM, Mohit Anchlia wrote: > Is SO_LINGER enabled by default? > > http://activemq.apache.org/tcp-transport-reference.html > -- *Christian Posta* http:

Re: Can ActiveMQ become as light and lean as possible?

2013-01-24 Thread Christian Posta
Was able to get Apollo down to ~7 MB (assuming you have scala on your system).. http://activemq.apache.org/apollo/ On Thu, Jan 24, 2013 at 9:21 AM, Christian Posta wrote: > > On Thu, Jan 24, 2013 at 8:47 AM, Jim wrote: > >> s > > > I was able to whittle it down to ~8MB how small do you w

Re: Can ActiveMQ become as light and lean as possible?

2013-01-24 Thread Christian Posta
On Thu, Jan 24, 2013 at 8:47 AM, Jim wrote: > s I was able to whittle it down to ~8MB how small do you want it? -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta

Re: Active MQ broker hang when computer name has Japanese/Chinese character

2013-01-24 Thread Timothy Bish
On Thu, 2013-01-24 at 04:11 -0800, ankursha1 wrote: > Hello, > > Today i tried to get the thread dump and i am attaching a screen shot of the > same. > > It shows thread lock for MutexImpl. Please have a look. > > The request arrive at mq broker but after that nothing happens. > > dump.png

Re: Queues not connected together at each end of a Full Duplex NetworkConnector

2013-01-24 Thread billy
Thank you very much! That is exactly the problem I'm having. Do you know if this is going to be a problem in the future? Will there be problems using different versions of networked brokers, or if this is a one time problem between 5.5.1 and the newer brokers? The main reason why I'm asking i

Re: Apollo 1.5 MQTT - impossible to connect from many clients

2013-01-24 Thread Christian Posta
Is the client something you can send me? I can run from my side and see where the bottlenecks are... On Thu, Jan 24, 2013 at 1:49 AM, Frank Vanderhallen < frank.vanderhal...@portico.io> wrote: > Thanks for the fast reply! > > About the client: > - the client is implemented in node.js (not by

Can ActiveMQ become as light and lean as possible?

2013-01-24 Thread Jim
Hi, I need to use JMS and I am looking into using Active-MQ. But the issue I have is the following: I have really small needs and don't need the full features offered. I mean I only need 1 protocol (TCP) and the messages exchanged are small and simple. What I need is: how can I *"strip" down* Acti

Re: activemq in servicemix

2013-01-24 Thread Christian Posta
I just tried this on my side with the following Camel route, everything seemed to work just fine. What are you seeing in the logs? When you startup servicemix can you connect to the broker at tcp://localhost:61616 using an external JMS client? If you run 'netstat -a | grep LISTEN' do you see the br

Re: Can't delete an offline durable subscription when there's a virtual topic configured in the broker

2013-01-24 Thread Marcos A. Reynoso
I understand it, but the subscriber I can't delete is a offline durable subscriber for a topic when there's a virtual topic configured in the broker. Here's the scenario: MyDurableTopic (topic) > Durable Subscriber(offline) | VirtualTop

Re: AJAX via crossdomain

2013-01-24 Thread alaricus
I've reveal that it happens due crossdomain requests don't send Cookie even with allowed origin. Just another aspect of safety restrictions. Now I'm working on it. 2013/1/23 dejanb [via ActiveMQ] > Hi, > > I never tried running ajax through cross domain filter in jetty, but > if it creates a ne

Re: Apollo 1.5 MQTT - impossible to connect from many clients

2013-01-24 Thread Frank Vanderhallen
Thanks for the fast reply! About the client: - the client is implemented in node.js (not by me, so I don't know it in detail) - it establishes 25000 connections over a period of 4 minutes - the clients publish every 4 minutes a small message to a client-specific topic (i.e. the number