Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-1861

FileInstall created temp directories are never deleted

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • fileinstall-2.0.4
    • fileinstall-2.0.8
    • File Install
    • None
    • Linux/SunJDK6

    Description

      In GlassFish, I don't configure any specific temp folder for file install, so it creates some temp folders in ${java.io.tmpdir}, but I never see them getting deleted. e.g., from fileinstall logs, I see the following:
      [#|2009-11-11T19:06:23.633+0530|INFO|glassfishv3.0|null|_ThreadID=22;_ThreadName=

      {felix.fileinstall.poll=5000, service.pid=org.apache.felix.fileinstall.5ed48f74-77d9-4b78-9972-9e235f76ba8c, felix.fileinstall.bundles.new.start=true, felix.fileinstall.dir=/space/ss141213/WS/gf/v3/publish/glassfishv3/glassfish/domains/domain1/autodeploy/bundles/, service.factorypid=org.apache.felix.fileinstall, felix.fileinstall.filename=org.apache.felix.fileinstall-autodeploy-bundles.cfg, felix.fileinstall.debug=1}

      ;|

      {felix.fileinstall.poll (ms) = 5000, felix.fileinstall.dir = /space/ss141213/WS/gf/v3/publish/glassfishv3/glassfish/domains/domain1/autodeploy/bundles, felix.fileinstall.debug = 1, felix.fileinstall.bundles.new.start = true, felix.fileinstall.tmpdir = /tmp/fileinstall-867036041551774039, felix.fileinstall.filter = null}

      |#]

      [#|2009-11-11T19:06:23.637+0530|INFO|glassfishv3.0|null|_ThreadID=23;_ThreadName=

      {felix.fileinstall.poll=5000, felix.fileinstall.bundles.new.start=true, felix.fileinstall.dir=/space/ss141213/WS/gf/v3/publish/glassfishv3/glassfish/modules/autostart/, felix.fileinstall.debug=1}

      ;|

      {felix.fileinstall.poll (ms) = 5000, felix.fileinstall.dir = /space/ss141213/WS/gf/v3/publish/glassfishv3/glassfish/modules/autostart, felix.fileinstall.debug = 1, felix.fileinstall.bundles.new.start = true, felix.fileinstall.tmpdir = /tmp/fileinstall-2323635376943197261, felix.fileinstall.filter = null}

      |#]

      and after the program is stopped, I still see those tmp folders. In fact, they just keep getting created and it's a nightmare.
      ls /tmp/fileinstall-* | wc
      41 21 827

      Attachments

        Activity

          People

            gnodet Guillaume Nodet
            sahoo Sanjeeb Kumar Sahoo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: