users@glassfish.java.net

Re: web app file cache

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Mon, 24 Nov 2008 16:00:38 -0500

Salut,

Ryan de Laplante wrote:
> Hi,
>
> I've just replaced a file in
> domains\domain1\applications\j2ee-apps\myEAR\myWAR\resources and did
> not restart the application server. Will the new file be served, or
> does GlassFish cache files?

Look at domain.xml's http-file-cache element. There is two (confusing)
elements to set to true/false:

> <http-file-cache file-caching-enabled="false" file-transmission-enabled="false" globally-enabled="false" hash-init-size="0" max-age-in-seconds="30" m
> ax-files-count="1024" medium-file-size-limit-in-bytes="537600" medium-file-space-in-bytes="10485760" small-file-size-limit-in-bytes="2048" small-file-space-i
> n-bytes="1048576"/>

I suspect both file-caching-enabled="false" and globally-enabled="false" ...

A+

-- jeanfrancois


  It is a .swf flash file.
>
>
> Thanks,
> Ryan
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>