« Return to Thread: Turning off ModificationWatcher

Re: Turning off ModificationWatcher

by Ryan Crumley :: Rate this Message:

Reply to Author | View in Thread

Matt,

Add this to your WebApplication.init() method:

getResourceSettings().setResourcePollFrequency(null);

Ryan

On Wed, Apr 8, 2009 at 9:33 PM, Matthew Welch <matthew@...> wrote:

> I'm experimenting with Wicket inside Google's new Java support for its App
> Engine. My simple apps run fine if the configuration is set to DEPLOYMENT,
> however in development mode, I get an exception related to
> ModificationWatcher. Looking at the exception I think this
> ModificationWatcher is being used as part of a new thread which is a no-no
> inside the App Engine sandbox. Is there way way to just disbable this
> modification watcher without putting the entire app in deployment mode?
> There are a number of items I like about development mode but this one
> glitch is preventing me from using it.
>
> Matt
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

 « Return to Thread: Turning off ModificationWatcher