This content has been marked as final.
Show 4 replies
-
1. Re: File system's filling up fast
meetoblivion Jan 7, 2009 10:59 PM (in response to meetoblivion)Ok, just figured out it's a duplicate of
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=147622
Changed the cache and let's see if it's still fine tomorrow. -
2. Re: File system's filling up fast
alesj Jan 8, 2009 3:53 AM (in response to meetoblivion)Can you try this configuration:
<?xml version="1.0" encoding="UTF-8"?> <!-- The JBossAS 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 LRUVFSCache implementation --> <parameter>org.jboss.virtual.plugins.cache.LRUVFSCache</parameter> <parameter> <map keyClass="java.lang.String" valueClass="java.lang.String"> <entry> <key>jboss.vfs.cache.LRUPolicyCaching.min</key> <value>2</value> </entry> <entry> <key>jboss.vfs.cache.LRUPolicyCaching.max</key> <value>15</value> </entry> </map> </parameter> </constructor> <start ignored="true"/> </bean> <bean name="VfsNamesExceptionHandler" class="org.jboss.virtual.plugins.context.helpers.NamesExceptionHandler"> <constructor> <parameter class="java.lang.String">sqljdbc.jar</parameter> </constructor> </bean> <bean name="JBossVFSInitializer" class="org.jboss.virtual.plugins.cache.PreInitializeVFSContexts"> <property name="initializedVFSContexts" class="java.util.Map"> <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> <property name="holdReference">true</property> </bean> </deployment>
It changes the cache type + it adds deploy dir as pre-initialized root as well. -
3. Re: File system's filling up fast
alesj Jan 8, 2009 12:29 PM (in response to meetoblivion)Or you can try this new impl:
- http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200398#4200398 -
4. Re: File system's filling up fast
alesj Jan 9, 2009 10:35 AM (in response to meetoblivion)"alesj" wrote:
Or you can try this new impl:
- http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200398#4200398
I attached it to JIRA issue:
- https://jira.jboss.org/jira/browse/JBAS-6373