1 2 Previous Next 23 Replies Latest reply on Jul 20, 2011 8:29 AM by biswajit.sinha Go to original post
      • 15. Re: VFS Caching Issue - vfs-nested.tmp gets full
        pangea

        I am happy to report that since I have added the farm to the vfs.xml file as a permanent root, the vfs-nested.tmp folder does not grow past the size that it reaches following a complete startup.

         

        Thanks all for your help.

        Pangea

        • 16. Re: VFS Caching Issue - vfs-nested.tmp gets full
          biswajit.sinha

          Pangea - did you only add this part in vfs.xml?

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

           

          And no other changes to other related files?

           

          Regards,

          Bis

          • 17. Re: VFS Caching Issue - vfs-nested.tmp gets full
            pangea

            Yes Biswajit. That is the only change that I made.

             

            I am on Joss 5.1, on a Linux box.

            • 18. Re: VFS Caching Issue - vfs-nested.tmp gets full
              biswajit.sinha

              OK. Can you please paste your vfs.xml once here if its OK with you.

              • 19. Re: VFS Caching Issue - vfs-nested.tmp gets full
                biswajit.sinha

                also what is the version of jboss-vfs.jar you are using?

                • 20. Re: VFS Caching Issue - vfs-nested.tmp gets full
                  pangea

                  Here is the vfs.xml. It is standard out of the box for JBoss 5.1 (jdk 6 version), with the farm added.

                   

                  <?xml version="1.0" encoding="UTF-8"?>

                  <!--

                     The JBossVFS initializer configuration.

                  -->

                  <deployment xmlns="urn:jboss:bean-deployer:2.0">

                   

                   

                    <bean name="VFSCache">

                      <constructor factoryClass="org.jboss.virtual.spi.cache.VFSCacheFactory" factoryMethod="getInstance">

                        <!-- Use the CombinedVFSCache implementation -->

                        <parameter>org.jboss.virtual.plugins.cache.CombinedVFSCache</parameter>

                      </constructor>

                      <start ignored="true"/>

                      <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>

                      <property name="realCache">

                        <bean class="org.jboss.virtual.plugins.cache.IterableTimedVFSCache"/>

                      </property>

                    </bean>

                   

                   

                    <bean name="VfsNamesExceptionHandler" class="org.jboss.virtual.plugins.context.helpers.NamesExceptionHandler">

                      <constructor>

                        <parameter class="java.lang.String">sqljdbc.jar</parameter>

                      </constructor>

                    </bean>

                   

                   

                  </deployment>

                   

                   

                  The version of jboss-vfs.jar that I am using is the standard one that ships with JBoss 5.1 (jdk 6 version). I believe it to be implementation version 2.1.2.GA.

                   

                  Hope that helps.

                  Pangea

                  • 21. Re: VFS Caching Issue - vfs-nested.tmp gets full
                    biswajit.sinha

                    But you said previously that you tried adding the farm url to vfs.xml and now you just mentioned this is out of the box vfs.xml in JB 5.1

                    • 22. Re: VFS Caching Issue - vfs-nested.tmp gets full
                      pangea

                      What I meant was, here is the standard out of the box from JBoss 5.1 vfs.xml, which the farm specified (which I have added).

                      • 23. Re: VFS Caching Issue - vfs-nested.tmp gets full
                        biswajit.sinha

                        I tried with adding the farm server url but that did not seem to help the cause so I tried with a new version of VFS (2.2.0.GA) which seems to have helped so far.

                         

                        Regards,

                        Bis

                        1 2 Previous Next