Re: Activemq on amazon ec2

2013-06-04 Thread Raji
I have checked the /apache-activemq-5.8.0/data/activemq.log file for the same. The size of file is 0 kb. I tried ./activemq console - nothing is getting displayed. I checked the /apache-activemq-5.8.0/data folder too. pid file is not created when I created new file using ./activemq setup. Any othe

Re: How to achieve ActiveMQ Load balanching

2013-06-04 Thread Mohammed Aslam
Hi JB, I got what you have explained. But If I follow what you have said, what will happen if the broker1 goes down? Assume that all my producers and consumers connected to broker1. Rgds, Mohammed -- View this message in context: http://activemq.2283324.n4.nabble.com/How-to-achieve-ActiveMQ

Producer keeps allocating memory

2013-06-04 Thread pawan
Hi guys,Active MQ broker version: 5.5.1activemq-cpp version: 3.4.1-64 bit. message type: non-persistentflowcontrol:disabledtransport:TCPBroker configuration for topic: " producerFlowControl="false" memoryLimit="100mb" >

Re: Activemq on amazon ec2

2013-06-04 Thread Christian Posta
How can you tell it didn't start? When you run ./activemq start it should start in the broker in the background check the activemq-5.8.0/data/activemq.log file to see if it started successfully If your'e expecting output from the console, maybe try ./activemq console On Tue, Jun 4, 2013 at 7

Re: Activemq on amazon ec2

2013-06-04 Thread Raji
I copied the activemq 5.8 tar file through WinSCP and untar it on amazon server. I am not able to start activemq on amazon . Its say pid created but it we chk status its says Activemq not running. so I tried this steps: 1. creating a configuration file using ./activemq setup newconfig. 2. rename th

ActiveMQ Transport failed: java.io.EOFException

2013-06-04 Thread manua
HI, I am running ActiveMQ 5.5.1 and allowing SSL connections. In the logs I am seeing lot of exceptions as shown below. PLease let me know what could be the reason for these. Am I doing something wrong in configuration or is it improper handshake when client doesnt have proper certificate. 2013-0

Re: ActiveMQ 5.8 : Active connections are not displayed in Web UI

2013-06-04 Thread manua
Thanks Tim. -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-5-8-Active-connections-are-not-displayed-in-Web-UI-tp4667832p4667841.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: ActiveMQ : Broken Pipe Exception

2013-06-04 Thread manua
Thanks Ceposta, but I didnt get your question. I dont think there is any change in the network infrastructure. Also, this issue happens only after 50-60 messages has been transferred. So it connects fine, ran fine for some time and then it gave the Broken Pipe Error. -- View this message in c

Re: XA Transaction Rollback With 5.5.1

2013-06-04 Thread Christian Posta
I don't believe their currently is... If you want to open a jira and attach a patch, that'd be great. Would be good to have some tests/usecases too. On Mon, Jun 3, 2013 at 8:02 AM, Greenbean wrote: > I am are running in to a case where some XA transactions are getting stuck > in > a prepared st

Re: Failed to fill batch / Restart 5.8 mkahadb / Connections overview missing

2013-06-04 Thread Christian Posta
Maybe the kahadb files for that destination became corrupted somehow? Not sure... is there any chance you can reliable reproduce this? Have you tried setting ignore corrupted journal setting on kahadb to skip corrupted sections when starting up the broker? http://activemq.apache.org/kahadb.html

Re: ActiveMQ 5.8 : Active connections are not displayed in Web UI

2013-06-04 Thread Timothy Bish
On 06/04/2013 12:49 PM, manua wrote: Hi, I am using ActiveMQ 5.8 (latest version). In the web UI tab for connections, the active connections are not being displayed. Please let me know if I need to explicitly made this setting somewhere or is this a known bug. Thanks Manu -- View this mess

Re: ActiveMQ : Broken Pipe Exception

2013-06-04 Thread Christian Posta
you got some networking infrastructure taking down connections? On Tue, Jun 4, 2013 at 9:41 AM, manua wrote: > Hi, > > I am using ActiveMQ 5.5.1 and publishing data on a topic. There is a SSL > subscriber on that which consumes all this data. This setup was running > fine > for over a year, bu

Re: How to detect a consumer's lost connection

2013-06-04 Thread Christian Posta
The failover transport is an excellent choice for failing over to alternative/standby brokers, however, when used with just one connection URI, it will attempt to re-connect. You can set reconnection options (backoff, timeout, etc) on it. As for half-closed/uncleanly shutdown sockets, take a look

