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.

Reply via email to