[appengine-java] Re: Python url fetch against java appengine servlet

2010-04-12 Thread matt.rosencrantz
OK, not to beat a dead horse here but I used tcpdump to watch the traffic going back and forth between my java program and the jetty server. So here's what my java sends: GET /bumbleverse/load/object HTTP/1.1 User-Agent: Java/1.6.0_17 Host: localhost: Accept: text/html, image/gif, image/

[appengine-java] Re: Python url fetch against java appengine servlet

2010-04-12 Thread matt.rosencrantz
As a fallback I've created a Java version of my uploader. I'm basically doing: URL url = new URL("http://localhost:/load/object";); URLConnection con = url.openConnection(); con.setDoOutput(true); c

[appengine-java] Re: Errors after updating to 1.3.2

2010-04-12 Thread Featheast Lee
Yep, thanks I guess I have found out the root of the problem, just as you and John said, though it is not easy to find out. On Apr 1, 6:33 am, "Max Ross (Google)" wrote: > The method that can't be found was added in 1.3.2 so, as John says, this is > almost certainly a classpath problem.  My gue

[appengine-java] Re: Blob Store service createUploadUrl() and a Dispatcher Servlet

2010-04-12 Thread Rahul Ravikumar
I am using DevAppServer - I have filed an issue : http://code.google.com/p/googleappengine/issues/detail?id=3083 You can reproduce the problem using a dispatch servlet and the blobstore service together. The blobstore service does not seem to handle upload in such cases. Thanks, Rahul On Apr 1

Re: [appengine-java] Blob Store service createUploadUrl() and a Dispatcher Servlet

2010-04-12 Thread Don Schwarz
It should always dispatch to the more specific URL pattern, which in this case will be the upload servlet. Are you seeing this behavior in the DevAppServer or when deployed to our servers? Can you file an issue in the issue tracker with an appengine-web.xml and web.xml for a reproducible test cas

[appengine-java] Blob Store service createUploadUrl() and a Dispatcher Servlet

2010-04-12 Thread Rahul Ravikumar
I have a central dispatcher servlet that has a servlet mapping of : dispatcher / When i try to use the blob store service's createUploadUrl("/ uploadComplete") it maps to a URL for e.g '/_ah/upload/ agp0d2VldG15cGljchsLEhVfX0Jsb2JVcGxvYWRTZXNzaW9uX18YEgw'. Before the Blob st

[appengine-java] Python url fetch against java appengine servlet

2010-04-12 Thread matt.rosencrantz
Hello, I am trying to build a very simple data loading python script for my Java servlet based appengine app. Unfortunately python can't seem to open an URL from appengine (or the development server anyway). If you just start with the eclipse appengine project template (call the project fetchtes

Re: [appengine-java] Eclipse

2010-04-12 Thread Ikai L (Google)
Were you able to resolve this? Did you find out which files caused the issue? On Tue, Apr 6, 2010 at 12:01 AM, 1900's wrote: > eclipse.buildId=unknown > java.version=1.6.0_18 > java.vendor=Sun Microsystems Inc. > BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=zh_CN > Command-line argumen

Re: [appengine-java] Is the any limitation on entity group size?

