3 Replies Latest reply on Jul 28, 2009 3:27 AM by jaikiran

    cluster with farm deployment of JBoss 5.1GA and full vfs-nes

    georges.goebel

      Hi,

      I upgraded our jboss cluster to 5.1 GA and the farm deployment option is really great.

      But, I had already 5 times a full partition because of the JBOSS_HOME/server/all/tmp/vfs-nested.tmp folder. This is really annoying our production, I found other people with rhe same problem but not in 5.1GA. So I ask if it has to do something with the farm deployment in the cluster ? Every +- 30min the jar files inside the deployed war and ear are extracted to the vfs folder, but the old ones aer never deleted ! I have files there from 5 days ago.

      Is it possible to disable the jar file extraction ? It is a production system and the deployed ear and war files are not redeployed during runtime.

      Any help ?

      Georges

        • 1. Re: cluster with farm deployment of JBoss 5.1GA and full vfs
          jaikiran

          In JBOSS_HOME/server/all/conf/bootstrap/vfs.xml you will find something like this:

          <property name="permanentRoots">
           <map keyClass="java.net.URL" valueClass="org.jboss.virtual.spi.ExceptionHandler">
           <entry>
           <key>${jboss.lib.url}</key>
           <value><null/></value>
           </entry>
           <entry>
           <key>${jboss.common.lib.url}</key>
           <value><inject bean="VfsNamesExceptionHandler"/></value>
           </entry>
           <entry>
           <key>${jboss.server.lib.url}</key>
           <value><inject bean="VfsNamesExceptionHandler"/></value>
           </entry>
           <entry>
           <key>${jboss.server.home.url}deploy</key>
           <value><inject bean="VfsNamesExceptionHandler"/></value>
           </entry>
           </map>
           </property>
          



          Try adding the farm folder to this URL map:

          <property name="permanentRoots">
           <map keyClass="java.net.URL" valueClass="org.jboss.virtual.spi.ExceptionHandler">
           <entry>
           <key>${jboss.lib.url}</key>
           <value><null/></value>
           </entry>
           <entry>
           <key>${jboss.common.lib.url}</key>
           <value><inject bean="VfsNamesExceptionHandler"/></value>
           </entry>
           <entry>
           <key>${jboss.server.lib.url}</key>
           <value><inject bean="VfsNamesExceptionHandler"/></value>
           </entry>
           <entry>
           <key>${jboss.server.home.url}deploy</key>
           <value><inject bean="VfsNamesExceptionHandler"/></value>
           </entry>
          
           <entry>
           <key>${jboss.server.home.url}farm</key>
           <value><inject bean="VfsNamesExceptionHandler"/></value>
           </entry>
          
           </map>
           </property>
          


          • 2. Re: cluster with farm deployment of JBoss 5.1GA and full vfs
            georges.goebel

            Hi,

            Thanks a lot. That solved my issue and my day.

            Hopefully it will be included in the next release

            Georges

            • 3. Re: cluster with farm deployment of JBoss 5.1GA and full vfs
              jaikiran