Re: [appengine-java] Re: Protocol Buffer in Google app engine

2011-02-22 Thread Amit Pandey
I am planning to use the regular servlet interface and use encoded protobufs in the request and response bodies. thoughts/suggestions? On Wed, Feb 23, 2011 at 12:47 PM, Peter Ondruška wrote: > Just a note on Java-to-Java serialization: This is not going to work 100% > while protobuf serializatio

[appengine-java] Re: Unexpected Exception while trying executin a jdo query

2011-02-22 Thread culov
same problem, havent found an answer. On Jan 28, 1:46 am, Christophe Weber wrote: > Hi, > > I have a problem when trying to query  on the appengine. here's what I do: > > Query q = persistenceManager.newQuery(User.class); > q.declareParameters("java.lang.String emailParam"); > q.setFilter("userEm

[appengine-java] Re: Protocol Buffer in Google app engine

2011-02-22 Thread Peter Ondruška
Just a note on Java-to-Java serialization: This is not going to work 100% while protobuf serialization should work. -- 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 google-appengine-java@googleg

Re: [appengine-java] Re: Protocol Buffer in Google app engine

2011-02-22 Thread Amit Pandey
Completely Make sense. Thanks Didier. On Tue, Feb 22, 2011 at 5:57 PM, Didier Durand wrote: > Hi Amit, > > I still don't know much about your app and requirement, but what I can > say: > > a) you should stick to http rather than going to any other kind of > RPC: http on port 80 is very well manag

Re: [appengine-java] Re: Probably a newbie question (most likely)

2011-02-22 Thread Fernando O.
tried that and it's telling me org.datanucleus.exceptions.NucleusObjectNotFoundException: Could not retrieve entity of kind Thread with key Thread(51) I also tried doing a query with the Thread key and UserKey (wich is the key for a thread) and then I get an exception about modifying 2 entities in

Re: [appengine-java] Re: Probably a newbie question (most likely)

2011-02-22 Thread Fernando O.
Thanks! I'll try that. BTW no, addComment does not store the comment. On Tue, Feb 22, 2011 at 8:49 PM, WillSpecht wrote: > Don't you need to persist the thread as well as the comment? It's > hard to analyze your code with such a small sample. Does addComment > persist the thread? My > guess i

[appengine-java] Re: Probably a newbie question (most likely)

2011-02-22 Thread WillSpecht
Don't you need to persist the thread as well as the comment? It's hard to analyze your code with such a small sample. Does addComment persist the thread? My guess is that something is making the transaction fail, probably cause you are trying to operate on two different entity groups. I would si

[appengine-java] Re: Learning the datastore

2011-02-22 Thread John
Great, thanks all! On Feb 22, 7:49 am, Ronmell Fuentes wrote: > Hi John, > acording to my expertise in DataStore, you'll get more know-how when running > the example > you'll see the creation of the files and all the data that datastore deals > with. > try running the helloWorld example and try t

Re: [appengine-java] Unable to start embedded HTTP server, AccessControlException

2011-02-22 Thread Toby Reyelts
If you set the JVM flag, "-Djava.security.debug=access,failure", you'll get a lot of log spam that has the root cause buried in it somewhere. If you post the logs to the list, we can help debug it for you. Remember that if you're running dev_appserver from the command line, you need to use --jvm_fl

[appengine-java] Re: Learning the datastore

2011-02-22 Thread Didier Durand
Hi, I would also recommend you to get the source code of Objectify, 1 of the open source datastore frameworks recommended by Google to work on top of its low-level ds api: very efficient and broad use of the ds capabilities. I would also recommend the wiki pages of the project: perceived as very

[appengine-java] Re: ClassNotFoundException

2011-02-22 Thread Simon Knott
I can't answer the first question, but as for the second - are you doing any static initialization of that class? If a static initializer fails, you will get a ClassNotFoundException even if the Class is deployed. -- You received this message because you are subscribed to the Google Groups "G

Re: [appengine-java] Learning the datastore

2011-02-22 Thread Ikai Lan (Google)
I think one of the best ways to start learning about the datastore is to use the low-level API: http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/package-summary.html We changed our docs recently to show examples using this. As far as open source projects go, y

