You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Demian Mrakovich <ne...@hotmail.com> on 2008/06/19 15:11:15 UTC

No clientID specified for connection disconnect request

Just upgraded from 4.1 to 5.1 and get this exception now right after every
message is received. Messages get processed fine anyway, but the stacktrace
really litters the log and maybe it is a symptom of an error of some kind.
Googled this message, but to no avail... Any suggestions on how to get rid
of it?

2008-06-19 14:01:52,586 WARN 
[org.apache.activemq.broker.TransportConnection.Service] Failed to remove
connection ConnectionInfo {commandId = 1, responseRequired = true, conn
ectionId = ID:ubuntu.linpro.no-53402-1213876871547-2:11, clientId = null,
userName = defaultUser, password = defaultPassword, brokerPath = null,
brokerMasterConnector = false,
 manageable = true, clientMaster = true}
javax.jms.InvalidClientIDException: No clientID specified for connection
disconnect request
        at
org.apache.activemq.broker.region.RegionBroker.removeConnection(RegionBroker.java:225)
        at
org.apache.activemq.broker.TransactionBroker.removeConnection(TransactionBroker.java:248)
        at
org.apache.activemq.advisory.AdvisoryBroker.removeConnection(AdvisoryBroker.java:214)
        at
org.apache.activemq.broker.BrokerFilter.removeConnection(BrokerFilter.java:109)
        at
org.apache.activemq.broker.MutableBrokerFilter.removeConnection(MutableBrokerFilter.java:116)
        at
org.apache.activemq.broker.TransportConnection.processRemoveConnection(TransportConnection.java:704)
        at org.apache.activemq.command.RemoveInfo.visit(RemoveInfo.java:60)
        at
org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:292)
        at
org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:180)
        at
org.apache.activemq.transport.ResponseCorrelator.onCommand(ResponseCorrelator.java:104)
        at
org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:68)
        at
org.apache.activemq.transport.vm.VMTransport.iterate(VMTransport.java:205)
        at
org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:122)
        at
org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:43)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:595)

-- 
View this message in context: http://www.nabble.com/No-clientID-specified-for-connection-disconnect-request-tp18008702p18008702.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: No clientID specified for connection disconnect request

Posted by k_rain <k_...@yahoo.co.in>.
Thanks, 
where to mention this property vm://localhost?create=false&amp;async=false 
i mean which configuration file is it broker-config.xml?

or to use following the code, 

ActiveMQConnectionFactory factory = new
ActiveMQConnectionFactory("vm://localhost?create=false");

i go this error

An error occurred at line: 50 in the jsp file: /hi.jsp
The constructor ActiveMQConnectionFactory(String) is undefined
47: 			   {
48: 				   /* Active MQ Connecttion */
49: 				   
50: 				   ActiveMQConnectionFactory factory = new
ActiveMQConnectionFactory("vm://localhost?create=false");


i am using activemq 5.1.0

please give me some solution



Benoitx wrote:
> 
> let me answer my own question... the config is in an xml file...
> this works:
> vm://localhost?create=false&amp;async=false
> 
> We'll get back to the list if it re-occurs but... it seems to have fixed
> the clientID issue.
> 
> Thanks!!!
> 
> Benoit
> 
> 
> Benoitx wrote:
>> 
>> Thanks a lot for this.
>> 
>> Could you confirm the syntax to add more than one parameter?
>> 
>> We already have: vm://localhost?create=false
>> 
>> so I tried vm://localhost?create=false&async=false  but this is
>> rejected...
>> 
>> Sorry, it is a very basic question...
>> 
>> Benoit
>> 
>> 
>> rajdavies wrote:
>>> 
>>> work around could be to  turn async dispatch off in the vm://  
>>> transport - e.g. vm://localhost?async=false
>>> 
>>> On 8 Jul 2008, at 23:42, Benoitx wrote:
>>> 
>>>>
>>>> Same here.
>>>>
>>>> This error seems to happen on the FIRST message sent by thread in  
>>>> JBoss...
>>>> After the first message, it seems to go away...  Quite annoying.
>>>>
>>>> Any suggestion ? Solution? workaround?
>>>>
>>>> Thanks
>>>>
>>>> Benoit
>>>>
>>>>
>>>>
>>>> Demian Mrakovich wrote:
>>>>>
>>>>> Just upgraded from 4.1 to 5.1 and get this exception now right  
>>>>> after every
>>>>> message is received. Messages get processed fine anyway, but the
>>>>> stacktrace really litters the log and maybe it is a symptom of an  
>>>>> error of
>>>>> some kind. Googled this message, but to no avail... Any suggestions  
>>>>> on how
>>>>> to get rid of it?
>>>>>
>>>>> 2008-06-19 14:01:52,586 WARN
>>>>> [org.apache.activemq.broker.TransportConnection.Service] Failed to  
>>>>> remove
>>>>> connection ConnectionInfo {commandId = 1, responseRequired = true,  
>>>>> conn
>>>>> ectionId = ID:ubuntu.linpro.no-53402-1213876871547-2:11, clientId =  
>>>>> null,
>>>>> userName = defaultUser, password = defaultPassword, brokerPath =  
>>>>> null,
>>>>> brokerMasterConnector = false,
>>>>> manageable = true, clientMaster = true}
>>>>> javax.jms.InvalidClientIDException: No clientID specified for  
>>>>> connection
>>>>> disconnect request
>>>>>        at
>>>>> org 
>>>>> .apache 
>>>>> .activemq 
>>>>> .broker.region.RegionBroker.removeConnection(RegionBroker.java:225)
>>>>>        at
>>>>> org 
>>>>> .apache 
>>>>> .activemq 
>>>>> .broker.TransactionBroker.removeConnection(TransactionBroker.java: 
>>>>> 248)
>>>>>        at
>>>>> org 
>>>>> .apache 
>>>>> .activemq 
>>>>> .advisory.AdvisoryBroker.removeConnection(AdvisoryBroker.java:214)
>>>>>        at
>>>>> org 
>>>>> .apache 
>>>>> .activemq.broker.BrokerFilter.removeConnection(BrokerFilter.java:109)
>>>>>        at
>>>>> org 
>>>>> .apache 
>>>>> .activemq 
>>>>> .broker 
>>>>> .MutableBrokerFilter.removeConnection(MutableBrokerFilter.java:116)
>>>>>        at
>>>>> org 
>>>>> .apache 
>>>>> .activemq 
>>>>> .broker 
>>>>> .TransportConnection 
>>>>> .processRemoveConnection(TransportConnection.java:704)
>>>>>        at
>>>>> org.apache.activemq.command.RemoveInfo.visit(RemoveInfo.java:60)
>>>>>        at
>>>>> org 
>>>>> .apache 
>>>>> .activemq 
>>>>> .broker.TransportConnection.service(TransportConnection.java:292)
>>>>>        at
>>>>> org.apache.activemq.broker.TransportConnection 
>>>>> $1.onCommand(TransportConnection.java:180)
>>>>>        at
>>>>> org 
>>>>> .apache 
>>>>> .activemq 
>>>>> .transport.ResponseCorrelator.onCommand(ResponseCorrelator.java:104)
>>>>>        at
>>>>> org 
>>>>> .apache 
>>>>> .activemq.transport.TransportFilter.onCommand(TransportFilter.java: 
>>>>> 68)
>>>>>        at
>>>>> org 
>>>>> .apache.activemq.transport.vm.VMTransport.iterate(VMTransport.java: 
>>>>> 205)
>>>>>        at
>>>>> org 
>>>>> .apache 
>>>>> .activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:122)
>>>>>        at
>>>>> org.apache.activemq.thread.PooledTaskRunner 
>>>>> $1.run(PooledTaskRunner.java:43)
>>>>>        at
>>>>> java.util.concurrent.ThreadPoolExecutor 
>>>>> $Worker.runTask(ThreadPoolExecutor.java:650)
>>>>>        at
>>>>> java.util.concurrent.ThreadPoolExecutor 
>>>>> $Worker.run(ThreadPoolExecutor.java:675)
>>>>>        at java.lang.Thread.run(Thread.java:595)
>>>>>
>>>>>
>>>>
>>>>
>>>> -----
>>>> Thanks & Regards,
>>>>
>>>> Benoit
>>>>
>>>> http://www.Appendium.com   http://objectlab.blogspot.com
>>>>
>>>> -- 
>>>> View this message in context:
>>>> http://www.nabble.com/No-clientID-specified-for-connection-disconnect-request-tp18008702p18350696.html
>>>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>>>
>>> 
>>> 
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/No-clientID-specified-for-connection-disconnect-request-tp18008702p20716055.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: No clientID specified for connection disconnect request

