[jboss-jira] [JBoss JIRA] Updated: (JBAS-6373) VFS cache should handle main context roots better

Ales Justin (JIRA) jira-events at lists.jboss.org
Fri Jan 9 10:31:04 EST 2009


     [ https://jira.jboss.org/jira/browse/JBAS-6373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ales Justin updated JBAS-6373:
------------------------------

    Attachment: jboss-vfs.jar


This is a current VFS trunk snapshot.

Use this vfs.xml with it.

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


> VFS cache should handle main context roots better
> -------------------------------------------------
>
>                 Key: JBAS-6373
>                 URL: https://jira.jboss.org/jira/browse/JBAS-6373
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: VFS
>    Affects Versions: JBossAS-5.0.0.GA
>            Reporter: Ales Justin
>            Assignee: Ales Justin
>         Attachments: jboss-vfs.jar
>
>
> Currently we use timed VFS cache,
> which results in plague of temp jar files once the cache expires.
> We should control the main VFS contexts better.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list