Re: Embedded Broker instantiated 2 times when subclassing test.

2013-06-04 Thread Christian Posta
yep, this is expected when using the spring test functionality. your subclass will inherit the config from parent class which also loads a broker. take a look at link below to turn off inheritance: @ContextConfiguration(inheritLocations=false) http://static.springsource.org/spring/docs/3.0.x/jav

ActiveMQ 5.8 : Active connections are not displayed in Web UI

2013-06-04 Thread manua
Hi, I am using ActiveMQ 5.8 (latest version). In the web UI tab for connections, the active connections are not being displayed. Please let me know if I need to explicitly made this setting somewhere or is this a known bug. Thanks Manu -- View this message in context: http://activemq.228332

XA Transaction Rollback With 5.5.1

2013-06-04 Thread Greenbean
I am are running in to a case where some XA transactions are getting stuck in a prepared state in ActiveMQ most likely not through a fault of ActiveMQ. This is causing Kaha data files to not get cleaned up. I wrote a little code snip that will do a roll back of stuck transactions while investigat

Failed to fill batch / Restart 5.8 mkahadb / Connections overview missing

2013-06-04 Thread werab
Hello, we are running an activeMQ Server version 5.8 with a multi KahaDB configuration. We have a lot of different client connectors like Java JMS, Perl Stomp, PHP Stomp, etc. 1. Issue: After a few

Re: Endpoint factory / ClientID problems during deployment on Glassfish

2013-06-04 Thread pdudits
It looks, that putting ?jms.watchTopicAdvisories=false in ServerUrl of resource adapter was causing this. I moved the setting to connection pool instead (as advisories caused troubles only on sending messages to temporary queues from remote brokers), and it appears that the server is now able recov

Endpoint factory / ClientID problems during deployment on Glassfish