Posted by Rob Davies <ra...@gmail.com>.
Actually async is faster normally - this is a work around until 5.2 -  
the issue is fixed in trunk

On 10 Jul 2008, at 16:47, Demian Mrakovich wrote:

>
> Thanks for the bump and for the work-around!
>
> But - turning off async dispatch reduces performance with slow  
> consumers if
> I understand correctly, so I would prefer having it on. Is there a  
> "better"
> solution to this? Is it a bug or do I have bad config somewhere?
>
>
>
> rajdavies wrote:
>>
>> Great! thx Benoitx!
>>
>> On 9 Jul 2008, at 16:31, Benoitx wrote:
>>
>>>
>>> let me answer my own question... the config is in an xml file...
>>> this works:
>>> vm://localhost?create=false&amp;async=false
>>>
>>> We'll get back to the list if it re-occurs but... it seems to have
>>> fixed the
>>> clientID issue.
>>>
>>> Thanks!!!
>>>
>>> Benoit
>>>
>>>
>>> Benoitx wrote:
>>>>
>>>> Thanks a lot for this.
>>>>
>>>> Could you confirm the syntax to add more than one parameter?
>>>>
>>>> We already have: vm://localhost?create=false
>>>>
>>>> so I tried vm://localhost?create=false&async=false  but this is
>>>> rejected...
>>>>
>>>> Sorry, it is a very basic question...
>>>>
>>>> Benoit
>>>>
>>>>
>>>> rajdavies wrote:
>>>>>
>>>>> work around could be to  turn async dispatch off in the vm://
>>>>> transport - e.g. vm://localhost?async=false
>>>>>
>>>>> On 8 Jul 2008, at 23:42, Benoitx wrote:
>>>>>
>>>>>>
>>>>>> Same here.
>>>>>>
>>>>>> This error seems to happen on the FIRST message sent by thread in
>>>>>> JBoss...
>>>>>> After the first message, it seems to go away...  Quite annoying.
>>>>>>
>>>>>> Any suggestion ? Solution? workaround?
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>> Benoit
>>>>>>
>>>>>>
>>>>>>
>>>>>> Demian Mrakovich wrote:
>>>>>>>
>>>>>>> Just upgraded from 4.1 to 5.1 and get this exception now right
>>>>>>> after every
>>>>>>> message is received. Messages get processed fine anyway, but the
>>>>>>> stacktrace really litters the log and maybe it is a symptom of  
>>>>>>> an
>>>>>>> error of
>>>>>>> some kind. Googled this message, but to no avail... Any
>>>>>>> suggestions
>>>>>>> on how
>>>>>>> to get rid of it?
>>>>>>>
>>>>>>> 2008-06-19 14:01:52,586 WARN
>>>>>>> [org.apache.activemq.broker.TransportConnection.Service]  
>>>>>>> Failed to
>>>>>>> remove
>>>>>>> connection ConnectionInfo {commandId = 1, responseRequired =  
>>>>>>> true,
>>>>>>> conn
>>>>>>> ectionId = ID:ubuntu.linpro.no-53402-1213876871547-2:11,
>>>>>>> clientId =
>>>>>>> null,
>>>>>>> userName = defaultUser, password = defaultPassword, brokerPath =
>>>>>>> null,
>>>>>>> brokerMasterConnector = false,
>>>>>>> manageable = true, clientMaster = true}
>>>>>>> javax.jms.InvalidClientIDException: No clientID specified for
>>>>>>> connection
>>>>>>> disconnect request
>>>>>>>      at
>>>>>>> org
>>>>>>> .apache
>>>>>>> .activemq
>>>>>>> .broker.region.RegionBroker.removeConnection(RegionBroker.java:
>>>>>>> 225)
>>>>>>>      at
>>>>>>> org
>>>>>>> .apache
>>>>>>> .activemq
>>>>>>> .broker 
>>>>>>> .TransactionBroker.removeConnection(TransactionBroker.java:
>>>>>>> 248)
>>>>>>>      at
>>>>>>> org
>>>>>>> .apache
>>>>>>> .activemq
>>>>>>> .advisory.AdvisoryBroker.removeConnection(AdvisoryBroker.java: 
>>>>>>> 214)
>>>>>>>      at
>>>>>>> org
>>>>>>> .apache
>>>>>>> .activemq 
>>>>>>> .broker.BrokerFilter.removeConnection(BrokerFilter.java:
>>>>>>> 109)
>>>>>>>      at
>>>>>>> org
>>>>>>> .apache
>>>>>>> .activemq
>>>>>>> .broker
>>>>>>> .MutableBrokerFilter.removeConnection(MutableBrokerFilter.java:
>>>>>>> 116)
>>>>>>>      at
>>>>>>> org
>>>>>>> .apache
>>>>>>> .activemq
>>>>>>> .broker
>>>>>>> .TransportConnection
>>>>>>> .processRemoveConnection(TransportConnection.java:704)
>>>>>>>      at
>>>>>>> org.apache.activemq.command.RemoveInfo.visit(RemoveInfo.java:60)
>>>>>>>      at
>>>>>>> org
>>>>>>> .apache
>>>>>>> .activemq
>>>>>>> .broker.TransportConnection.service(TransportConnection.java: 
>>>>>>> 292)
>>>>>>>      at
>>>>>>> org.apache.activemq.broker.TransportConnection
>>>>>>> $1.onCommand(TransportConnection.java:180)
>>>>>>>      at
>>>>>>> org
>>>>>>> .apache
>>>>>>> .activemq
>>>>>>> .transport.ResponseCorrelator.onCommand(ResponseCorrelator.java:
>>>>>>> 104)
>>>>>>>      at
>>>>>>> org
>>>>>>> .apache
>>>>>>> .activemq
>>>>>>> .transport.TransportFilter.onCommand(TransportFilter.java:
>>>>>>> 68)
>>>>>>>      at
>>>>>>> org
>>>>>>> .apache
>>>>>>> .activemq.transport.vm.VMTransport.iterate(VMTransport.java:
>>>>>>> 205)
>>>>>>>      at
>>>>>>> org
>>>>>>> .apache
>>>>>>> .activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:
>>>>>>> 122)
>>>>>>>      at
>>>>>>> org.apache.activemq.thread.PooledTaskRunner
>>>>>>> $1.run(PooledTaskRunner.java:43)
>>>>>>>      at
>>>>>>> java.util.concurrent.ThreadPoolExecutor
>>>>>>> $Worker.runTask(ThreadPoolExecutor.java:650)
>>>>>>>      at
>>>>>>> java.util.concurrent.ThreadPoolExecutor
>>>>>>> $Worker.run(ThreadPoolExecutor.java:675)
>>>>>>>      at java.lang.Thread.run(Thread.java:595)
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> -----
>>>>>> Thanks & Regards,
>>>>>>
>>>>>> Benoit
>>>>>>
>>>>>> http://www.Appendium.com   http://objectlab.blogspot.com
>>>>>>
>>>>>> -- 
>>>>>> View this message in context:
>>>>>> http://www.nabble.com/No-clientID-specified-for-connection-disconnect-request-tp18008702p18350696.html
>>>>>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>> -----
>>> Thanks & Regards,
>>>
>>> Benoit
>>>
>>> http://www.Appendium.com   http://objectlab.blogspot.com
>>>
>>> -- 
>>> View this message in context:
>>> http://www.nabble.com/No-clientID-specified-for-connection-disconnect-request-tp18008702p18363293.html
>>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>>
>>
>>
>>
>
> -- 
> View this message in context: http://www.nabble.com/No-clientID-specified-for-connection-disconnect-request-tp18008702p18385571.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>