2010-04-12 Thread Ikai L (Google)
No, it should be fine UNLESS you want to load all these child objects in a single request. As a rule of thumb, load as little data as possible. You may need to denormalize (the datastore isn't relational anyway) for additional read performance. For a better answer, you may want to describe what it

[appengine-java] Stats are 0ms in AppStats

2010-04-12 Thread Peter Liu
I just followed the guide for installing appstats for java and loaded the admin page. (11) 2010-04-12 18:02:17.528 "GET /wsjspotName=Barack %20Obama&test=true" 200 real=357ms cpu=0ms api=0ms overhead=0ms (8 RPCs) (12) 2010-04-12 18:01:57.196 "GET /image/17001/barack-obama" 404 real=214ms cpu=0

[appengine-java] Re: Is it possible to convert a user defined String key to a unique Long?

2010-04-12 Thread Tristan
I know you want to keep emails as the unique identifier, but I've done it a few times, and every time I ended up going to Long as the identifier. The question that always comes up, "what if the user changes their email?" With that scenario, the pain of email as unique key became too great every tim

[appengine-java] Re: Any examples on how to use the data store low level Java API?

2010-04-12 Thread Tristan
I should be able to help... what are you trying to do? to use a predefined type that is storable in the datastore (http:// code.google.com/appengine/docs/java/datastore/ dataclasses.html#Core_Value_Types) all you do is cast that property so.. Entity entity = new Entity("myKind"); Email myEmail

[appengine-java] TransientFailureException

2010-04-12 Thread Tristan
Hey, I got this exception twice yesterday. Is there anything in my control that may be causing it? Or should I just wrap it up and retry if this happens? (the task has successfully queued and executed hundreds of times) Uncaught exception from servlet com.google.appengine.api.labs.taskqueue.Trans

[appengine-java] Is the any limitation on entity group size?

2010-04-12 Thread ailinykh
Hello, everybody! I have objects with owned one to many relationship. Child table is supposed to grow, each parent eventually will have thousands or even more child objects. May it cause any performance issues? Is there any best practice to handle this situation? Thank you, Andrey -- You rece

Re: [appengine-java] Re: Issue with google plugin for eclipse

2010-04-12 Thread Rajeev Dayal
Projects created with the plugin's "New Web Application" wizard are not J2EE projects (by default), which is why you don't have the options to create a new servlet, etc. You can get around this by hacking up the project and classpath files, but an easier way to go about it would be to start out by

Re: [appengine-java] Eclipse plugin requires carbon version of SWT?

2010-04-12 Thread Rajeev Dayal
The plugin should work with both Carbon and Cocoa versions of Mac OS X. Can you give me some details about the exact version and distribution of Eclipse that you're using, as well as the platform (computer type and OS version) that you're running on? On Sat, Apr 10, 2010 at 9:50 AM, datguy wrote:

Re: [appengine-java] Re: How to exclude the optional jars for deployment?

2010-04-12 Thread Rajeev Dayal
+[Keith] @Jake: Actually, version 1.3 of the Google Plugin for Eclipse is far more maven-friendly. What problems are you running into? See http://code.google.com/eclipse/docs/faq.html#gwt_with_maven for more information. On Fri, Apr 9, 2010 at 7:22 PM, Jake wrote: > Or you could forgo the plug

[appengine-java] ApiProxy$ApplicationException

2010-04-12 Thread takeru sasaki
Hello, I see many strange errors. (1) ApiProxy$ApplicationException: ApplicationError: 2: too much contention on these datastore entities. please try again. It should be converted to ConcurrentModificationException. (2) ApiProxy$ApplicationException: ApplicationError: 5: Unknown I set deadline(

[appengine-java] Re: Server Error A server error has occurred. - Whilst Deleting app version.

2010-04-12 Thread Eurig Jones
Thanks Ikai On Apr 9, 10:47 pm, "Ikai L (Google)" wrote: > We'll scrub these next time we do them in batch. For the time being - it's > annoying that it's stuck there, but we allocate you 100 versions, so this > shouldn't get in your way. > > > > On Wed, Apr 7, 2010 at 2:47 PM, Eurig Jones wrote

Re: [appengine-java] java.lang.RuntimeException: java.io.NotSerializableException: + objectify framework

2010-04-12 Thread Aditya Rathi
I have not modified anything in DWR. But the same code was working with JDO; I have migrated it to Objectify keeping the action layer unchanged. This is working fine on my local environment. On Mon, Apr 12, 2010 at 12:47 PM, Shawn Brown wrote: > > I am using dwr and objectify framework to get th

Re: [appengine-java] java.lang.RuntimeException: java.io.NotSerializableException: + objectify framework

2010-04-12 Thread Shawn Brown
> I am using dwr and objectify framework to get the arraylist of string > from datastore. > But I am getting error. > > java.lang.RuntimeException: java.io.NotSerializableException Well beyond that have you really gotten dwr to work in appengine. If so, it must be a pretty old version. AFAIK, dw