[appengine-java] Zero instance

2011-02-22 Thread Ciro
Hi, Since yesterday, my GAE app has zero instance allowed so when I enter http://teatropicaro.appspot.com I get an error 500. I've tried to disable and re-enable the app but nothing to do. Please help. Thank you. -- You received this message because you are subscribed to the Google Groups "Go

Re: [appengine-java] Learning the datastore

2011-02-22 Thread Ronmell Fuentes
Hi John, acording to my expertise in DataStore, you'll get more know-how when running the example you'll see the creation of the files and all the data that datastore deals with. try running the helloWorld example and try to 1. create one own Object to be stored (kinda POJO); 2. create a Persistenc

[appengine-java] Learning the datastore

2011-02-22 Thread John
I've been reading the App Engine docs to prep myself for for a new project using the datastore. When learning a new technology I like to look at working code vs. just the examples in the docs. Does anyone know of an active open source project that I can download and use to accelerate my learning

[appengine-java] PersistenceManager (JDO), transaction and close() function

2011-02-22 Thread Tom Fishman
In almost every example code I can see, the PersistenceManager is never closed ( call close() ) with JDO transaction operation. What's the reason of that? ( In other cases, close() is always called in finally clause ) My code has both transaction and non-transaction operations, the entity retur

[appengine-java] api Sites: Required extension element http://schemas.google.com/acl/2007:role not found

2011-02-22 Thread vincentd
Hi, I catch this exeption when i use the ACL feed for a site where there is the user "anyone with the link": com.google.gdata.util.ParseException: [Line 1, Column 8788, element entry] Required extension element http://schemas.google.com/acl/2007:role not found. I saw the same problem was apparent

[appengine-java] ClassNotFoundException

2011-02-22 Thread winsome[765]
Okay last night I deployed onto GAE and everything worked. I changed some html (no java, config, etc) and deployed again. Now when I access the app via the default gae url e.g. id.appspot.com, my app throws a ClassNotFoundException - and I'm sure the class is in the WEB- INF/classes folder. Stran

[appengine-java] Re: 1.4.2: Can't make https call from dev server

2011-02-22 Thread Jens Lundberg
I'm running the dev-server (ver. 1.4.2) and GData Docs 3.0 Client ( on Windows Vista and I also experience this problem when I try to access the DocList with Oauth like below: GoogleOAuthParameters oauthParameters = new GoogleOAuthParameters(); oauthParameters.setOAuthConsumerKey(CONSUMER_KEY); o

[appengine-java] Are IdGeneratorStrategy.Identity values always unique.

2011-02-22 Thread Richard Wallis
If I use IdGeneratorStrategy.Identity to generate a long key field and then delete the object associated with that key from the datastore. Is it possible that the same key will be reused with a different object of the same class? Or are keys always unique? -- You received this message because you

[appengine-java] Re: useless?

2011-02-22 Thread vincentd
Its okay, the file isnt used on my localhost, but it works fine on google apps engine... -- 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 google-appengine-java@googlegroups.com. To unsubscribe f

[appengine-java] Re: bulkloader - Authentication failed.

2011-02-22 Thread Aswath Satrasala
Any idea on how to use the bulkloader, if FederatedLogin Authentication is enabled. -Aswath On Mon, Feb 21, 2011 at 3:38 PM, Aswath Satrasala < aswath.satras...@gmail.com> wrote: > I figured out this. > I had modified the Application Setting ->AuthenticationOptions to > 'Federated Login'. Hence

[appengine-java] Re: Protocol Buffer in Google app engine

2011-02-22 Thread Didier Durand
Hi Amit, I still don't know much about your app and requirement, but what I can say: a) you should stick to http rather than going to any other kind of RPC: http on port 80 is very well managed and ubiquitous over the whole Internet. If you go to something more "exotic", you risk getting blocked

[appengine-java] Re: PersistenceManager (JDO), transaction and close() function

2011-02-22 Thread Ian Marshall
Hi Tom, I always call close() on an PersistenceManager instance once I have finished with it, be it using or not using a transaction. In my jdoconfig.xml, I use the setting so I can call PersistenceManager#close() with confidence that I am not mucking anything up. I cannot think of a reason