Re: No clientID specified for connection disconnect request

Posted by Demian Mrakovich <ne...@hotmail.com>.
Thanks for the bump and for the work-around!

But - turning off async dispatch reduces performance with slow consumers if
I understand correctly, so I would prefer having it on. Is there a "better"
solution to this? Is it a bug or do I have bad config somewhere?



rajdavies wrote:
> 
> Great! thx Benoitx!
> 
> On 9 Jul 2008, at 16:31, Benoitx wrote:
> 
>>
>> let me answer my own question... the config is in an xml file...
>> this works:
>> vm://localhost?create=false&amp;async=false
>>
>> We'll get back to the list if it re-occurs but... it seems to have  
>> fixed the
>> clientID issue.
>>
>> Thanks!!!
>>
>> Benoit
>>
>>
>> Benoitx wrote:
>>>
>>> Thanks a lot for this.
>>>
>>> Could you confirm the syntax to add more than one parameter?
>>>
>>> We already have: vm://localhost?create=false
>>>
>>> so I tried vm://localhost?create=false&async=false  but this is
>>> rejected...
>>>
>>> Sorry, it is a very basic question...
>>>
>>> Benoit
>>>
>>>
>>> rajdavies wrote:
>>>>
>>>> work around could be to  turn async dispatch off in the vm://
>>>> transport - e.g. vm://localhost?async=false
>>>>
>>>> On 8 Jul 2008, at 23:42, Benoitx wrote:
>>>>
>>>>>
>>>>> Same here.
>>>>>
>>>>> This error seems to happen on the FIRST message sent by thread in
>>>>> JBoss...
>>>>> After the first message, it seems to go away...  Quite annoying.
>>>>>
>>>>> Any suggestion ? Solution? workaround?
>>>>>
>>>>> Thanks
>>>>>
>>>>> Benoit
>>>>>
>>>>>
>>>>>
>>>>> Demian Mrakovich wrote:
>>>>>>
>>>>>> Just upgraded from 4.1 to 5.1 and get this exception now right
>>>>>> after every
>>>>>> message is received. Messages get processed fine anyway, but the
>>>>>> stacktrace really litters the log and maybe it is a symptom of an
>>>>>> error of
>>>>>> some kind. Googled this message, but to no avail... Any  
>>>>>> suggestions
>>>>>> on how
>>>>>> to get rid of it?
>>>>>>
>>>>>> 2008-06-19 14:01:52,586 WARN
>>>>>> [org.apache.activemq.broker.TransportConnection.Service] Failed to
>>>>>> remove
>>>>>> connection ConnectionInfo {commandId = 1, responseRequired = true,
>>>>>> conn
>>>>>> ectionId = ID:ubuntu.linpro.no-53402-1213876871547-2:11,  
>>>>>> clientId =
>>>>>> null,
>>>>>> userName = defaultUser, password = defaultPassword, brokerPath =
>>>>>> null,
>>>>>> brokerMasterConnector = false,
>>>>>> manageable = true, clientMaster = true}
>>>>>> javax.jms.InvalidClientIDException: No clientID specified for
>>>>>> connection
>>>>>> disconnect request
>>>>>>       at
>>>>>> org
>>>>>> .apache
>>>>>> .activemq
>>>>>> .broker.region.RegionBroker.removeConnection(RegionBroker.java: 
>>>>>> 225)
>>>>>>       at
>>>>>> org
>>>>>> .apache
>>>>>> .activemq
>>>>>> .broker.TransactionBroker.removeConnection(TransactionBroker.java:
>>>>>> 248)
>>>>>>       at
>>>>>> org
>>>>>> .apache
>>>>>> .activemq
>>>>>> .advisory.AdvisoryBroker.removeConnection(AdvisoryBroker.java:214)
>>>>>>       at
>>>>>> org
>>>>>> .apache
>>>>>> .activemq.broker.BrokerFilter.removeConnection(BrokerFilter.java: 
>>>>>> 109)
>>>>>>       at
>>>>>> org
>>>>>> .apache
>>>>>> .activemq
>>>>>> .broker
>>>>>> .MutableBrokerFilter.removeConnection(MutableBrokerFilter.java: 
>>>>>> 116)
>>>>>>       at
>>>>>> org
>>>>>> .apache
>>>>>> .activemq
>>>>>> .broker
>>>>>> .TransportConnection
>>>>>> .processRemoveConnection(TransportConnection.java:704)
>>>>>>       at
>>>>>> org.apache.activemq.command.RemoveInfo.visit(RemoveInfo.java:60)
>>>>>>       at
>>>>>> org
>>>>>> .apache
>>>>>> .activemq
>>>>>> .broker.TransportConnection.service(TransportConnection.java:292)
>>>>>>       at
>>>>>> org.apache.activemq.broker.TransportConnection
>>>>>> $1.onCommand(TransportConnection.java:180)
>>>>>>       at
>>>>>> org
>>>>>> .apache
>>>>>> .activemq
>>>>>> .transport.ResponseCorrelator.onCommand(ResponseCorrelator.java: 
>>>>>> 104)
>>>>>>       at
>>>>>> org
>>>>>> .apache
>>>>>> .activemq 
>>>>>> .transport.TransportFilter.onCommand(TransportFilter.java:
>>>>>> 68)
>>>>>>       at
>>>>>> org
>>>>>> .apache 
>>>>>> .activemq.transport.vm.VMTransport.iterate(VMTransport.java:
>>>>>> 205)
>>>>>>       at
>>>>>> org
>>>>>> .apache
>>>>>> .activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java: 
>>>>>> 122)
>>>>>>       at
>>>>>> org.apache.activemq.thread.PooledTaskRunner
>>>>>> $1.run(PooledTaskRunner.java:43)
>>>>>>       at
>>>>>> java.util.concurrent.ThreadPoolExecutor
>>>>>> $Worker.runTask(ThreadPoolExecutor.java:650)
>>>>>>       at
>>>>>> java.util.concurrent.ThreadPoolExecutor
>>>>>> $Worker.run(ThreadPoolExecutor.java:675)
>>>>>>       at java.lang.Thread.run(Thread.java:595)
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> -----
>>>>> Thanks & Regards,
>>>>>
>>>>> Benoit
>>>>>
>>>>> http://www.Appendium.com   http://objectlab.blogspot.com
>>>>>
>>>>> -- 
>>>>> View this message in context:
>>>>> http://www.nabble.com/No-clientID-specified-for-connection-disconnect-request-tp18008702p18350696.html
>>>>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>> -----
>> Thanks & Regards,
>>
>> Benoit
>>
>> http://www.Appendium.com   http://objectlab.blogspot.com
>>
>> -- 
>> View this message in context:
>> http://www.nabble.com/No-clientID-specified-for-connection-disconnect-request-tp18008702p18363293.html
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/No-clientID-specified-for-connection-disconnect-request-tp18008702p18385571.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: No clientID specified for connection disconnect request

