:))

Sorry if I used the wrong word. I mean restart my JVM. Since each app
will be allocated some JVMs, which run on some servers, I wonder if I
can reboot them. It is not an ideal solution, certainly, when you are
talking about error-tolerance and scaling. However, during some phase
of development, the behavior of your app become unpredictable on
someway and we need a way to reset the app to get to certain stable
state or try to figure out the problem.

Deploy a new version can restart my JVM? May be not. Recently, I get
an VerifyError error while my FreeMarker engine try to instantiate a
class named FreeMarkerJspApplicationContext. In subsequence request,
FreeMarker always throw java.lang.NoClassDefFoundError (without any
reference to VerifyError), so I guess GAE JVM some how "cached" the
class definition. I modified the version number and redeploy and guess
what, the behavior of FreeMarker engine is just like the JVM is never
restarted. I tried after 10 hours and now it is showing VerifyError.

You just never know, 'till you jump into the mess. I believe such
feature is "nice to have", though.

On Apr 27, 10:50 pm, Romain Pelisse <[email protected]> wrote:
> :D
>
> I actually saw a comic strip a while ago about how people will have to
> change their behavior (ie stop rebooting when they fail to fix something),
> but I never expected to actually see somebody ask about that.
>
> You can't reboot the cloud. Simply redeploy a new version of your
> application if you think your really screw something that bad (or explore
> the administration panel)... At least, that would be my guess...
>
> On 27 April 2010 16:26, Phuong Nguyen <[email protected]> wrote:
>
> > Is there any way to manually restart GAE on the cloud?
>
> > --
> > 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.
>
> --
> Romain PELISSE,
> "The trouble with having an open mind, of course, is that people will insist
> on coming along and trying to put things in it" -- Terry 
> Pratchetthttp://belaran.eu/
>
> --
> 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 
> athttp://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