[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [jetty-users] Jetty 8.1.2 doesn't recognize file changes in symlinked folder
- From: Lukas Ruetz <lukas.ruetz@xxxxxx>
- Date: Thu, 12 Apr 2012 10:09:31 +0200
- Delivered-to: email@example.com
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1
sorry I was a bit to quick - because you've said it's working for
you I had a look at the framework (Tapestry5) and saw that if
I don't request the file as asset (internally handled by the
framework) and use the real path I get the new file. So it's not
Am 2012-04-12 09:24, schrieb Jan Bartel:
I can't reproduce that using the standard jetty test webapp.
I modified the DefaultServlet to allow serving aliases, then sym
linked $JETTY_HOME/webapps/test/mystatic -> /tmp/static
I put a few html files in /tmp/static and then modified them
on-the-fly. All of the modifications were picked up when the file was
requested in a browser.
Can you provide more details on your setup?
On 12 April 2012 17:09, Lukas Ruetz<lukas.ruetz@xxxxxx> wrote:
I'm using Jetty 8.1.2 on Linux.
My problem is that Jetty doesn't recognize changed files IN a folder which
is a symlink.
It looks like this:
Jetty serves the old version of the file (while Jetty 7.5.0 didn't do that).
I have found this bug here
but it's about a symlink which target is changed, what's a different problem
if I see this
How can I avoid this behaviour?