Is this a .NET client? Yes, we are using .NET The following specifics will help to understand the problem:
* Which cilent library (ActiveMQ java client, AMQ-CPP, NMS, etc) I'll have to get these details from the Dev team * Client library version I'll have to get the details from the Dev team * ActiveMQ broker version I'm currently testing with verison 5.8 * Exact text of the error message [oradev] 2014-08-18 11:22:07,381 ERROR 1 Ot.ActiveMQ Can not Connect to ActiveMQ The operation is not allowed on non-connected sockets. at System.Net.Sockets.NetworkStream.InitNetworkStream(Socket socket, FileAccess Access) at Apache.NMS.ActiveMQ.Transport.Tcp.TcpTransport.CreateSocketStream() at Apache.NMS.ActiveMQ.Transport.Tcp.TcpTransport.Start() at Apache.NMS.ActiveMQ.Transport.WireFormatNegotiator.Start() at Apache.NMS.ActiveMQ.Connection.CheckConnected() at Apache.NMS.ActiveMQ.Connection.CreateActiveMQSession(AcknowledgementMode ackMode) at Apache.NMS.ActiveMQ.Connection.CreateSession() at xxxxxxxxxCommon.Contracts.ActiveMQ.AmqConnection.Connect() at xxxxxxxxCommon.Contracts.ActiveMQ.AMQSessionFactory.get_SharedConnection() System.IO.IOException: The operation is not allowed on non-connected sockets. at System.Net.Sockets.NetworkStream.InitNetworkStream(Socket socket, FileAccess Access) at Apache.NMS.ActiveMQ.Transport.Tcp.TcpTransport.CreateSocketStream() at Apache.NMS.ActiveMQ.Transport.Tcp.TcpTransport.Start() at Apache.NMS.ActiveMQ.Transport.WireFormatNegotiator.Start() at Apache.NMS.ActiveMQ.Connection.CheckConnected() at Apache.NMS.ActiveMQ.Connection.CreateActiveMQSession(AcknowledgementMode ackMode) at Apache.NMS.ActiveMQ.Connection.CreateSession() at xxxxxxxxxCommon.Contracts.ActiveMQ.AmqConnection.Connect() at xxxxxxxxxCommon.Contracts.ActiveMQ.AMQSessionFactory.get_SharedConnection() [oradev] 2014-08-18 11:22:07,412 ERROR 1 Ot.CacheNotifier ---------------Can not start PubSub ------------ Can not connect to ActiveMQ activemq:tcp://hostnamehere:61616?wireFormat=openwire at xxxxxxxCommon.Contracts.ActiveMQ.AMQSessionFactory.get_SharedConnection() at xxxxxxxCommon.Contracts.ActiveMQ.AMQSessionFactory.Topic(String topic, PubSubMessageConsumer consumer) at xxxxxxxxCommon.Contracts.CacheNotifier.Start(Boolean heartBitListener) System.Exception: Can not connect to ActiveMQ activemq:tcp://hostnamehere:61616?wireFormat=openwire ---> System.IO.IOException: The operation is not allowed on non-connected sockets. at System.Net.Sockets.NetworkStream.InitNetworkStream(Socket socket, FileAccess Access) at Apache.NMS.ActiveMQ.Transport.Tcp.TcpTransport.CreateSocketStream() at Apache.NMS.ActiveMQ.Transport.Tcp.TcpTransport.Start() at Apache.NMS.ActiveMQ.Transport.WireFormatNegotiator.Start() at Apache.NMS.ActiveMQ.Connection.CheckConnected() at Apache.NMS.ActiveMQ.Connection.CreateActiveMQSession(AcknowledgementMode ackMode) at Apache.NMS.ActiveMQ.Connection.CreateSession() at xxxxxxxxCommon.Contracts.ActiveMQ.AmqConnection.Connect() at xxxxxxxxCommon.Contracts.ActiveMQ.AMQSessionFactory.get_SharedConnection() --- End of inner exception stack trace --- * What is producing the error message (client lib, server, application code) Client App Server is producing the message when it tries to connect. -----Original Message----- From: artnaseef [mailto:[email protected]] Sent: Monday, August 18, 2014 12:59 PM To: [email protected] Subject: Re: Can not Connect to ActiveMQ The operation is not allowed on non-connected sockets Is this a .NET client? The following specifics will help to understand the problem: * Which cilent library (ActiveMQ java client, AMQ-CPP, NMS, etc) * Client library version * ActiveMQ broker version * Exact text the error message * What is producing the error message (client lib, server, application code) -- View this message in context: http://activemq.2283324.n4.nabble.com/Can-not-Connect-to-ActiveMQ-The-operation-is-not-allowed-on-non-connected-sockets-tp4684696p4684708.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.
