Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-2678

WSDL resource never gets closed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • jbossws-2.0.1.SP2
    • jbossws-native
    • None

      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.

            Unassigned Unassigned
            mvecera Martin Vecera
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: