Tested on jbossws 3.0.3 and had the same problem. Each request results on a file descriptor open. For this reason application reaches maximum file descriptors allowed and fails every request.
Any suggestion on where should we have a look in order to solve this problem will be very appreciated.
Thanks a lot!
thank you for pointing that out.
This will be fixed with 3.0.4 release, see: JBWS-2325.
Thanks for your fix, but I've been debuging the code and noticed that our problem was in other place.
On MessageContextJAXWS class, on its setOperationMetaData() method, an InputSource that references the wsdl file is stored inside the context. This input stream is never closed, so a file descriptor remains open on each request.
I've tried closing it on the finally section of the invoke() method on ServiceEndpointInvoker class and it works successfully without leaving open file descriptors.
I think you would like to know in order to fix this issue.
Thank you very much!
thank you very much for this really useful input and your time to debug our code.
I fixed the MessageContextJAXWS problem. Thanks for pointing this problem out!