activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex1 <>
Subject activemq-cpp problem when openssl enabled
Date Thu, 10 Jan 2013 02:49:21 GMT
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



Thanks for help,


View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message