Posted by Rob Davies <ra...@gmail.com>.
Great! thx Benoitx!

On 9 Jul 2008, at 16:31, Benoitx wrote:

>
> let me answer my own question... the config is in an xml file...
> this works:
> vm://localhost?create=false&amp;async=false
>
> We'll get back to the list if it re-occurs but... it seems to have  
> fixed the
> clientID issue.
>
> Thanks!!!
>
> Benoit
>
>
> Benoitx wrote:
>>
>> Thanks a lot for this.
>>
>> Could you confirm the syntax to add more than one parameter?
>>
>> We already have: vm://localhost?create=false
>>
>> so I tried vm://localhost?create=false&async=false  but this is
>> rejected...
>>
>> Sorry, it is a very basic question...
>>
>> Benoit
>>
>>
>> rajdavies wrote:
>>>
>>> work around could be to  turn async dispatch off in the vm://
>>> transport - e.g. vm://localhost?async=false
>>>
>>> On 8 Jul 2008, at 23:42, Benoitx wrote:
>>>
>>>>
>>>> Same here.
>>>>
>>>> This error seems to happen on the FIRST message sent by thread in
>>>> JBoss...
>>>> After the first message, it seems to go away...  Quite annoying.
>>>>
>>>> Any suggestion ? Solution? workaround?
>>>>
>>>> Thanks
>>>>
>>>> Benoit
>>>>
>>>>
>>>>
>>>> Demian Mrakovich wrote:
>>>>>
>>>>> Just upgraded from 4.1 to 5.1 and get this exception now right
>>>>> after every
>>>>> message is received. Messages get processed fine anyway, but the
>>>>> stacktrace really litters the log and maybe it is a symptom of an
>>>>> error of
>>>>> some kind. Googled this message, but to no avail... Any  
>>>>> suggestions
>>>>> on how
>>>>> to get rid of it?
>>>>>
>>>>> 2008-06-19 14:01:52,586 WARN
>>>>> [org.apache.activemq.broker.TransportConnection.Service] Failed to
>>>>> remove
>>>>> connection ConnectionInfo {commandId = 1, responseRequired = true,
>>>>> conn
>>>>> ectionId = ID:ubuntu.linpro.no-53402-1213876871547-2:11,  
>>>>> clientId =
>>>>> null,
>>>>> userName = defaultUser, password = defaultPassword, brokerPath =
>>>>> null,
>>>>> brokerMasterConnector = false,
>>>>> manageable = true, clientMaster = true}
>>>>> javax.jms.InvalidClientIDException: No clientID specified for
>>>>> connection
>>>>> disconnect request
>>>>>       at
>>>>> org
>>>>> .apache
>>>>> .activemq
>>>>> .broker.region.RegionBroker.removeConnection(RegionBroker.java: 
>>>>> 225)
>>>>>       at
>>>>> org
>>>>> .apache
>>>>> .activemq
>>>>> .broker.TransactionBroker.removeConnection(TransactionBroker.java:
>>>>> 248)
>>>>>       at
>>>>> org
>>>>> .apache
>>>>> .activemq
>>>>> .advisory.AdvisoryBroker.removeConnection(AdvisoryBroker.java:214)
>>>>>       at
>>>>> org
>>>>> .apache
>>>>> .activemq.broker.BrokerFilter.removeConnection(BrokerFilter.java: 
>>>>> 109)
>>>>>       at
>>>>> org
>>>>> .apache
>>>>> .activemq
>>>>> .broker
>>>>> .MutableBrokerFilter.removeConnection(MutableBrokerFilter.java: 
>>>>> 116)
>>>>>       at
>>>>> org
>>>>> .apache
>>>>> .activemq
>>>>> .broker
>>>>> .TransportConnection
>>>>> .processRemoveConnection(TransportConnection.java:704)
>>>>>       at
>>>>> org.apache.activemq.command.RemoveInfo.visit(RemoveInfo.java:60)
>>>>>       at
>>>>> org
>>>>> .apache
>>>>> .activemq
>>>>> .broker.TransportConnection.service(TransportConnection.java:292)
>>>>>       at
>>>>> org.apache.activemq.broker.TransportConnection
>>>>> $1.onCommand(TransportConnection.java:180)
>>>>>       at
>>>>> org
>>>>> .apache
>>>>> .activemq
>>>>> .transport.ResponseCorrelator.onCommand(ResponseCorrelator.java: 
>>>>> 104)
>>>>>       at
>>>>> org
>>>>> .apache
>>>>> .activemq 
>>>>> .transport.TransportFilter.onCommand(TransportFilter.java:
>>>>> 68)
>>>>>       at
>>>>> org
>>>>> .apache 
>>>>> .activemq.transport.vm.VMTransport.iterate(VMTransport.java:
>>>>> 205)
>>>>>       at
>>>>> org
>>>>> .apache
>>>>> .activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java: 
>>>>> 122)
>>>>>       at
>>>>> org.apache.activemq.thread.PooledTaskRunner
>>>>> $1.run(PooledTaskRunner.java:43)
>>>>>       at
>>>>> java.util.concurrent.ThreadPoolExecutor
>>>>> $Worker.runTask(ThreadPoolExecutor.java:650)
>>>>>       at
>>>>> java.util.concurrent.ThreadPoolExecutor
>>>>> $Worker.run(ThreadPoolExecutor.java:675)
>>>>>       at java.lang.Thread.run(Thread.java:595)
>>>>>
>>>>>
>>>>
>>>>
>>>> -----
>>>> Thanks & Regards,
>>>>
>>>> Benoit
>>>>
>>>> http://www.Appendium.com   http://objectlab.blogspot.com
>>>>
>>>> -- 
>>>> View this message in context:
>>>> http://www.nabble.com/No-clientID-specified-for-connection-disconnect-request-tp18008702p18350696.html
>>>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>>>
>>>
>>>
>>>
>>
>>
>
>
> -----
> Thanks & Regards,
>
> Benoit
>
> http://www.Appendium.com   http://objectlab.blogspot.com
>
> -- 
> View this message in context: http://www.nabble.com/No-clientID-specified-for-connection-disconnect-request-tp18008702p18363293.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>


