Re: [appengine-java] Re: problem with Content-type: null with css files

2012-01-09 Thread Shawn Brown
> 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.

Re: [appengine-java] Re: problem with Content-type: null with css files

2012-01-09 Thread Matthew Johnson
Ikai, I'm using GAP SDK 1.6.1, and so far, I'm the only dev on my team who's experienced this. Sorry I wasn't clear in my earlier reply to Jon. I did NOT need to use Jon's fix; my mime-mapping entry (seemed to) work fine without the period, but only AFTER I incremented the version number. I p

Re: [appengine-java] Re: problem with Content-type: null with css files

2012-01-09 Thread Jon Stevens
I have no idea how your internal systems work, but I'd look into the code which sets the Content-Type header and see what could possibly set it to null or not set it at all and then work back from there. Some more data points for reproduction? My css file is fairly large since I have one file for

Re: [appengine-java] Re: problem with Content-type: null with css files

2012-01-09 Thread Ikai Lan (Google)
It sounds like the data about this XML snippet is still inconclusive. - Jon Stevens reports that if you change the extension to .css, it works - Matt, in addition to using Jon's fix to the fix, you needed to increment the version to fix the broken mime-type So it's possible the XML snippet might

[appengine-java] Cause of NoClassDefFoundError?

2012-01-09 Thread Carter
We are sporadically getting this java.lang.NoClassDefFoundError error even though we have no deployment changes at all. Any tips on finding the cause of this error? 2012-01-09 16:44:23.725 Uncaught exception from servlet java.lang.NoClassDefFoundError: Could not initialize class com.camiolog.cam

Re: [appengine-java] Re: problem with Content-type: null with css files

2012-01-09 Thread Matthew Johnson
Jon, FYI, this fix didn't work for me until I incremented the version number. Then it worked great. Cheers, Matt On Jan 9, 2012, at 4:39 PM, Jon Stevens wrote: > Just did that, redeployed and it didn't fix anything. > > Edited the part below to have .css (adding a period) > and now the wor

Re: [appengine-java] Re: problem with Content-type: null with css files

2012-01-09 Thread Ikai Lan (Google)
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 ap

Re: [appengine-java] Re: problem with Content-type: null with css files

2012-01-09 Thread Jon Stevens
Just did that, redeployed and it didn't fix anything. Edited the part below to have .css (adding a period) and now the workaround to the workaround works. jon On Mon, Jan 9, 2012 at 3:16 PM, Amy Unruh wrote: > For those affected, it looks like a workaround is to add the following to > your w

Re: [appengine-java] Re: problem with Content-type: null with css files

2012-01-09 Thread Amy Unruh
For those affected, it looks like a workaround is to add the following to your web.xml: css text/css On Mon, Jan 2, 2012 at 3:19 PM, Jon Stevens 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

[appengine-java] Average memory - what does it mean?

2012-01-09 Thread Nirmallya
What does the average memory represent? We have an application in Java and we have not seen the average memory go down. We figured it is the sum of instance memory (sessions and other objects) & memcache. We hardly use the httpsession (eg user preferences, user object; nothing else) and now we have

[appengine-java] Re: Problem with Backend service development on local env

2012-01-09 Thread Itsu Tamam
We're also getting the (on dev machines): Exception in thread "main" java.lang.OutOfMemoryError: PermGen space. This happens when we raise the number of backend instances. When we use 3 backend instances (on local machine), the dev server works fine. When we use 4, sometimes it works - mostly not

[appengine-java] Re: Displaying 1000 tweets eats up datastore quotas in minutes

2012-01-09 Thread Serdar
Mat, It's like you have a blog and you store every word in a single Entity. Think how quickly your quotas would fill up in a few page views. I'm considering storing multiple tweets or even the entire stream in a single Entity. This perfectly suits for the main purpose of the site as the focus is

[appengine-java] Re: Failed to initialize App Engine SDK at ... appengine-java-sdk-1.6.0

2012-01-09 Thread AnthoniS
Hi, As Sven, I also solved the problem by forcing the JRE of STS/eclipse to jdk1.6.0; indeed it was 1.5 by default... On 8 jan, 08:16, Sven Busse wrote: > Me again,* * > > i could solve the problem by switching the java runtime in eclipse, i now > run on the JRE, that comes with the jdk1.6.0_