Just to update this thread with info from another thread: We think we know what's happening. This is something that is happening at app upload time. Can you try setting a new version name for your app, then passing the --no_batch option when using appcfg.sh?
appcfg.sh --no_batch update [YOUR_WAR_DIRECTORY] On Tue, Jan 10, 2012 at 9:38 PM, Mos <[email protected]> wrote: > Ikai, I sent you my testcase some days ago (it's still broken). Can't you > use it? Didn't get any feedback from you? > > I'm pretty sure: > - It's a SDK 1.6.1 issue (didn't get it before, but got it now from time > to time when doing deployments) > - It seems to be Java only > - It seems to be a race-condition > > Is your code for determine the mime-type of deployed somewhere available. > I'm sure a lot of people > would like to see it and helping out. ;) > > My strong statement is on the other thread: > > http://groups.google.com/group/google-appengine/msg/ba3ae8475e555c0f > > > > On Tue, Jan 10, 2012 at 1:58 AM, Ikai Lan (Google) <[email protected]>wrote: > >> Are you all on the 1.6.1 SDK? Is someone experiencing this deploying with >> an older SDK? >> >> If someone has a deterministically reproducible case that you can share >> with us (project files and everything), it'd be very helpful for us to nail >> this bug. We aren't able to do this with our test apps (big apps, small >> apps). There's got to be some parameter that's different in your apps. >> >> -- >> Ikai Lan >> Developer Programs Engineer, Google App Engine >> plus.ikailan.com | twitter.com/ikai >> >> >> >> On Mon, Jan 9, 2012 at 4:39 PM, Jon Stevens <[email protected]> wrote: >> >>> Just did that, redeployed and it didn't fix anything. >>> >>> Edited the part below to have <extension>.css</extension> (adding a >>> period) and now the workaround to the workaround works. >>> >>> jon >>> >>> >>> On Mon, Jan 9, 2012 at 3:16 PM, Amy Unruh <[email protected]>wrote: >>> >>>> For those affected, it looks like a workaround is to add the following >>>> to your web.xml: >>>> >>>> <mime-mapping> >>>> <extension>css</extension> >>>> <mime-type>text/css</mime-type> >>>> </mime-mapping> >>>> >>>> On Mon, Jan 2, 2012 at 3:19 PM, Jon Stevens <[email protected]> wrote: >>>> >>>>> Well, it seems it isn't just me, so I just filed a ticket: >>>>> >>>>> http://code.google.com/p/googleappengine/issues/detail?id=6655 >>>>> >>>>> Please star it. >>>>> >>>>> jon >>>>> >>>>> >>>>> On Sun, Jan 1, 2012 at 8:13 PM, Carter Maslan <[email protected]> >>>>> wrote: >>>>> > we had the same problem and it was solved by updating the css file >>>>> (with a space) and pushing again (without an app version change). >>>>> Appreciate any info you find on preventing this problem. It behaved as >>>>> though it was a problem in GAE's caching of static files. >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > On Dec 30, 2011, at 8:34 PM, jnamnath <[email protected]> wrote: >>>>> > >>>>> >> I got it working again by updating the version number in my >>>>> appengine- >>>>> >> web.xml and pushing the new version. Still have no idea what >>>>> happened >>>>> >> here. >>>>> >> >>>>> >> -J >>>>> >> >>>>> >> On Dec 24, 4:48 pm, jon stevens <[email protected]> wrote: >>>>> >>> Hey there, >>>>> >>> >>>>> >>> I've got an app up on GAE-J that when I request a .css file, I get >>>>> back a >>>>> >>> Content-Type: null, which is causing Chrome/Safari to not render >>>>> the page >>>>> >>> correctly. Any ideas why this would happen? Here is an example of >>>>> what I >>>>> >>> see in the Chrome Developer Tools -> Network -> Headers. I tried >>>>> adding the >>>>> >>> mime-extension to the web.xml and that didn't do anything. >>>>> >>> >>>>> >>> Request URL:http://appid.appspot.com/css/gen/main.css >>>>> >>> Request Method:GET >>>>> >>> Status Code:200 OK >>>>> >>> >>>>> >>> Request Headers >>>>> >>> Accept:text/css,*/*;q=0.1 >>>>> >>> Accept-Charset:ISO-8859-1,utf-8;q=0.7,*;q=0.3 >>>>> >>> Accept-Encoding:gzip,deflate,sdch >>>>> >>> Accept-Language:en-US,en;q=0.8 >>>>> >>> Authorization:Basic sldkjf >>>>> >>> Cache-Control:max-age=0 >>>>> >>> Connection:keep-alive >>>>> >>> Host:appid.appspot.com >>>>> >>> If-None-Match:"Cf2J0A" >>>>> >>> Referer:http://appid.appspot.com/ >>>>> >>> User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2) >>>>> AppleWebKit/535.7 >>>>> >>> (KHTML, like Gecko) Chrome/16.0.912.63 Safari/535.7 >>>>> >>> >>>>> >>> Response Headers >>>>> >>> Cache-Control:public, max-age=600 >>>>> >>> Content-Length:112490 >>>>> >>> Content-Type:null >>>>> >>> Date:Sun, 25 Dec 2011 00:23:00 GMT >>>>> >>> ETag:"NfQmpA" >>>>> >>> Expires:Sun, 25 Dec 2011 00:33:00 GMT >>>>> >>> Server:Google Frontend >>>>> >> >>>>> >> -- >>>>> >> 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. >>>>> >> >>>>> > >>>>> > -- >>>>> > 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. >>>>> > >>>>> >>>>> -- >>>>> 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. >>>>> >>>>> >>>> -- >>>> 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. >>>> >>> >>> -- >>> 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. >>> >> >> -- >> 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. >> > > -- > 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. > -- 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.