Re: No clientID specified for connection disconnect request

Posted by Benoitx <be...@yahoo.com>.
let me answer my own question... the config is in an xml file...
this works:
vm://localhost?create=false&amp;async=false

We'll get back to the list if it re-occurs but... it seems to have fixed the
clientID issue.

Thanks!!!

Benoit


Benoitx wrote:
> 
> Thanks a lot for this.
> 
> Could you confirm the syntax to add more than one parameter?
> 
> We already have: vm://localhost?create=false
> 
> so I tried vm://localhost?create=false&async=false  but this is
> rejected...
> 
> Sorry, it is a very basic question...
> 
> Benoit
> 
> 
> rajdavies wrote:
>> 
>> work around could be to  turn async dispatch off in the vm://  
>> transport - e.g. vm://localhost?async=false
>> 
>> On 8 Jul 2008, at 23:42, Benoitx wrote:
>> 
>>>
>>> Same here.
>>>
>>> This error seems to happen on the FIRST message sent by thread in  
>>> JBoss...
>>> After the first message, it seems to go away...  Quite annoying.
>>>
>>> Any suggestion ? Solution? workaround?
>>>
>>> Thanks
>>>
>>> Benoit
>>>
>>>
>>>
>>> Demian Mrakovich wrote:
>>>>
>>>> Just upgraded from 4.1 to 5.1 and get this exception now right  
>>>> after every
>>>> message is received. Messages get processed fine anyway, but the
>>>> stacktrace really litters the log and maybe it is a symptom of an  
>>>> error of
>>>> some kind. Googled this message, but to no avail... Any suggestions  
>>>> on how
>>>> to get rid of it?
>>>>
>>>> 2008-06-19 14:01:52,586 WARN
>>>> [org.apache.activemq.broker.TransportConnection.Service] Failed to  
>>>> remove
>>>> connection ConnectionInfo {commandId = 1, responseRequired = true,  
>>>> conn
>>>> ectionId = ID:ubuntu.linpro.no-53402-1213876871547-2:11, clientId =  
>>>> null,
>>>> userName = defaultUser, password = defaultPassword, brokerPath =  
>>>> null,
>>>> brokerMasterConnector = false,
>>>> manageable = true, clientMaster = true}
>>>> javax.jms.InvalidClientIDException: No clientID specified for  
>>>> connection
>>>> disconnect request
>>>>        at
>>>> org 
>>>> .apache 
>>>> .activemq 
>>>> .broker.region.RegionBroker.removeConnection(RegionBroker.java:225)
>>>>        at
>>>> org 
>>>> .apache 
>>>> .activemq 
>>>> .broker.TransactionBroker.removeConnection(TransactionBroker.java: 
>>>> 248)
>>>>        at
>>>> org 
>>>> .apache 
>>>> .activemq 
>>>> .advisory.AdvisoryBroker.removeConnection(AdvisoryBroker.java:214)
>>>>        at
>>>> org 
>>>> .apache 
>>>> .activemq.broker.BrokerFilter.removeConnection(BrokerFilter.java:109)
>>>>        at
>>>> org 
>>>> .apache 
>>>> .activemq 
>>>> .broker 
>>>> .MutableBrokerFilter.removeConnection(MutableBrokerFilter.java:116)
>>>>        at
>>>> org 
>>>> .apache 
>>>> .activemq 
>>>> .broker 
>>>> .TransportConnection 
>>>> .processRemoveConnection(TransportConnection.java:704)
>>>>        at
>>>> org.apache.activemq.command.RemoveInfo.visit(RemoveInfo.java:60)
>>>>        at
>>>> org 
>>>> .apache 
>>>> .activemq 
>>>> .broker.TransportConnection.service(TransportConnection.java:292)
>>>>        at
>>>> org.apache.activemq.broker.TransportConnection 
>>>> $1.onCommand(TransportConnection.java:180)
>>>>        at
>>>> org 
>>>> .apache 
>>>> .activemq 
>>>> .transport.ResponseCorrelator.onCommand(ResponseCorrelator.java:104)
>>>>        at
>>>> org 
>>>> .apache 
>>>> .activemq.transport.TransportFilter.onCommand(TransportFilter.java: 
>>>> 68)
>>>>        at
>>>> org 
>>>> .apache.activemq.transport.vm.VMTransport.iterate(VMTransport.java: 
>>>> 205)
>>>>        at
>>>> org 
>>>> .apache 
>>>> .activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:122)
>>>>        at
>>>> org.apache.activemq.thread.PooledTaskRunner 
>>>> $1.run(PooledTaskRunner.java:43)
>>>>        at
>>>> java.util.concurrent.ThreadPoolExecutor 
>>>> $Worker.runTask(ThreadPoolExecutor.java:650)
>>>>        at
>>>> java.util.concurrent.ThreadPoolExecutor 
>>>> $Worker.run(ThreadPoolExecutor.java:675)
>>>>        at java.lang.Thread.run(Thread.java:595)
>>>>
>>>>
>>>
>>>
>>> -----
>>> Thanks & Regards,
>>>
>>> Benoit
>>>
>>> http://www.Appendium.com   http://objectlab.blogspot.com
>>>
>>> -- 
>>> View this message in context:
>>> http://www.nabble.com/No-clientID-specified-for-connection-disconnect-request-tp18008702p18350696.html
>>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>>
>> 
>> 
>> 
> 
> 


