Re: javax.jms.InvalidClientIDException - for 3 brokers connected in network connector

2018-02-25 Thread Rajesh Malla
thank you for response, I got it from the links which you provided. Thank you so much -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: javax.jms.InvalidClientIDException - for 3 brokers connected in network connector

2018-02-24 Thread Tim Bain
On Sat, Feb 24, 2018 at 5:11 PM, Rajesh Malla wrote: > Hello Team > > we are connecting n/w connectors > A->B > A->C > > B->C > B->A > > C->B > C->A > > same broker xml file using to create jcs-brokers, however providing > different network connector name to each network connector so that we don

javax.jms.InvalidClientIDException - for 3 brokers connected in network connector

2018-02-24 Thread Rajesh Malla
Hello Team we are connecting n/w connectors A->B A->C B->C B->A C->B C->A same broker xml file using to create jcs-brokers, however providing different network connector name to each network connector so that we dont get invalidclientid exception. n/w connector name : A-C, A-B, B-C, B-A, C-D,

throw javax.jms.InvalidClientIDException when use network-broker

2015-09-06 Thread shanegoal
Hi, We have a two node network brokers set up. it can work fine two or three days. Suddenly, every broker will try to create connection to each other, but because There are already has connected to each other, so it will throw a “javax.jms.InvalidClientIDException”. The brokers will

Re: javax.jms.InvalidClientIDException for durable subscription on broker restart

2014-10-13 Thread khandelwalanuj
Some observation : I saw this exception in ActiveMQ setup again. This time I restarted broker with "AllowLinkStealing" and issue got resolved. Again I restarted broker with normal configuration (without "AllowLinkStealing"), I didn't see the issue. Can I use "AllowLinkStealing" for workaround

Re: javax.jms.InvalidClientIDException for durable subscription on broker restart

2014-08-19 Thread artnaseef
Sorry to hear your frustration. Please keep in mind this is an open-source project and only volunteers spend their time helping here. I wish I were paid to reply to your questions so I could do so all day long! With that said, based on the error message, I believe the error means there is an att

Re: javax.jms.InvalidClientIDException for durable subscription on broker restart

2014-08-19 Thread khandelwalanuj
My work is stuck here and no one is responding. We expect ActiveMQ vendors to help us to resolve such issues. It's been 10 days since I posted and no response after that. Really disappointing. -- View this message in context: http://activemq.2283324.n4.nabble.com/javax-jms-InvalidClientIDE

Re: javax.jms.InvalidClientIDException for durable subscription on broker restart

2014-08-12 Thread Sophia Wright
Hi, I also have a similar requirement where I want to have multiple durable subscribers and publishers in the same client application connecting to the broker.(broker version 5.10) What should be the correct way to configure the above mentioned case? As Anuj mentioned in last update: 1) I use

Re: javax.jms.InvalidClientIDException for durable subscription on broker restart

2014-08-12 Thread khandelwalanuj
> When using the pool the calls to createConnection will create up to max connections before returning > already existing connections, so if you want a durable subscription on a pooled connection type setup you > must limit it to one connection When I try with maxCOnneciton to "1" and by u

Re: javax.jms.InvalidClientIDException for durable subscription on broker restart

2014-08-11 Thread khandelwalanuj
Hey Tim, Did you get a chance to look at this ? -- View this message in context: http://activemq.2283324.n4.nabble.com/javax-jms-InvalidClientIDException-for-durable-subscription-on-broker-restart-tp4684381p4684429.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: javax.jms.InvalidClientIDException for durable subscription on broker restart

2014-08-11 Thread khandelwalanuj
Please respond -- View this message in context: http://activemq.2283324.n4.nabble.com/javax-jms-InvalidClientIDException-for-durable-subscription-on-broker-restart-tp4684381p4684406.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: javax.jms.InvalidClientIDException for durable subscription on broker restart

2014-08-11 Thread khandelwalanuj
Hi, In my case I am creating 6 listeners in my application using different spring DMLC. So In this case should 1) I use 1 pooledConnectionFactory with "maxConnection" = 6 OR 2) different pooledCOnnectionFactory for each listener. Thanks, Anuj -- View this message in context: http://ac

Re: javax.jms.InvalidClientIDException for durable subscription on broker restart

2014-08-11 Thread Timothy Bish
On 08/11/2014 09:57 AM, khandelwalanuj wrote: Hi, No only one application is running on the host. Yes I am using pooled connection factory. This is how my connection factory looks liks: jmsFactory*" class="org.apache.activemq.pool.PooledConnectionFactory" destroy-method

