[jbossws-issues] [JBoss JIRA] Created: (JBWS-2678) WSDL resource never gets closed

Martin Vecera (JIRA) jira-events at lists.jboss.org
Fri Jun 12 08:58:56 EDT 2009


WSDL resource never gets closed
-------------------------------

                 Key: JBWS-2678
                 URL: https://jira.jboss.org/jira/browse/JBWS-2678
             Project: JBoss Web Services
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: jbossws-native
    Affects Versions: jbossws-2.0.1.SP2
            Reporter: Martin Vecera


org/jboss/ws/core/jaxws/handler/MessageContextJAXWS.java lines 138,139:
InputSource inputSource = new InputSource(wsdlURL.openStream());
put(MessageContext.WSDL_DESCRIPTION, inputSource);

The URL opened by openStream() never gets closed and leads to "Too many open files" issues. It should be read into the memory and then put to the message if that was not a performance overwhelm.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbossws-issues mailing list