Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Continuous stopping/starting of WebAppContext

Thanks Jan.

BTW, this only appears to happen when I save resource files, such as css/js, not when a class file has been recompiled, which is where this would make sense. I assume this should work, no?

Or is there a limit to the monitored dir depth traversal?


On Mon, May 12, 2014 at 4:48 AM, Jan Bartel <janb@xxxxxxxxxxx> wrote:
Nils,

Try: http://www.eclipse.org/jetty/documentation/current/hot-deployment.html

Jan

On 11 May 2014 23:12, Nils Kilden-Pedersen <nilskp@xxxxxxxxx> wrote:
> I’ve noticed that, during development, whenever I save a file, e.g. a
> _javascript_ file, Jetty restarts the context. In the logs it looks like this:
>
> 302582 [Scanner-0] INFO  org.eclipse.jetty.server.handler.ContextHandler  -
> Stopped
> o.e.j.w.WebAppContext@7ee398b4{/,file:/C:/Users/Nils/jetty/webapps/ROOT/,UNAVAILABLE}{C:\Users\Nils\jetty\webapps\ROOT}
> 303041 [Scanner-0] INFO  org.eclipse.jetty.server.handler.ContextHandler  -
> Started
> o.e.j.w.WebAppContext@5807bb89{/,file:/C:/Users/Nils/jetty/webapps/ROOT/,AVAILABLE}{C:\Users\Nils\jetty\webapps\ROOT}
>
> Why is this happening and, more importantly, how do I make it stop?
>
> Thanks,
> Nils
>
>
> _______________________________________________
> jetty-users mailing list
> jetty-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>



--
Jan Bartel <janb@xxxxxxxxxxx>
www.webtide.com
'Expert Jetty/CometD developer,production,operations advice'
_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users


Back to the top