users@glassfish.java.net

Re: HTML File Not Updating on Deploy

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Mon, 23 Jul 2007 10:59:07 +0200

Hi,

which platform are you running on? Is the http-file-cache attribute
named 'globally-enabled' set to true in domain.xml? If yes, turn it to
false to see if that fix the problem.

Thanks

-- Jeanfrancois

ITVGuy2000 wrote:
> I am sure (hopeful) that this is something simple, or I am forgetting
> something rudimentary.
>
> I have an application made up mostly of JSP pages, with a few HTML files.
> When I do a deploy to my remote server with Netbeans it completes without
> error. Looking at the server.log file, there are also no errors associated
> with the deployment.
>
> When I run the application, and click on the link to my html file, the html
> file loads, but it is the old instance (the file that was there before my
> latest changes and deployment). I do a view source, and yep, its the old
> file.
>
> If I do use the command-line asadmin stop-domain and start-domain commands,
> to restart the server, then click the link again. There it is, the updated
> HTML file I deployed.
>
> Why aren't my HTML files updating after I deploy new ones?
>
> Is there some configuration I haven't set correctly?
>
> Thanks,
>
> ITVGuy2000