You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by michal <mi...@leadspace.com> on 2013/03/03 08:30:49 UTC

Re: Activemq does not recover from a closed connection using ssl

Hi. thanks for the reply. the bugs you showed are already closed. i am using
the 5.7.0 version so they should be closed there.
as for the suggestion you added to run with transport.soWriteTimeout :
I tried running with configuration:
  <transportConnector name="ssl"
uri="ssl://0.0.0.0:61616?trace=true&amp;wireFormat.maxInactivityDuration=0&amp;soTimeout=20000&amp;connectionTimeout=20000&amp;soWriteTimeout=20000"
/>

and it didn't work. the connection still hangs.
any ideas what else i can try?

thanks



--
View this message in context: http://activemq.2283324.n4.nabble.com/Activemq-does-not-recover-from-a-closed-connection-using-ssl-tp4664254p4664316.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Activemq does not recover from a closed connection using ssl

Posted by Gary Tully <ga...@gmail.com>.
@michal, thanks for closing the loop on this one. that makes sense.

?wireFormat.maxInactivityDuration=0

will disable the inactivity monitor altogether b/c the value in use is the
minimum of that provided by the client and server.


On 3 March 2013 11:53, michal <mi...@leadspace.com> wrote:

> this problem was solved once i removed the
> ireFormat.maxInactivityDuration=0
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/Activemq-does-not-recover-from-a-closed-connection-using-ssl-tp4664254p4664324.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>



-- 
http://redhat.com
http://blog.garytully.com

Re: Activemq does not recover from a closed connection using ssl

Posted by michal <mi...@leadspace.com>.
this problem was solved once i removed the ireFormat.maxInactivityDuration=0



--
View this message in context: http://activemq.2283324.n4.nabble.com/Activemq-does-not-recover-from-a-closed-connection-using-ssl-tp4664254p4664324.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Activemq does not recover from a closed connection using ssl

Posted by michal <mi...@leadspace.com>.
Please also note that i made the same test with tcp protocol and it also
happens, so it is not an ssl issue.
Another thing, if i kill the connection using TCPView it does not happen.
only when killing the connection from the firewall it happens.
thanks



--
View this message in context: http://activemq.2283324.n4.nabble.com/Activemq-does-not-recover-from-a-closed-connection-using-ssl-tp4664254p4664318.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Activemq does not recover from a closed connection using ssl

Posted by michal <mi...@leadspace.com>.
Hi. thanks for the reply. the bugs you showed are already closed. i am using
the 5.7.0 version so they should be closed there. 
as for the suggestion you added to run with transport.soWriteTimeout : 
I tried running with configuration: 
  <transportConnector name="ssl"
uri="ssl://0.0.0.0:61616?trace=true&amp;wireFormat.maxInactivityDuration=0&amp;soTimeout=20000&amp;connectionTimeout=20000&amp;soWriteTimeout=20000"
/>

and it didn't work. the connection still hangs. 
any ideas what else i can try? 

thanks 




--
View this message in context: http://activemq.2283324.n4.nabble.com/Activemq-does-not-recover-from-a-closed-connection-using-ssl-tp4664254p4664317.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.