activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jeffrey <jeffreyhasm...@hotmail.com>
Subject Re: OpenSSL error after long duration, or when several clients running simultaneously
Date Thu, 29 Nov 2012 19:29:31 GMT
okay, I added other catches in the activeMQ code, and this is what I got:
errno=32The Exception was ERROR_SYSCALL. ret=-1
        FILE: decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp, LINE: 614
        FILE: decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp, LINE: 633
        FILE: decaf/internal/net/ssl/openssl/OpenSSLSocketOutputStream.cpp,
LINE: 93
        FILE: decaf/io/OutputStream.cpp, LINE: 93
        FILE: decaf/io/OutputStream.cpp, LINE: 69
        FILE: decaf/io/BufferedOutputStream.cpp, LINE: 109
        FILE: decaf/io/FilterOutputStream.cpp, LINE: 140
        FILE: activemq/transport/IOTransport.cpp, LINE: 132
        FILE: activemq/transport/inactivity/InactivityMonitor.cpp, LINE: 385
        FILE: activemq/transport/inactivity/InactivityMonitor.cpp, LINE: 392
        FILE: activemq/wireformat/openwire/OpenWireFormatNegotiator.cpp,
LINE: 82
        FILE: activemq/transport/correlator/ResponseCorrelator.cpp, LINE:
139
        FILE: activemq/core/ActiveMQConnection.cpp, LINE: 945
        FILE: activemq/core/ActiveMQSession.cpp, LINE: 924
        FILE: activemq/core/ActiveMQProducer.cpp, LINE: 212
        FILE: activemq/core/ActiveMQProducer.cpp, LINE: 153
        FILE: activemq/core/ActiveMQProducer.cpp, LINE: 129
This Stream has been closed.
        FILE: decaf/internal/net/ssl/openssl/OpenSSLSocketOutputStream.cpp,
LINE: 88
        FILE: decaf/internal/net/ssl/openssl/OpenSSLSocketOutputStream.cpp,
LINE: 93
        FILE: decaf/io/OutputStream.cpp, LINE: 93
        FILE: decaf/io/OutputStream.cpp, LINE: 69
        FILE: decaf/io/BufferedOutputStream.cpp, LINE: 109
        FILE: decaf/io/FilterOutputStream.cpp, LINE: 153
        FILE: activemq/transport/IOTransport.cpp, LINE: 242
        FILE: activemq/transport/IOTransport.cpp, LINE: 254
        FILE: activemq/transport/tcp/TcpTransport.cpp, LINE: 74
        FILE: activemq/transport/inactivity/InactivityMonitor.cpp, LINE: 306
        FILE: activemq/wireformat/openwire/OpenWireFormatNegotiator.cpp,
LINE: 253
        FILE: activemq/transport/correlator/ResponseCorrelator.cpp, LINE:
275
        FILE: activemq/core/ActiveMQConnection.cpp, LINE: 645
        FILE: activemq/core/ActiveMQConnection.cpp, LINE: 660
        FILE: activemq/core/ActiveMQConnection.cpp, LINE: 479
        FILE: activemq/core/ActiveMQConnection.cpp, LINE: 511

By looking at OpenSSL documentation :
SSL_ERROR_SYSCALL
Some I/O error occurred. The OpenSSL error queue may contain more
information on the error. If the error queue is empty (i.e. ERR_get_error()
returns 0), ret can be used to find out more about the error: If ret == 0,
an EOF was observed that violates the protocol. If ret == -1, the underlying
BIO reported an I/O error (for socket I/O on Unix systems, consult errno for
details). 

This tells me that ERR_get_err() was 0, and ret was -1, so the problem was
in the internals of the system.
errno 32 means that there was a broken pipe
#define EPIPE           32      /* Broken pipe                  */

Has this happened to anyone else? Is there anything I can do to fix this?
Thanks



--
View this message in context: http://activemq.2283324.n4.nabble.com/OpenSSL-error-after-long-duration-or-when-several-clients-running-simultaneously-tp4659947p4659953.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message