-----
Thanks & Regards,

Benoit

http://www.Appendium.com   http://objectlab.blogspot.com

-- 
View this message in context: http://www.nabble.com/No-clientID-specified-for-connection-disconnect-request-tp18008702p18363293.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: No clientID specified for connection disconnect request

Posted by Benoitx <be...@yahoo.com>.
Thanks a lot for this.

Could you confirm the syntax to add more than one parameter?

We already have: vm://localhost?create=false

so I tried vm://localhost?create=false&async=false  but this is rejected...

Sorry, it is a very basic question...

Benoit


rajdavies wrote:
> 
> work around could be to  turn async dispatch off in the vm://  
> transport - e.g. vm://localhost?async=false
> 
> On 8 Jul 2008, at 23:42, Benoitx wrote:
> 
>>
>> Same here.
>>
>> This error seems to happen on the FIRST message sent by thread in  
>> JBoss...
>> After the first message, it seems to go away...  Quite annoying.
>>
>> Any suggestion ? Solution? workaround?
>>
>> Thanks
>>
>> Benoit
>>
>>
>>
>> Demian Mrakovich wrote:
>>>
>>> Just upgraded from 4.1 to 5.1 and get this exception now right  
>>> after every
>>> message is received. Messages get processed fine anyway, but the
>>> stacktrace really litters the log and maybe it is a symptom of an  
>>> error of
>>> some kind. Googled this message, but to no avail... Any suggestions  
>>> on how
>>> to get rid of it?
>>>
>>> 2008-06-19 14:01:52,586 WARN
>>> [org.apache.activemq.broker.TransportConnection.Service] Failed to  
>>> remove
>>> connection ConnectionInfo {commandId = 1, responseRequired = true,  
>>> conn
>>> ectionId = ID:ubuntu.linpro.no-53402-1213876871547-2:11, clientId =  
>>> null,
>>> userName = defaultUser, password = defaultPassword, brokerPath =  
>>> null,
>>> brokerMasterConnector = false,
>>> manageable = true, clientMaster = true}
>>> javax.jms.InvalidClientIDException: No clientID specified for  
>>> connection
>>> disconnect request
>>>        at
>>> org 
>>> .apache 
>>> .activemq 
>>> .broker.region.RegionBroker.removeConnection(RegionBroker.java:225)
>>>        at
>>> org 
>>> .apache 
>>> .activemq 
>>> .broker.TransactionBroker.removeConnection(TransactionBroker.java: 
>>> 248)
>>>        at
>>> org 
>>> .apache 
>>> .activemq 
>>> .advisory.AdvisoryBroker.removeConnection(AdvisoryBroker.java:214)
>>>        at
>>> org 
>>> .apache 
>>> .activemq.broker.BrokerFilter.removeConnection(BrokerFilter.java:109)
>>>        at
>>> org 
>>> .apache 
>>> .activemq 
>>> .broker 
>>> .MutableBrokerFilter.removeConnection(MutableBrokerFilter.java:116)
>>>        at
>>> org 
>>> .apache 
>>> .activemq 
>>> .broker 
>>> .TransportConnection 
>>> .processRemoveConnection(TransportConnection.java:704)
>>>        at
>>> org.apache.activemq.command.RemoveInfo.visit(RemoveInfo.java:60)
>>>        at
>>> org 
>>> .apache 
>>> .activemq 
>>> .broker.TransportConnection.service(TransportConnection.java:292)
>>>        at
>>> org.apache.activemq.broker.TransportConnection 
>>> $1.onCommand(TransportConnection.java:180)
>>>        at
>>> org 
>>> .apache 
>>> .activemq 
>>> .transport.ResponseCorrelator.onCommand(ResponseCorrelator.java:104)
>>>        at
>>> org 
>>> .apache 
>>> .activemq.transport.TransportFilter.onCommand(TransportFilter.java: 
>>> 68)
>>>        at
>>> org 
>>> .apache.activemq.transport.vm.VMTransport.iterate(VMTransport.java: 
>>> 205)
>>>        at
>>> org 
>>> .apache 
>>> .activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:122)
>>>        at
>>> org.apache.activemq.thread.PooledTaskRunner 
>>> $1.run(PooledTaskRunner.java:43)
>>>        at
>>> java.util.concurrent.ThreadPoolExecutor 
>>> $Worker.runTask(ThreadPoolExecutor.java:650)
>>>        at
>>> java.util.concurrent.ThreadPoolExecutor 
>>> $Worker.run(ThreadPoolExecutor.java:675)
>>>        at java.lang.Thread.run(Thread.java:595)
>>>
>>>
>>
>>
>> -----
>> Thanks & Regards,
>>
>> Benoit
>>
>> http://www.Appendium.com   http://objectlab.blogspot.com
>>
>> -- 
>> View this message in context:
>> http://www.nabble.com/No-clientID-specified-for-connection-disconnect-request-tp18008702p18350696.html
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>
> 
> 
> 


