0

I uploaded my app to GAE for java which is mapped to our domain www.sakshum.org

The default version is http://3.sakshumweb.appspot.com/

The problem is when we access using the domain name it seems to have some old version but if we access the direct url it seems to be working fine.

Any idea on what could be the issue?

7
  • Is this a permanent problem? Static files on GAE get cached for about 10 minutes. Aug 24, 2012 at 6:12
  • problem is with the application code written in GWT. and moreover accessing the app using 3.sakshumweb.appspot.com works fine but using sakshum.org fails. in last 3 years we are facing this issue for the first time
    – Vik
    Aug 24, 2012 at 6:19
  • 1
    Pending my reply? You clearly dont understand how things work here. Nobody owes you anything. You should do your own debugging.. Aug 24, 2012 at 6:28
  • Do you see GWT problem on one browser or across browsers? How about different computers? Aug 24, 2012 at 6:44
  • 1
    Are you absolutely sure you set version 3 as the default version on the application dashboard (Main, Versions)? It could be that, for some weird reason, the instances serving the previous version are still alive. You may want to shut them down and see what happens.
    – rbanffy
    Aug 24, 2012 at 21:10

1 Answer 1

1

Static files on GAE get cached for about 10 minutes. You should try disabling cache for GWT related files. Put this into your appengine-web.xml:

<!-- Configure serving/caching of GWT files -->
<static-files>
  <include path="**" />

  <!-- The following line requires App Engine 1.3.2 SDK -->
  <include path="**.nocache.*" expiration="0s" />

  <include path="**.cache.*" expiration="365d" />
  <exclude path="**.gwt.rpc" />
</static-files>
3
  • yes we have these included but i still see the old version of the app even after half an hour. just to repeat 3.sakshumweb.appspot.com seems to be fine but sakshum.org seems to have old code. not sure why this is happening
    – Vik
    Aug 24, 2012 at 18:46
  • 1. Check that you surely have the correct version as default version. Aug 24, 2012 at 21:41
  • 2. Download code from GAE and check that it's the correct one. Maybe something goes wrong at upload: developers.google.com/appengine/docs/java/tools/… Aug 24, 2012 at 21:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.