ICEfaces
  1. ICEfaces
  2. ICE-7221

composite components in .jar files leak file descriptors

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.0.2
    • Fix Version/s: 3.0
    • Component/s: None
    • Labels:
      None
    • Environment:
      ICEfaces, mojarra
    • Workaround Exists:
      Yes
    • Workaround Description:
      Hide
      Define composite components directly within the web application.
      Show
      Define composite components directly within the web application.

      Description


      When composite components are packaged within .jar files, four file descriptors to that .jar leak for each component instance (for each user).

      For instance, lsof shows (partial output):


       lsof -p 42987 | fgrep filebloat
      java 42987 tedg txt REG 14,2 2443 40174899 /private/tmp/old-apache-tomcat-7.0.20-2/webapps/realbasic/WEB-INF/lib/filebloat.jar
      java 42987 tedg 69r REG 14,2 2443 40174899 /private/tmp/old-apache-tomcat-7.0.20-2/webapps/realbasic/WEB-INF/lib/filebloat.jar
      java 42987 tedg 71r REG 14,2 2443 40174899 /private/tmp/old-apache-tomcat-7.0.20-2/webapps/realbasic/WEB-INF/lib/filebloat.jar
      java 42987 tedg 72r REG 14,2 2443 40174899 /private/tmp/old-apache-tomcat-7.0.20-2/webapps/realbasic/WEB-INF/lib/filebloat.jar


      lsof -p 42987 | fgrep filebloat | wc -l
            20

        Activity

        Hide
        Ted Goddard added a comment -

        Sample exhibiting problem with Mojarra 2.1.3.

        Show
        Ted Goddard added a comment - Sample exhibiting problem with Mojarra 2.1.3.
        Hide
        Ted Goddard added a comment -
        Show
        Ted Goddard added a comment - Issue filed with mojarra: http://java.net/jira/browse/JAVASERVERFACES-2189
        Hide
        Ted Goddard added a comment -

        Requires fix in mojarra.

        Show
        Ted Goddard added a comment - Requires fix in mojarra.

          People

          • Assignee:
            Unassigned
            Reporter:
            Ted Goddard
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: