You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by mohammedlateefhssn <mo...@gmail.com> on 2013/12/09 15:31:05 UTC
Connection reset when using ActiveMQ 5.9 libraries
We are upgrading Active MQ from 5.5 to the available latest version.
I have replaced the old active mq 5.5 jars with the new one (active mq 5.9).
We have a functionality in our web application where we will communicate
with a ZIS server using activemq (jms) via a HTTPConnection. I am able to
connect to the host server but when i tried sending a message (a xml
message/file) facing an exception. Error is coming when i do getOutputStream
from the HttpConnection object.
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:168)
at
com.sun.net.ssl.internal.ssl.InputRecord.readFully(InputRecord.java:422)
at
com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:460)
at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:863)
at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1188)
at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1215)
at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1199)
at
sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:434)
at
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:166)
at
sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1031)
The same have been working with ActiveMQ 5.5 jars and as well as with Active
MQ 5.8 jars. The problem is only with 5.9 version.
Please help us in knowing the cause and a fix.
Many thanks.
--
View this message in context: http://activemq.2283324.n4.nabble.com/Connection-reset-when-using-ActiveMQ-5-9-libraries-tp4675285.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: Connection reset when using ActiveMQ 5.9 libraries
Posted by mohammedlateefhssn <mo...@gmail.com>.
Below are the jars that i have replaced with activemq 5.5 to 5.9 version.
ActiveMQ 5.5 jars that we were using in our web application:
activeio-core-3.1.2
activemq-console-5.5.0
activemq-core-5.5.0
activemq-jaas-5.5.0
activemq-pool-5.5.0
activemq-web-5.5.0
geronimo-annotation_1.0_spec-1.1.1
geronimo-j2ee-management_1.0_spec-1.0
geronimo-jms_1.1_spec-1.0
geronimo-ws-metadata_2.0_spec-1.1.3
kahadb-5.5.0
I have replaced above jars with below listed active mq 5.9 jars:
activeio-core-3.1.4
activemq-broker-5.9.0
activemq-client-5.9.0
activemq-console-5.9.0
activemq-jaas-5.9.0
activemq-jms-pool-5.9.0
activemq-kahadb-store-5.9.0
activemq-openwire-legacy-5.9.0
activemq-pool-5.9.0
activemq-protobuf-1.1
activemq-web-5.9.0
geronimo-annotation_1.0_spec-1.1.1
geronimo-j2ee-management_1.1_spec-1.0.1
geronimo-jms_1.1_spec-1.1.1
geronimo-ws-metadata_2.0_spec-1.1.3
hawtbuf-1.9
Please let me know if i have missed to add any more jar or did i have done
any mistake here?
Thanks.
--
View this message in context: http://activemq.2283324.n4.nabble.com/Connection-reset-when-using-ActiveMQ-5-9-libraries-tp4675285p4675289.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.