[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Jetty 8.1.2 doesn't recognize file changes in symlinked folder


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:
> Hi all,
> 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:
> /path/to/jetty/webapps/myapp/symlink/changed_file.json
> Jetty serves the old version of the file (while Jetty 7.5.0 didn't do that).
> I have found this bug here
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=364502
> but it's about a symlink which target is changed, what's a different problem
> if I see this
> correctly.
> How can I avoid this behaviour?
> Thanks,
> Lukas
> _______________________________________________
> jetty-users mailing list
> jetty-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/jetty-users