Re: javax.jms.InvalidClientIDException for durable subscription on broker restart

2014-08-11 Thread khandelwalanuj
Hi, No only one application is running on the host. Yes I am using pooled connection factory. This is how my connection factory looks liks: jmsFactory*" class="org.apache.activemq.pool.PooledConnectionFactory" destroy-method="stop">

Re: javax.jms.InvalidClientIDException for durable subscription on broker restart

2014-08-11 Thread Timothy Bish
7746385464-11:6 javax.jms.InvalidClientIDException: Broker: mqbrokerprod - Client: GLOCLIENT already connected from tcp://gbo5.nyc.xyz.com:32985 When I debugged it further I found that only one instance of client is trying to connect to the broker, there is no other instance running on gbo5.nyc.xy

Re: javax.jms.InvalidClientIDException for durable subscription on broker restart

2014-08-11 Thread khandelwalanuj
Can someone please check. It is affecting my production setup. -- View this message in context: http://activemq.2283324.n4.nabble.com/javax-jms-InvalidClientIDException-for-durable-subscription-on-broker-restart-tp4684381p4684382.html Sent from the ActiveMQ - User mailing list archive at Nabb

javax.jms.InvalidClientIDException for durable subscription on broker restart

2014-08-11 Thread khandelwalanuj
Hi, I am seeing a weird issue: when I restart the ActiveMQ broker a *durable subscriber client* is not able to connect to the broker showing "InvalidClientIDException". *Exception: *Failed to add Connection ID:gbo5.nyc.xyz.com-36751-1407746385464-11:6 javax.jms.InvalidClientIDExcepti

Re: "javax.jms.InvalidClientIDException" with maxConnection in pooledConnectionFactory

2014-05-15 Thread artnaseef
Yes, an InvalidClientIDException is thrown on duplicate ID. It's not possible to have more than one consumer for a durable subscription - that's a weakness of durable subscriptions, although it's actually more of a Topic vs Queue isssue. Look at VirtualTopic's to get the semantics of durable cons

Re: "javax.jms.InvalidClientIDException" with maxConnection in pooledConnectionFactory

2014-04-27 Thread khandelwalanuj
Please respond -- View this message in context: http://activemq.2283324.n4.nabble.com/javax-jms-InvalidClientIDException-with-maxConnection-in-pooledConnectionFactory-tp4680549p4680607.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: "javax.jms.InvalidClientIDException" with maxConnection in pooledConnectionFactory

2014-04-25 Thread khandelwalanuj
So if the consumer tries to create more than one connection. It will get "InvalidClientIDException". Does it mean that if a consumer is having durable subscription, it cannot use "maxConnection" of PooledConnectionFactory ? Which is wrong. Ideally broker should allow a durable consumer to have m

Re: "javax.jms.InvalidClientIDException" with maxConnection in pooledConnectionFactory

2014-04-25 Thread artnaseef
Yes, only one connection with a specific client id is allowed, as per the JMS spec. Sent from my iPhone > On Apr 24, 2014, at 11:44 PM, "khandelwalanuj [via ActiveMQ]" > wrote: > > Hi, > > ActiveMQ Broker: 5.8 > > I am using "PooledConnectionFactory" with "maxConnections = 20" for my jav

"javax.jms.InvalidClientIDException" with maxConnection in pooledConnectionFactory

2014-04-24 Thread khandelwalanuj
Hi, ActiveMQ Broker: 5.8 I am using "*PooledConnectionFactory*" with "*maxConnections = 20*" for my java consumer. According to my understanding: Broker will allow consumer to have 20 connection at a time if it is required. Question: My Consumer is subscribing to a topic with durable subscript

javax.jms.InvalidClientIDException: Broker: broker-1 - Client: network-broker-1_broker-3_outbound already connected from tcp://:

2014-03-02 Thread Pankaj Arora
We are using activeMQ 5.7 release and use static network of brokers. Every now and then( 12 hrs or so) we get javax.jms.InvalidClientIDException: Broker: broker-1 - Client: network-broker-1_broker-3_outbound already connected from tcp://: at

Re: reason: javax.jms.InvalidClientIDException : "Client already connected from"