2013-06-04 Thread pdudits
Hello, I've run into following issue with ActiveMQ 5.5.1 (fuse-10-16) on Glassfish 3.1.2.2, two instances running embedded brokers that are connected over network connector. During startup of an application I'll get following exception for some of the MDBs: [#|2013-05-30T09:14:49.612+0200|WARNI

Re: How to detect a consumer's lost connection

2013-06-04 Thread Les Hazlewood
I don't think this will address Mark's question (but Mark, please correct if I'm wrong). If I understand him correctly, he wants the client to know when Broker X is no longer available, and at that time, kill its current connection and then keep trying to automatically re-connect to Broker X until

How to achieve ActiveMQ-Loadbalanching

2013-06-04 Thread Mohammed Aslam
How to implement Loadbalancing in active MQ. I saw a few articles on failover, network of brokers etc. But doesnt server my purpose. By load balancer I am looking for a solution like for web application we use apache proxy infront of multiple application server to balance load and client will get o

ActiveMQ : Broken Pipe Exception

2013-06-04 Thread manua
Hi, I am using ActiveMQ 5.5.1 and publishing data on a topic. There is a SSL subscriber on that which consumes all this data. This setup was running fine for over a year, but now I am getting, 2013-06-03 12:00:32,827 | INFO | Transport failed: javax.net.ssl.SSLException: Connection has been shut

Re: How to achieve ActiveMQ Load balanching

2013-06-04 Thread Jean-Baptiste Onofré
Hi I second Christian. To get in details, you can do: Broker1 (LB): Broker2 Broker3 The client will produce on Broker1. If you have 10 messages on broker1, those messages will be "forwarded" with 5 on broker2 and 5 on broker3. Regards JB On 06/04/2013 04:41 PM, Ch

Re: Embedded Broker instantiated 2 times when subclassing test.

2013-06-04 Thread Jean-Baptiste Onofré
Hi Guillaume, I guess that you didn't overwrite the JMX parameters. Maybe you have the MBean server created two times (but only one broker). Take a look on: http://activemq.apache.org/jmx.html Regards JB On 06/04/2013 06:29 PM, guillaume.sur...@orange.com wrote: Hi, I’m stuck with a proble

Re: Occasional Null Pointer Exception during NetworkConnector connection again?

2013-06-04 Thread Christian Posta
Yah, looks like it *could* be a race between when the remote part of the bridge is up and when the broker is trying to forward a message. It would be best if you can write a junit test and attach to the aforementioned JIRA. Take a look at the following for help with writing the test. http://svn.ap

Re: How to achieve ActiveMQ Load balanching

2013-06-04 Thread Christian Posta
Yah, you could just pick a broker (broker1) and use that URL. But that won't give you load balancing up front. It would if brokers were added/removed to the cluster as clients would be rebalanced. I guess in your specific case you'd have to use all three urls in the failover transport to achieve b

Re: Occasional Null Pointer Exception during NetworkConnector connection again?

2013-06-04 Thread matteor
It happens when we try to add a third broker to the network and after few seconds we stop the newly introduced broker. This third broker has the same configuration with respect broker 2. matteo -- View this message in context: http://activemq.2283324.n4.nabble.com/Occasional-Null-Pointer-Exce

Re: How to achieve ActiveMQ Load balanching

2013-06-04 Thread Mohammed Aslam
Thanks for the reply. But could you tell me one thing, if I have network of brokers, say broker1, broker2, broker3, which one the the client will connect to? -- View this message in context: http://activemq.2283324.n4.nabble.com/How-to-achieve-ActiveMQ-Load-balanching-tp4667798p4667810.html Sen

Re: What kind of connection does ActiveMQ-CPP use?

2013-06-04 Thread Sean Beck
Awesome. Thank you! I added 61616 and 61613 to ports allowed over http and all is well. On Tue, Jun 4, 2013 at 9:10 AM, Christian Posta wrote: > It's configurable, but by default, it's a binary protocol (openwire) over > TCP. The broker opens up port 61616. > > > On Tue, Jun 4, 2013 at 8:06 AM,

Re: What kind of connection does ActiveMQ-CPP use?

2013-06-04 Thread Timothy Bish
On 06/04/2013 11:06 AM, Sean Beck wrote: I am having problems using SELinux and ActiveMQ + Apache together. Currently I have SELinux disabled and everything works, but I need it running eventually. I assume I just need to allow the applications to connect over certain ports, but I'm not positive

Re: What kind of connection does ActiveMQ-CPP use?

2013-06-04 Thread Christian Posta
It's configurable, but by default, it's a binary protocol (openwire) over TCP. The broker opens up port 61616. On Tue, Jun 4, 2013 at 8:06 AM, Sean Beck wrote: > I am having problems using SELinux and ActiveMQ + Apache together. > Currently I have SELinux disabled and everything works, but I ne

What kind of connection does ActiveMQ-CPP use?

2013-06-04 Thread Sean Beck
I am having problems using SELinux and ActiveMQ + Apache together. Currently I have SELinux disabled and everything works, but I need it running eventually. I assume I just need to allow the applications to connect over certain ports, but I'm not positive on that. Do ActiveMQ-CPP and Stomp connect

Re: How to achieve ActiveMQ Load balanching

2013-06-04 Thread Christian Posta
Yes, use network of brokers with dynamic failover which achieves what you're looking to do. See the "Broker side Options for failover" in the wiki. You could also take a look at Fuse Fabric which provides similar functionality using zookeeper. http://activemq.apache.org/networks-of-brokers.html h

Re: Occasional Null Pointer Exception during NetworkConnector connection again?

2013-06-04 Thread Christian Posta
When you occasionally see this, does it happen to be upon startup of the brokers? On Tue, Jun 4, 2013 at 7:02 AM, matteor wrote: > > ActiveMQ v 5.8.0 > > We have a two brokers network with duplex network connector and the > following additional properties: > > Broker 1 - networkConnector: > > B

How to achieve ActiveMQ Load balanching

2013-06-04 Thread Mohammed Aslam
How to implement Loadbalancing in active MQ. I saw a few articles on failover, network of brokers etc. But that doesnt server my purpose. By load balancer, I am looking for a solution like, for web application we use apache proxy infront of multiple application server to balance the load and clie

Occasional Null Pointer Exception during NetworkConnector connection again?

2013-06-04 Thread matteor
ActiveMQ v 5.8.0 We have a two brokers network with duplex network connector and the following additional properties: Broker 1 - networkConnector: Broker 2 - no network connector specified, Both Broker 1 AND Broker 2 have the following common config entries: Occasionally, we see the followin

Re: Activemq 5.9 leveldb replication issue

2013-06-04 Thread heimdull
great! I have tested latest snapshot and have not seen this error when I failover. I do however see that I get a handful of messages stuck in a queue when I do and I need to move them out and back in to the queue before they get consumed. Could this have something todo with that: 2013-06-03 23:50