Re: Message stuck after failover [5.11.1, 5.13.0]

2016-01-11 Thread Tim Bain
That defect isn't a bug, it's user error (the submitter should have set maxReconnectAttempts=0 with the failover transport in his networkConnector). And you're right, that's the same problem you're having. Fixing that will address the connectivity issues after a restart; it won't address the unav

Re: Message stuck after failover [5.11.1, 5.13.0]

2016-01-11 Thread Tim Bain
If there's no shared store, you can failover between the two for new messages, but any messages in the persistence store of the broker will be unavailable while it's down and only be dispatched once it comes back up. Which sounds like exactly what you're seeing. If you want redundancy, make them a

Re: Using Broker clusters, javax.management.InstanceAlreadyExistsException:xx

2016-01-11 Thread Tim Bain
It does look like your problem, and a patch has been submitted so you could try it and see if it solves your problem. On Jan 11, 2016 10:11 AM, "softwbc" wrote: > Hi, I built a new environment without F5 > and the problem still exist. > > Here is a issues unresolved > https://issues.apache.org/ji

Re: InVMConnectorFactory?

2016-01-11 Thread Derek Mahar
Okay, I follow now. It's strictly for communication between a client and a server within the same JVM. For now, this is exactly what I need. Derek On 11 January 2016 at 15:58, Clebert Suconic wrote: > The default constructor will be using TCP to talk to the server. > > > If you want a direct

Re: InVMConnectorFactory?

2016-01-11 Thread Justin Bertram
ActiveMQJMSConnectionFactory is for the client. Justin - Original Message - From: "Derek Mahar" To: users@activemq.apache.org Sent: Monday, January 11, 2016 2:59:13 PM Subject: Re: InVMConnectorFactory? On 11 January 2016 at 15:55, Clebert Suconic wrote: > If you need inVM support ta

Re: InVMConnectorFactory?

2016-01-11 Thread Derek Mahar
On 11 January 2016 at 15:55, Clebert Suconic wrote: > If you need inVM support talking to the Server, you should include > artemis-server.jar in your dependency as Justin said. > > Notice there is a new Constructor where you could use an URI: > > > ActiveMQJMSConnectionFactory cf = new > ActiveM

Re: InVMConnectorFactory?

2016-01-11 Thread Clebert Suconic
The default constructor will be using TCP to talk to the server. If you want a direct InVM communication without Netty, you can do this: // This is a JMS Connection Factory. ConnectionFactory factory = ActiveMQJMSConnectionFactory("vm:/1") ^^ That will use the proper Connector to talk between

Re: InVMConnectorFactory?

2016-01-11 Thread Clebert Suconic
If you need inVM support talking to the Server, you should include artemis-server.jar in your dependency as Justin said. Notice there is a new Constructor where you could use an URI: ActiveMQJMSConnectionFactory cf = new ActiveMQJMSConnectionFactory("vm:/1"); // or ActiveMQJMSConnectionFactory(

Re: InVMConnectorFactory?

2016-01-11 Thread Derek Mahar
So an Artemis client need not create an ActiveMQJMSConnectionFactory using a TransportConfiguration? Is the default constructor sufficient? On 11 January 2016 at 15:50, Justin Bertram wrote: > It should be in the artemis-server jar. > > > Justin > > - Original Message - > From: "Derek M

Re: InVMConnectorFactory?

2016-01-11 Thread Justin Bertram
It should be in the artemis-server jar. Justin - Original Message - From: "Derek Mahar" To: users@activemq.apache.org Sent: Monday, January 11, 2016 2:42:06 PM Subject: InVMConnectorFactory? In ActiveMQ Artemis 1.2.0, in which Artemis Maven library can I find class org.apache.activemq

InVMConnectorFactory?

2016-01-11 Thread Derek Mahar
In ActiveMQ Artemis 1.2.0, in which Artemis Maven library can I find class org.apache.activemq.artemis.core.remoting.impl.invm.InVMConnectorFactory to which https://github.com/apache/activemq-artemis/blob/master/examples/features/standard/spring-integration/src/main/resources/spring-jms-beans.xml

Re: Using Broker clusters, javax.management.InstanceAlreadyExistsException:xx

2016-01-11 Thread softwbc
Hi, I built a new environment without F5 and the problem still exist. Here is a issues unresolved https://issues.apache.org/jira/browse/AMQ-6052 Is this my question -- View this message in context: http://activemq.2283324.n4.nabble.com/Usin

Re: Message stuck after failover [5.11.1, 5.13.0]