2014-01-08 Thread Christian Posta
gt; log file: > > [20140108 06:30:01.038 EST (ActiveMQ Transport: tcp:///*.*.*.*:45678@61616) > org.apache.activemq.broker.TransportConnection#processAddConnection 772 > WARN] - Failed to add Connection ID:host-34810-1389180458930-0:1, reason: > javax.jms.InvalidClientIDException

Re: reason: javax.jms.InvalidClientIDException : "Client already connected from"

2014-01-08 Thread khandelwalanuj
In addition to the above post, client_id is static for the consumer. -- View this message in context: http://activemq.2283324.n4.nabble.com/reason-javax-jms-InvalidClientIDException-Client-already-connected-from-tp4676097p4676100.html Sent from the ActiveMQ - User mailing list archive at

reason: javax.jms.InvalidClientIDException : "Client already connected from"

2014-01-08 Thread khandelwalanuj
-1389180458930-0:1, reason: javax.jms.InvalidClientIDException: Broker: mybroker - Client: CLIENT1 already connected from tcp://*.*.*.*:25911 This error is coming for a consumer who is using durable subscription. My observation: I think this is happening because ActiveMQ is keeping the connection_id for

Re: javax.jms.InvalidClientIDException

2012-02-26 Thread marnold
Some additional information... The error above only occurs on the third and subsequent send "in a row". That is, the first and second time my MDB sends its JMS message without errors, but the third time fails. "in a row", because if I leave a good minute between attempts, it always works. I hav

javax.jms.InvalidClientIDException

2012-02-26 Thread marnold
(changed my hostname to xxx): 2012-02-26 16:26:35,387 WARN [org.apache.activemq.broker.TransportConnection] (WorkManager(2)-13) Failed to add Connection ID:x-61979-1330244707051-2:3, reason: javax.jms.InvalidClientIDException: Broker: jboss-activemq-broker - Client: ID:-61979-133024

Re: How to catch javax.jms.InvalidClientIDException from AMQ

2011-05-23 Thread Gary Tully
Have a peek at http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/plugin/DiscardingDLQBrokerPlugin.java?view=markup or at some of the plugins in http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/util/ On 20

Re: How to catch javax.jms.InvalidClientIDException from AMQ

2011-05-20 Thread teapot
Gary: Is there any code example I can reference to add a plugin with overridden addConnection() method? Thanks. -- View this message in context: http://activemq.2283324.n4.nabble.com/How-to-catch-javax-jms-InvalidClientIDException-from-AMQ-tp3458347p3539348.html Sent from the ActiveMQ - User mai

Re: How to catch javax.jms.InvalidClientIDException from AMQ

2011-04-22 Thread Gary Tully
d and started via spring > bean(org.apache.activemq.xbean.BrokerFactoryBean). Is there any place to add > a plugin exception handler for javax.jms.InvalidClientIDException. The > http://activemq.apache.org/configurable-ioexception-handling.html only deals > with IOException. > > Thanks. > > -- >

Re: How to catch javax.jms.InvalidClientIDException from AMQ

2011-04-21 Thread teapot
there any place to add a plugin exception handler for javax.jms.InvalidClientIDException. The http://activemq.apache.org/configurable-ioexception-handling.html only deals with IOException. Thanks. -- View this message in context: http://activemq.2283324.n4.nabble.com/How-to-catch-javax-jms

Re: How to catch javax.jms.InvalidClientIDException from AMQ

2011-04-19 Thread Gary Tully
and overwrites. On 18 April 2011 19:36, teapot wrote: > Hi: > > I am using ActiveMQ 5.4.2. I used spring bean to configure ActiveMQ broker > and run the application on Tomcat. Is there any way to plug in an exception > handler for javax.jms.InvalidClientIDException from the brok

How to catch javax.jms.InvalidClientIDException from AMQ

2011-04-18 Thread teapot
Hi: I am using ActiveMQ 5.4.2. I used spring bean to configure ActiveMQ broker and run the application on Tomcat. Is there any way to plug in an exception handler for javax.jms.InvalidClientIDException from the broker? The handler is to deal with the exception the broker output to the Tomcat

javax.jms.InvalidClientIDException

2010-05-06 Thread Kalpana Jalawadi
Hi, I get javax.jms.InvalidClientIDException exception while creating the jms connection once in a while, inspite of passing a unique client id. Unable to reproduce the problem consistently, I'm deploying my app in tomcat. Below is the code snippet: connectionFactory

javax.jms.InvalidClientIDException: No clientID specified for connection disconnect request

2009-07-28 Thread lord.breetai
, responseRequired = true, co nnectionId = ID:deltamachine-51095-1248809080501-2:5, clientId = null, userName = defaultUser, password = defaultPassw ord, brokerPath = null, brokerMasterConnector = false, manageable = true, clientMaster = true} javax.jms.InvalidClientIDException: No clientID specified for