[
https://issues.jboss.org/browse/JBTM-1067?page=com.atlassian.jira.plugin....
]
Tom Jenkinson reopened JBTM-1067:
---------------------------------
TxSupport helper getContent() and openConnection() leaves I/O streams
open
--------------------------------------------------------------------------
Key: JBTM-1067
URL:
https://issues.jboss.org/browse/JBTM-1067
Project: JBoss Transaction Manager
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: REST
Affects Versions: 5.0.0.M1
Reporter: Radesh Rao
Assignee: Michael Musgrove
Fix For: 5.0.0.M2
When there are large number of transactions in progress, the following exception is
thrown:
Caused by: org.jboss.jbossts.star.provider.HttpResponseException:
java.net.SocketException: No buffer space available (maximum connections reached?):
connect
at org.jboss.jbossts.star.util.TxSupport.httpRequest(TxSupport.java:261)
at org.jboss.jbossts.star.util.TxSupport.startTx(TxSupport.java:179)
...............................
Caused by: java.net.SocketException: No buffer space available (maximum connections
reached?): connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at java.net.Socket.connect(Socket.java:478)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira