Re: cannot send channel has already failed

2017-03-31 Thread Shekhar Naidu
I am seeing connection reset errors in the active mq log file. On Mar 31, 2017 3:23 PM, "Shekhar Naidu" wrote: > I do not see any other issues/exceptions except this one > > Thank you > Shekar > > On Mar 31, 2017 9:27 AM, "Tim Bain" wrote: > >> I've never seen that error be the first error to o

Re: cannot send channel has already failed

2017-03-31 Thread Shekhar Naidu
I do not see any other issues/exceptions except this one Thank you Shekar On Mar 31, 2017 9:27 AM, "Tim Bain" wrote: > I've never seen that error be the first error to occur; in my experience, > there has always been something else that failed, and then you hit the > error you quoted. Are there

Re: Active mq 5.7 slave broker does not get the lock when the master is brought down

2017-03-31 Thread akhil
Thank you Tim . Using NFSV4 and not sure about the testing of NFS file lock with out activemq ? It worked before and all of a sudden when i launch , both of them are going to slave modes. i have created a new EFS mounts and tried still its going under slave. Have restarted each one of the broker on

Re: Active mq 5.7 slave broker does not get the lock when the master is brought down

2017-03-31 Thread Tim Bain
Are you using NFSv4? Can you test whether you can acquire an NFS file lock in that location without using ActiveMQ? Take ActiveMQ out of the mix and make sure your underlying infrastructure works. Tim On Mar 30, 2017 11:29 AM, "akhil" wrote: > Hi Gary , > > I have a same setup as bala. Two bro

Re: Active MQ viewing messages in queue

2017-03-31 Thread Tim Bain
You need to put all relevant JARs onto the broker's classpath, either by putting them into a folder that will be automatically added to the classpath (e.g. lib) or by putting them somewhere else and modifying the start script to add them to the classpath. Tim On Mar 30, 2017 4:43 PM, "hyrahul64"

Re: cannot send channel has already failed

2017-03-31 Thread Tim Bain
I've never seen that error be the first error to occur; in my experience, there has always been something else that failed, and then you hit the error you quoted. Are there any earlier errors in your log files (either client or broker)? Tim On Mar 31, 2017 5:36 AM, "Shekhar Naidu" wrote: I am d

Re: Artemis 2.0: JMS seems to create an address/queue on jmsSession.createProducer() calls

2017-03-31 Thread andytaylor
Im not sure I mentioned a topic, however for clarification jms queue = anycast and jms topic = multicast in general On 31 March 2017 at 13:30, titou10 [via ActiveMQ] < ml-node+s2283324n4724423...@n4.nabble.com> wrote: > I must admit I'm lost here.. > > The example is from https://activemq.apache.

Re: Artemis 2.0: JMS seems to create an address/queue on jmsSession.createProducer() calls

2017-03-31 Thread titou10
I must admit I'm lost here.. The example is from https://activemq.apache.org/artemis/docs/2.0.0/address-model.html, section "Point-to-Point Address multiple Queues" and there is no question about Topics here Do you say that q1 is a Topic from a JMS perspective, even if it is attached to an "A

Re: Artemis 2.0: JMS seems to create an address/queue on jmsSession.createProducer() calls

2017-03-31 Thread andytaylor
It does adhere to the JMS spec, the destinations are just created dynamically not explicitly because of the call.NB mos vendors do this For the second exception, this is because you send to an address not a queue, so it tries to create a new queue under the address q1 which fails because it alread

Re: Artemis 2.0: JMS seems to create an address/queue on jmsSession.createProducer() calls

2017-03-31 Thread titou10
OK... I'm not sure that setting the server in this mode respects the JMS specs...maybe it may be considered as a JMS extension? And what about the ActiveMQQueueExistsException[errorType=QUEUE_EXISTS message=AMQ119019: Queue already exists q1]exception for the second case ? Le 31/03/2017 à 0

Re: Do address-settings merge?

2017-03-31 Thread andytaylor
Its done in order, so the second entry will inherit from any previous entry that matches or be over riden On 31 March 2017 at 08:17, jelmer [via ActiveMQ] < ml-node+s2283324n4724411...@n4.nabble.com> wrote: > Hi all, > > We as team are planning to use active mq artemis 1.5.3 in a production > env

Re: Artemis 2.0: JMS seems to create an address/queue on jmsSession.createProducer() calls

2017-03-31 Thread andytaylor
This happens if you have auto create for queues/topics configured on the address settings, you can turn this off if you desire On 31 March 2017 at 12:17, titou10 [via ActiveMQ] < ml-node+s2283324n4724416...@n4.nabble.com> wrote: > FYI, same code to an IBM MQ server fails as expected with an > "UN

cannot send channel has already failed

2017-03-31 Thread Shekhar Naidu
I am doing my application setup in linux for the first time. I have both a standalone java program and active mq running on Linux. I am trying to connect to Active Mq (5.13) but I keep getting an error message "*cannot send channel has already failed*" The same program working fine in my local win

Re: Artemis 2.0: JMS seems to create an address/queue on jmsSession.createProducer() calls

2017-03-31 Thread titou10
FYI, same code to an IBM MQ server fails as expected with an "UNKNOWN_OBJECT_NAME" on the createProducer() method com.ibm.mq.MQException: JMSCMQ0001: IBM MQ call failed with compcode '2' ('MQCC_FAILED') reason '2085' ('MQRC_UNKNOWN_OBJECT_NAME'). at com.ibm.msg.client.wmq.common.internal.R

Artemis 2.0: JMS seems to create an address/queue on jmsSession.createProducer() calls

2017-03-31 Thread titou10
With Artemis 2.0, with this JMS code... Queue jmsQ = sessionJMS.createQueue("nonExistingQueue"); TextMessage m = sessionJMS.createTextMessage(); m.setText("whatever"); try (MessageProducer p = sessionJMS.createProducer(jmsQ);) { p.send(m);

Re: general problem with pending messages

2017-03-31 Thread ak-dak
Hi Tim, thank you for your explanation. I will do the following things: - increasing the store usage limit - configure mKahaDb with several folders for several projects or use cases It seems that AMQ in version 5.14.4 can handle log files much better than in version 5.13.1 *if I separate the kah

Do address-settings merge?

2017-03-31 Thread jelmer
Hi all, We as team are planning to use active mq artemis 1.5.3 in a production environment. While preparing our configuration, we stumbled along some questions, that was not answered in the documentation. The questions are: Do address-settings merge when multiple matchers match. EG would the follo