-----
Thanks & Regards,

Benoit

http://www.Appendium.com   http://objectlab.blogspot.com

-- 
View this message in context: http://www.nabble.com/No-clientID-specified-for-connection-disconnect-request-tp18008702p18363283.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: No clientID specified for connection disconnect request

Posted by Rob Davies <ra...@gmail.com>.
work around could be to  turn async dispatch off in the vm://  
transport - e.g. vm://localhost?async=false

On 8 Jul 2008, at 23:42, Benoitx wrote:

>
> Same here.
>
> This error seems to happen on the FIRST message sent by thread in  
> JBoss...
> After the first message, it seems to go away...  Quite annoying.
>
> Any suggestion ? Solution? workaround?
>
> Thanks
>
> Benoit
>
>
>
> Demian Mrakovich wrote:
>>
>> Just upgraded from 4.1 to 5.1 and get this exception now right  
>> after every
>> message is received. Messages get processed fine anyway, but the
>> stacktrace really litters the log and maybe it is a symptom of an  
>> error of
>> some kind. Googled this message, but to no avail... Any suggestions  
>> on how
>> to get rid of it?
>>
>> 2008-06-19 14:01:52,586 WARN
>> [org.apache.activemq.broker.TransportConnection.Service] Failed to  
>> remove
>> connection ConnectionInfo {commandId = 1, responseRequired = true,  
>> conn
>> ectionId = ID:ubuntu.linpro.no-53402-1213876871547-2:11, clientId =  
>> null,
>> userName = defaultUser, password = defaultPassword, brokerPath =  
>> null,
>> brokerMasterConnector = false,
>> manageable = true, clientMaster = true}
>> javax.jms.InvalidClientIDException: No clientID specified for  
>> connection
>> disconnect request
>>        at
>> org 
>> .apache 
>> .activemq 
>> .broker.region.RegionBroker.removeConnection(RegionBroker.java:225)
>>        at
>> org 
>> .apache 
>> .activemq 
>> .broker.TransactionBroker.removeConnection(TransactionBroker.java: 
>> 248)
>>        at
>> org 
>> .apache 
>> .activemq 
>> .advisory.AdvisoryBroker.removeConnection(AdvisoryBroker.java:214)
>>        at
>> org 
>> .apache 
>> .activemq.broker.BrokerFilter.removeConnection(BrokerFilter.java:109)
>>        at
>> org 
>> .apache 
>> .activemq 
>> .broker 
>> .MutableBrokerFilter.removeConnection(MutableBrokerFilter.java:116)
>>        at
>> org 
>> .apache 
>> .activemq 
>> .broker 
>> .TransportConnection 
>> .processRemoveConnection(TransportConnection.java:704)
>>        at
>> org.apache.activemq.command.RemoveInfo.visit(RemoveInfo.java:60)
>>        at
>> org 
>> .apache 
>> .activemq 
>> .broker.TransportConnection.service(TransportConnection.java:292)
>>        at
>> org.apache.activemq.broker.TransportConnection 
>> $1.onCommand(TransportConnection.java:180)
>>        at
>> org 
>> .apache 
>> .activemq 
>> .transport.ResponseCorrelator.onCommand(ResponseCorrelator.java:104)
>>        at
>> org 
>> .apache 
>> .activemq.transport.TransportFilter.onCommand(TransportFilter.java: 
>> 68)
>>        at
>> org 
>> .apache.activemq.transport.vm.VMTransport.iterate(VMTransport.java: 
>> 205)
>>        at
>> org 
>> .apache 
>> .activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:122)
>>        at
>> org.apache.activemq.thread.PooledTaskRunner 
>> $1.run(PooledTaskRunner.java:43)
>>        at
>> java.util.concurrent.ThreadPoolExecutor 
>> $Worker.runTask(ThreadPoolExecutor.java:650)
>>        at
>> java.util.concurrent.ThreadPoolExecutor 
>> $Worker.run(ThreadPoolExecutor.java:675)
>>        at java.lang.Thread.run(Thread.java:595)
>>
>>
>
>
> -----
> Thanks & Regards,
>
> Benoit
>
> http://www.Appendium.com   http://objectlab.blogspot.com
>
> -- 
> View this message in context: http://www.nabble.com/No-clientID-specified-for-connection-disconnect-request-tp18008702p18350696.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>


