Danushka,

On Tue, Apr 19, 2011 at 1:33 PM, Danushka Menikkumbura <[email protected]>wrote:

> This happens when Qpid recovers persisted messages at start up. The issue
> in this case is that your messages (JMS) are persistent but not your queues
> and hence it discards messages.
>
> FYI.
>
> JMS message are persistent by default but not queues. Therefore Qpid
> persists all messages by default. When it recovers, it tries to restore it's
> queues and when queues are not persistent, it discards the messages it has
> persisted.
>
> To avoid this, you should either make your messages persistent or make your
> queues durable.
>

And how do we do that? Please note that I haven't created any queues in
Qpid. I haven't even tried to do any messaging stuff with the Qpid component
yet. This error happens on its own. It has been happening ever since the
Qpid component was included in the ESB product build.

Thanks,
Hiranya


>
> Thanks,
> Danushka
>
> On Tue, Apr 19, 2011 at 1:24 PM, Hiranya Jayathilaka <[email protected]>wrote:
>
>> Hi,
>>
>> Sometimes when starting the ESB, it throws out a bunch of logs like this:
>>
>> [2011-04-19 13:23:28,656]  WARN
>> {org.apache.qpid.server.virtualhost.VirtualHostConfigRecoveryHandler} -
>>  Message id 1 in store, but not in any queue - removing....
>> [2011-04-19 13:23:28,765]  WARN
>> {org.apache.qpid.server.virtualhost.VirtualHostConfigRecoveryHandler} -
>>  Message id 2 in store, but not in any queue - removing....
>> [2011-04-19 13:23:28,768]  WARN
>> {org.apache.qpid.server.virtualhost.VirtualHostConfigRecoveryHandler} -
>>  Message id 3 in store, but not in any queue - removing....
>> [2011-04-19 13:23:28,770]  WARN
>> {org.apache.qpid.server.virtualhost.VirtualHostConfigRecoveryHandler} -
>>  Message id 4 in store, but not in any queue - removing....
>> [2011-04-19 13:23:28,773]  WARN
>> {org.apache.qpid.server.virtualhost.VirtualHostConfigRecoveryHandler} -
>>  Message id 5 in store, but not in any queue - removing....
>> [2011-04-19 13:23:28,780]  WARN
>> {org.apache.qpid.server.virtualhost.VirtualHostConfigRecoveryHandler} -
>>  Message id 6 in store, but not in any queue - removing....
>>
>> Any idea what's going on here? Can we fix/get rid of it?
>>
>> Thanks
>> --
>> Hiranya Jayathilaka
>> Senior Software Engineer;
>> WSO2 Inc.;  http://wso2.org
>> E-mail: [email protected];  Mobile: +94 77 633 3491
>> Blog: http://techfeast-hiranya.blogspot.com
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> [email protected]
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Hiranya Jayathilaka
Senior Software Engineer;
WSO2 Inc.;  http://wso2.org
E-mail: [email protected];  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to