-
1. Re: Open file descriptors to wsdl
bortx Sep 26, 2008 6:09 AM (in response to jorgemoralespou_2)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! -
2. Re: Open file descriptors to wsdl
ropalka Sep 29, 2008 7:57 AM (in response to jorgemoralespou_2)Hi guys,
thank you for pointing that out.
This will be fixed with 3.0.4 release, see: JBWS-2325. -
3. Re: Open file descriptors to wsdl
bortx Oct 6, 2008 11:01 AM (in response to jorgemoralespou_2)Hi Richard,
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!
Bortx -
4. Re: Open file descriptors to wsdl
ropalka Oct 7, 2008 1:03 AM (in response to jorgemoralespou_2)Hi Bortx,
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!