activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Bish <tabish...@gmail.com>
Subject Re: activemq-cpp problem when openssl enabled
Date Thu, 10 Jan 2013 15:38:34 GMT
On Wed, 2013-01-09 at 18:49 -0800, Alex1 wrote: 
> activemq-cpp, version 3.4.0
> REdhat LInux
> 
> Built activemq-cpp with openssl enabled.
> 
> The server is configured with openssl enabled. The broker's certificate is
> set on client side
> with setSystemProperty(). Client test seems working fine when certificate
> verification succeeds.
> 
> Problem occurred when the certification verification fails, for example, let
> client site point to a wrong certificate. Then following exception terminate
> the program most of time, but it does not happens every time.
> 
> pure virtual method called
> terminate called after throwing an instance of 'decaf::io::IOException' 
>  
> This is only happens when startupMaxReconnectAttempts is set to !=0
> There were also other exception:
> 
> error:: while accessing OpenSSL library 
> error:.... routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
> 
> The above errors seen every time (as expected, but it does not abort) The
> "pure virtual method called" problem does not happens every time.
> 
> I wonder where the exception come from, I could not catch it in my test
> code, I am guessing it's deep in library. Any suggestion to avoid the
> problem?
> 
> Thanks
> 
> Alex
> 
> Thanks for help,
> 
> A
> 
> 
> 
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/activemq-cpp-problem-when-openssl-enabled-tp4661580.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.

I'd recommend moving to a later release like v3.5.0 or at least v3.4.5
to see if the problem has already been resolved. 


-- 
Tim Bish
Sr Software Engineer | RedHat Inc.
tim.bish@redhat.com | www.fusesource.com | www.redhat.com 
skype: tabish121 | twitter: @tabish121
blog: http://timbish.blogspot.com/


Mime
View raw message