Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-7126

Include farm folder in the VFSCache permanent roots configuration

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 6.0.0.M1
    • JBossAS-5.1.0.GA
    • VFS
    • None
    • Workaround Exists
    • Hide

      Adding the "farm" folder URL to permanentRoots configuration in JBOSS_HOME/server/< servername>/conf/vfs.xml should fix the issue. See forum thread for more details.

      Show
      Adding the "farm" folder URL to permanentRoots configuration in JBOSS_HOME/server/< servername>/conf/vfs.xml should fix the issue. See forum thread for more details.

      The "farm" folder is missing from the VFSCache configuration for permanent roots. This results in the well-known disk space usage issue with tmp files in AS-5.x.

      Adding the "farm" folder URL should fix the issue.

            [JBAS-7126] Include farm folder in the VFSCache permanent roots configuration

            Added

            <entry>
            <key>${jboss.server.home.url}farm</key>
            <value><inject bean="VfsNamesExceptionHandler"/></value>
            </entry>

            to [Branch_5_x/trunk]/server/src/etc/conf/all/bootstrap/vfs.xml. This file gets reused during AS build in the "default" server configuration too. With the inclusion of "farm" folder in the VFSCache configuration, both the "all" and "default" server configuration boot up fine (even if farm folder is non-existent in default server configuration).

            Marking as resolved.

            Jaikiran Pai (Inactive) added a comment - Added <entry> <key>${jboss.server.home.url}farm</key> <value><inject bean="VfsNamesExceptionHandler"/></value> </entry> to [Branch_5_x/trunk] /server/src/etc/conf/all/bootstrap/vfs.xml. This file gets reused during AS build in the "default" server configuration too. With the inclusion of "farm" folder in the VFSCache configuration, both the "all" and "default" server configuration boot up fine (even if farm folder is non-existent in default server configuration). Marking as resolved.

              jaikiran Jaikiran Pai (Inactive)
              jaikiran Jaikiran Pai (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: