I am testing a web service which I have deployed on TomEE plus 1.7.1 Inside
tomee.xml there is following stateless container settings for deployment id:
<Container id="SoaprequestImpl" type="STATELESS">
accessTimeout = -1
callbackThreads = 5
closeTimeout = 5 minutes
garbageCollection = true
idleTimeout = 0 minutes
maxAge = 0 hours
maxAgeOffset = -1
maxSize = 1000
minSize = 100
replaceAged = true
replaceFlushed = false
strictPooling = false
sweepInterval = 5 minutes
</Container>
I have set accessTimeout = -1 so that client could wait endlessly to receive
its bean. However now when I test it with 2000 requests simultaneously my
client sometimes throws timeout exception:
java.net.ConnectException: Connection timed out: connect
That is the problem I am trying to fix.
--
View this message in context:
http://tomee-openejb.979440.n4.nabble.com/Connection-timeout-tp4675468.html
Sent from the TomEE Users mailing list archive at Nabble.com.