2016-01-11 Thread yang.yang.zz
Here I found an open Defect for this. https://issues.apache.org/jira/browse/AMQ-5531 -- View this message in context: http://activemq.2283324.n4.nabble.com/Message-stuck-after-failover-5-11-1-5-13-0-tp4705730p4705738.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Message stuck after failover [5.11.1, 5.13.0]

2016-01-11 Thread yang.yang.zz
I really hope this is a misconfiguration. I have started working on a mechanism to restart the broker1 after a failover... However, since the failover happens on the broker1, so it seems I couldn't catch the failover event on node A. Therefore it makes detecting when it needs to restart broker1 ve

I can't login to http://localhost:8161/admin/

2016-01-11 Thread yibrah
I have installed ActiveMQ on my laptop. But, I couldn't access the page http://localhost:8161/admin/ I have tried to login as username:password --- admin:admin admin:activemq admin:password but I couldn't login. Any help is appreciated. Thank you. -- View this message in co

Re: Message stuck after failover [5.11.1, 5.13.0]

2016-01-11 Thread yang.yang.zz
Thanks for replay Tim! I've posted the two config files above. For your questions: /Are broker2a and broker2b configured as a master/slave pair with a shared persistence store, or simply as two standalone brokers? If there is a shared persistence store, which type is it? / There's no special

Re: Message stuck after failover [5.11.1, 5.13.0]

2016-01-11 Thread yang.yang.zz
*Configuration for node B* http://www.springframework.org/schema/beans"; xmlns:amq="http://activemq.apache.org/schema/core"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spr

Re: Message stuck after failover [5.11.1, 5.13.0]

2016-01-11 Thread yang.yang.zz
Configuration for node *A* http://www.springframework.org/schema/beans"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://activemq.apache.org/schema/cor

Securing up ActiveMQ

2016-01-11 Thread leaski
Hi all, At the moment I am currently investigating how to secure up our implementation of Active MQ. I have done some reading and have managed to setup a test system running SSL and the Simple Authentication Plugin. This seems pretty simple, but I have a couple of questions about the level of se

Re: MessageGroup affinity question

2016-01-11 Thread Tim Bain
I believe it's not currently possible; the consumers are enumerated based purely on the order in which the broker received their subscription, without considering the client (possibly another broker) from which the subscription came. My gut tells me that if implemented, there are probably situatio

Re: How to avoid blocking of queue browsing after ActiveMQ checkpoint call

2016-01-11 Thread Tim Bain
I believe you are correct: browsing a persistent queue uses bytes from the memory store, because those bytes must be read from the persistence store into the memory store before they can be handed off to browsers or consumers. If all available bytes in the memory store are already in use, the mess

Re: [ANNOUNCE] Apache Artemis 1.2.0 Released

2016-01-11 Thread Justin Bertram
I'm no expert on advisory messages, but Artemis has management notifications that look to me to fulfill the same role. See https://activemq.apache.org/artemis/docs/1.2.0/management.html. Justin - Original Message - From: "Marcin Giedz" To: "users" Cc: d...@activemq.apache.org Sent:

Re: [ANNOUNCE] Apache Artemis 1.2.0 Released

2016-01-11 Thread Marcin Giedz
Hi there Is advisory message implemented in this release? If not any plans ? Thx Marcin Od: "Martyn Taylor" Do: d...@activemq.apache.org, "users" Wysłane: poniedziałek, 11 styczeń 2016 11:33:24 Temat: [ANNOUNCE] Apache Artemis 1.2.0 Released Hi all, Apache Artemis 1.2.0 has now bee

Re: [ANNOUNCE] Apache Artemis 1.2.0 Released

2016-01-11 Thread Christian Schneider
For anyone wanting to try artemis on Apache Karaf 4.0.3. You can use these commands on the started karaf server. feature:repo-add artemis 1.2.0 feature:install artemis-core artemis-amqp artemis-hornetq artemis-mqtt artemis-stomp This should start an activemq server with default configs. You c

jolokia-agent: Couldn't start discovery [ActiveMQ-5.13.0]

2016-01-11 Thread nader
Just testing ActiveMQ version 5.13.0 and see jolokia-agent: Couldn't start discovery for each IP that the computer has. The value of discoveryEnabled is set to false in ./activemq-5.13.0/webapps/api/WEB-INF/web.xml. What does this info means? And why it does not respect the false value of discov

[ANNOUNCE] Apache Artemis 1.2.0 Released

2016-01-11 Thread Martyn Taylor
Hi all, Apache Artemis 1.2.0 has now been released. This release has significant improvements to performance, particularly around the persistence layer. In addition, new features have been added such as LDAP and OSGi support. There has also been more improvements to the OpenWire protocol.