You can try touching (i.e. re-saving) your appengine-web.xml file.  That
should cause the DevAppServer to reload your application within the next 5
seconds.  I don't know if that's faster than restarting the whole
DevAppServer manually for you.

There is also a /_ah/reloadwebapp URL that you can hit to reload the
application, although I haven't actually tried this myself in quite a while.

On Mon, Jan 24, 2011 at 4:24 PM, Micah Martin <[email protected]> wrote:

> Hi all,
>
> I'd really appreciate some help with an issue I'm having.  The crux of the
> problem is that the ClassLoader is not able to find new resources at
> runtime.  When I restart the server, my files are found, but when I add new
> file the running server can't find them.  It's as though the ClassLoader is
> taking a snapshot of all the files at startup, and only looking in the
> snapshot to load resources.
>
> Why is this a problem?  I'm working on Clojure and I'm using a library that
> reloads all my src when it changes.  This means I don't have to restart the
> server.... except when I add a new file ....which is fairly frequently.
>  Restarting the server is painful.
>
> I've found that the root ClassLoader is an IsolatedAppClassLoader, but the
> decompiled src code looks harmless.  So I'm wondering if it's a permissions
> problem... I see that URLClassLoader.findResource uses
> AccessController.doPrivileged.
>
> As I said, I'd really appreciate some insight here.  Thanks.
>
> Micah
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-appengine-java%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to