-
15. Re: VFS Caching Issue - vfs-nested.tmp gets full
pangea Jul 14, 2011 10:47 AM (in response to biswajit.sinha)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 Jul 14, 2011 11:08 AM (in response to pangea)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 Jul 14, 2011 11:31 AM (in response to biswajit.sinha)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 Jul 14, 2011 11:59 AM (in response to pangea)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 Jul 14, 2011 12:06 PM (in response to 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 Jul 14, 2011 12:34 PM (in response to biswajit.sinha)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 Jul 14, 2011 12:59 PM (in response to pangea)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 Jul 14, 2011 1:08 PM (in response to biswajit.sinha)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 Jul 20, 2011 8:29 AM (in response to pangea)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