[ http://jira.activemq.org/jira//browse/AMQ-641?page=comments#action_35832
]
tao commented on AMQ-641:
-------------------------
Not resolve it.
Now ,always throws the error:
21:17:15 WARN Async exception with no exception listener:
java.net.SocketException: Connection reset
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:168)
at
org.apache.activemq.transport.tcp.TcpBufferedInputStream.fill(TcpBufferedInputStream.java:48)
at
org.apache.activemq.transport.tcp.TcpBufferedInputStream.read(TcpBufferedInputStream.java:55)
at java.io.DataInputStream.readInt(DataInputStream.java:353)
at
org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.java:270)
at
org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:136)
at java.lang.Thread.run(Thread.java:595)
But also not return.....,Program is blocked.
> JMS is a asynchronous interface ,blocking is not allow.
> --------------------------------------------------------
>
> Key: AMQ-641
> URL: http://jira.activemq.org/jira//browse/AMQ-641
> Project: ActiveMQ
> Type: Bug
> Components: JMS client, Connector
> Versions: 3.2.2, 4.0 M4
> Environment: winxp jdk1.4.2 jdk 1.5.6
> Reporter: tao
>
>
> If I use failover:tcp//.... in the jms client,
> That all method will be blocked when net or activemq error.
> This is not a good idea.My application will be blocked.
> And If I use tcp//.... in the jms client,Sometimes ,send(message) method will
> be blocked,also not return.
> JMS is a asynchronous interface ,blocking is not allow at any condition.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.activemq.org/jira//secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira