-
1. Re: Problem with HornetQ in JBOSS 6
saigon_man Oct 3, 2011 12:25 PM (in response to nico1408)I have the same problem. Is there anybody having the same problem and has anybody found the solution yet? Please post if you have a solution.
-
2. Re: Problem with HornetQ in JBOSS 6
saigon_man Oct 7, 2011 9:27 AM (in response to saigon_man)I think I found a solution (not sure if this should be the permanent fix for this but at least I didn't see any of those errors mentioned above happened). Here is what I did
1. Open the hornetq-configuration.xml in server/default/deploy/hornetq
2. Add this line:
<connection-ttl-override>86400000</connection-ttl-override>
Hope this helps.
-
3. Re: Problem with HornetQ in JBOSS 6
nico1408 Oct 7, 2011 9:40 AM (in response to saigon_man)Hello, in fact it's not "really" a solution, it's just to avoid (sometimes) receive the error. But this solution doesn't explain what there is a problem and how to solve it...
with this line :
<connection-ttl-override>86400000</connection-ttl-override>
you just set the time to live to 86400000, it means that you will wait the reponse during 86400000ms before send the exception.
I'm ok with your solution, that solve the problem in 90% cases but we don't know the 'WHY' of this exception.
Thank you.