Hi all,
During my load tests of the ESB (version is 8.2 GA), i encountered some “socked already closed” or “invalid http response” errors. These errors appear only when requests to the Webservcie connector are made simultaneously. The tests are carried out using soapUI or jmeter. This kind of problem appear only when you have more than one core of processor (On my development machine i reproduce the error when i switch from one core to two).
Here is given an extract of a typical error situation in the server.log file :
2011-12-07 10:40:28 CET [ISP.0090.0003C] Input time : 37a01d18-d637-4dcc-affa-dde2343b842a 2011-12-07 10:40:28:385 ← first call to the flow service
2011-12-07 10:40:28 CET [ISP.0090.0003C] Input time : c6d7792e-4ffd-499a-8706-d61b0eea2d1c 2011-12-07 10:40:28:385 ← second call to the flow service (note the call time)
2011-12-07 10:40:28 CET [ISP.0090.0003C] BEFORE Connector (37a01d18-d637-4dcc-affa-dde2343b842a) : 2011-12-07 10:40:28:386 ← just before the connector (first thread)
2011-12-07 10:40:28 CET [ISP.0090.0003C] BEFORE Connector (c6d7792e-4ffd-499a-8706-d61b0eea2d1c) : 2011-12-07 10:40:28:386 ← juste before the connector (second thread)
2011-12-07 10:40:28 CET [ISP.0090.0003C] AFTER Connector (c6d7792e-4ffd-499a-8706-d61b0eea2d1c) : 2011-12-07 10:40:28:401
2011-12-07 10:40:28 CET [ISP.0090.0004C] Resultat (c6d7792e-4ffd-499a-8706-d61b0eea2d1c) : – 2011-12-07 10:40:28:385<?xml version="1.0" encoding="UTF-8"?>
2011-12-07 10:40:28 CET [ISP.0090.0003C] Output time : c6d7792e-4ffd-499a-8706-d61b0eea2d1c2011-12-07 10:40:28:402 ← Successfull end of the treatment for second thread
2011-12-07 10:40:28 CET [ISP.0085.9998E] Exception → java.net.SocketException: Socket already closed. ← The Exception encountered by the first thread
2011-12-07 10:40:28 CET [ISP.0090.0003C] AFTER Connector (37a01d18-d637-4dcc-affa-dde2343b842a) : 2011-12-07 10:40:28:408
2011-12-07 10:40:28 CET [ISP.0090.0004C] Resultat (37a01d18-d637-4dcc-affa-dde2343b842a) : – 2011-12-07 10:40:28:385 ← no response in this case
2011-12-07 10:40:28 CET [ISP.0090.0003C] Output time : 37a01d18-d637-4dcc-affa-dde2343b842a2011-12-07 10:40:28:408 ← End of treatment in error for the first thread
The different error messages i get are :
_ [ISP.0085.9998E] Exception → java.net.SocketException: Socket already closed
_ [ISP.0085.9998E] Exception → java.net.SocketException: Software caused connection abort: recv failed
_ [ISP.0085.9998E] Exception → com.wm.app.b2b.server.ServiceException: [ISS.0085.9298] Invalid HTTP Response
They all seems to be related to a concurrent call to the webservice connector (generated from webservice consumer).