Re: No clientID specified for connection disconnect request

Posted by Benoitx <be...@yahoo.com>.
Same here.

This error seems to happen on the FIRST message sent by thread in JBoss...
After the first message, it seems to go away...  Quite annoying.

Any suggestion ? Solution? workaround?

Thanks

Benoit



Demian Mrakovich wrote:
> 
> Just upgraded from 4.1 to 5.1 and get this exception now right after every
> message is received. Messages get processed fine anyway, but the
> stacktrace really litters the log and maybe it is a symptom of an error of
> some kind. Googled this message, but to no avail... Any suggestions on how
> to get rid of it?
> 
> 2008-06-19 14:01:52,586 WARN 
> [org.apache.activemq.broker.TransportConnection.Service] Failed to remove
> connection ConnectionInfo {commandId = 1, responseRequired = true, conn
> ectionId = ID:ubuntu.linpro.no-53402-1213876871547-2:11, clientId = null,
> userName = defaultUser, password = defaultPassword, brokerPath = null,
> brokerMasterConnector = false,
>  manageable = true, clientMaster = true}
> javax.jms.InvalidClientIDException: No clientID specified for connection
> disconnect request
>         at
> org.apache.activemq.broker.region.RegionBroker.removeConnection(RegionBroker.java:225)
>         at
> org.apache.activemq.broker.TransactionBroker.removeConnection(TransactionBroker.java:248)
>         at
> org.apache.activemq.advisory.AdvisoryBroker.removeConnection(AdvisoryBroker.java:214)
>         at
> org.apache.activemq.broker.BrokerFilter.removeConnection(BrokerFilter.java:109)
>         at
> org.apache.activemq.broker.MutableBrokerFilter.removeConnection(MutableBrokerFilter.java:116)
>         at
> org.apache.activemq.broker.TransportConnection.processRemoveConnection(TransportConnection.java:704)
>         at
> org.apache.activemq.command.RemoveInfo.visit(RemoveInfo.java:60)
>         at
> org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:292)
>         at
> org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:180)
>         at
> org.apache.activemq.transport.ResponseCorrelator.onCommand(ResponseCorrelator.java:104)
>         at
> org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:68)
>         at
> org.apache.activemq.transport.vm.VMTransport.iterate(VMTransport.java:205)
>         at
> org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:122)
>         at
> org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:43)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>         at java.lang.Thread.run(Thread.java:595)
> 
> 


-----
Thanks & Regards,

Benoit

http://www.Appendium.com   http://objectlab.blogspot.com

-- 
View this message in context: http://www.nabble.com/No-clientID-specified-for-connection-disconnect-request-tp18008702p18350696.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.