Can I improve throughput by adding connection number to Activemq provider?

2013-08-19 Thread smith_jor
suppose that application A send message to ActiveMQ B which has a queue named "testqueue". Can this method improve thoughtput ? application A create more than one connections to provider, then A send messages to the same queue (such "testqueue") using all these connections. Can this method works

Re: JMX Connector problems

2013-08-19 Thread bizcenter
connectorPath in ManagementContext is jmxrmi, if you create more instances of ManageContext, the error above will occur. change connectorPath (or port). On Fri, Aug 16, 2013 at 1:02 AM, Ashwini Kuntamukkala [via ActiveMQ] < ml-node+s2283324n4670430...@n4.nabble.com> wrote: > Here is the stacktra

Re: Possible Bug Apollo Durable Subscriptions

2013-08-19 Thread Christian Posta
This seems to be related BTW: https://issues.apache.org/jira/browse/APLO-336 On Mon, Aug 19, 2013 at 10:17 AM, Christian Posta wrote: > So I can recreate something *similar*. > > If I just run it as you describe: > > * mosquitto_sub -h 172.16.1.220 -p 61613 -q 1 -c -i my_id -t foo > * then

Re: Broker leaks FDs - Too many open files

2013-08-19 Thread Paul Gale
On Mon, Aug 19, 2013 at 4:57 PM, Jerry Cwiklik wrote: > What are the consequences of using closeAsync="false"? Setting async to false means that the socket close call is blocking and is not handled in a separate thread. This is preferable and common in web applications where STOMP clients, sa

Re: Broker leaks FDs - Too many open files

2013-08-19 Thread Jerry Cwiklik
Christian, thanks. More questions: What would be your theory why we see the "explosion" of open FDs? This is triggered by some event. Any clues as to what that might be? Also, isnt it a bug that the broker just goes bezerk logging the same thing over and over? Our broker's logs are filled with t

Re: Broker leaks FDs - Too many open files

2013-08-19 Thread Christian Posta
Yah, give that a try (as seen here https://issues.apache.org/jira/browse/AMQ-1739). Could also have a look at http://activemq.apache.org/maven/apidocs/org/apache/activemq/transport/WriteTimeoutFilter.htmlper this jira https://issues.apache.org/jira/browse/AMQ-1993 On Mon, Aug 19, 2013 at 12:51 PM

Broker leaks FDs - Too many open files

2013-08-19 Thread Jerry Cwiklik
Our production broker (v.5.6.0) keeps dying while in heavy use. The broker log is filled with: 2013-07-28 00:04:08,264 [teTimeout=45000] ERROR TransportConnector - Could not accept connection : java.net.SocketException: Too many open files 2013-07-28 00:04:08,264 [teTimeout=45000] ERR

Re: Possible Bug Apollo Durable Subscriptions

2013-08-19 Thread Christian Posta
So I can recreate something *similar*. If I just run it as you describe: * mosquitto_sub -h 172.16.1.220 -p 61613 -q 1 -c -i my_id -t foo * then kill mosquitto_sub * run producer > for I in {1..10}; do (mosquitto_pub -h 172.16.1.220 -p 61613 -t foo -q 1 -m "$I") done * then restart mosquitto_sub

Bad .gitignore file generated by 'mvn idea:idea'

2013-08-19 Thread Paul Gale
Hi, Building ActiveMQ 5.8.0 on RHEL 6.1. The generated .gitignore file contains an entry like 'data/'. This entry causes matches against a sizeable chunk of the activemq-amq-store sub-project which are then excluded from the commit to one's local repo. You won't notice it until someone checks o

Re: My favorite exception message

2013-08-19 Thread Romain Manni-Bucau
different classloader don't put it in the webapp ;) *Romain Manni-Bucau* *Twitter: @rmannibucau * *Blog: **http://rmannibucau.wordpress.com/* *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannib

My favorite exception message

2013-08-19 Thread Leonardo K. Shikida
my favorite activeMQ error message :-) java.lang.ClassCastException: org.apache.activemq.command.ActiveMQObjectMessage incompatible with org.apache.activemq.command.ActiveMQObjectMessage how could they be compatible? :-) [] Leo