[appengine-java] old tutorials still available?

2011-05-13 Thread Fredrik Bökman
In the recent update of the Getting Started pages, the material on how to use the datastore with JDO (step-by-step) disappeared. The page http://code.google.com/appengine/docs/java/gettingstarted/usingdatastore.html changed to using the native api with entites. Is the old getting started

[appengine-java] This application does not exist (app_id=u'application-id').

2011-05-13 Thread horid121
Hello~ When I deploy to Google App Engine, I received a error message. Error message: java.io.IOException: Error posting to URL: https://appengine.google.com/api/appversion/create?app_id=vph-eprversion=6; 404 Not Found This application does not exist (app_id=u'vph-epr'). *But*, it's

[appengine-java] Vs: This application does not exist (app_id=u'application-id').

2011-05-13 Thread Juha K
java.io.IOException: Error posting to URL: https://appengine.google.com/api/appversion/create?app_id=vph-epr version=6 *But*, it's exist now. http://vph-erp.appspot.com -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To

[appengine-java] Unable to upload a New version of a Document in Google Documents - using java api

2011-05-13 Thread actiprocess actiprocess
Can we upload a new Version of Document to Google docs using the Java-GDocs-API?, If we use Following code the document content is getting replaced with new content. but old version of the document is vanished. We are creating the document using the following code.

[appengine-java] Re: After upgrade to GAE SDK 1.5.0 - Cache is not working

2011-05-13 Thread Pavel Kaplin
Same issue, will try workaround with jar from previous sdk On May 12, 6:47 pm, DanielP daniel.pasca...@gmail.com wrote: I have the same issue: Eclipse cannot find: com.google.appengine.api.memcache.jsr107cache.GCacheFactory .. and if I change it to

[appengine-java] Object visibility between threads (running requests)

2011-05-13 Thread Samuel Erdtman
Hi I have created an application that works fin in the eclipse app engine development environment but when I deploy it live I get some problems. My application depends on two request coming in simultaneously from two different browsers, both requests (threads) gets a map from servlet context

[appengine-java] Re: old tutorials still available?

2011-05-13 Thread Brandon Donnelson
Its under JDO: http://code.google.com/appengine/docs/java/datastore/jdo/queries.html Brandon Donnelson http://gwt-examples.googlecode.com -- 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

[appengine-java] Re: After upgrade to GAE SDK 1.5.0 - Cache is not working

2011-05-13 Thread david basoko
Hi, I solved this issue changing the imports to javax.cache package. On 12 mayo, 01:03, luka uluk...@gmail.com wrote: I have found a workaround until a new zip will be released. I have taken the appengine-jsr107cache-1.4.3.jar from a former SDK installation renamed it to

Re: [appengine-java] Re: Backends.xml ERROR when deploying

2011-05-13 Thread kwanja9999
Sent via BlackBerry® from True Move -Original Message- From: JakeP jake.pier...@gmail.com Sender: google-appengine-java@googlegroups.com Date: Thu, 12 May 2011 16:17:56 To: Google App Engine for Javagoogle-appengine-java@googlegroups.com Reply-To: google-appengine-java@googlegroups.com

[appengine-java] Google Web App Set Up Info

2011-05-13 Thread Md Aslam
i have downloaded, eclipse-java-helios-SR2-win32, GWT 2.3.0, appengine-java-sdk-1.5.0. Google app Engine 1.5.0 Latest Version On My Pc and already installed jdk-6u23-windows-i586 on pc. Please Tell Me Where Put GWT 2.3.0, and appengine-java-sdk-1.5.0. I am Already Put eclipse On C:/ecipse Folder.

[appengine-java] Enhancement Request - AppEngine Deploy Rollback

2011-05-13 Thread NitrousDigital
I was recently deploying to AppEngine using the Google Plugin for Eclipse when my internet connection died. When my connection was restored, I tried to re-deploy my app and the deployment failed with a message stating something like Someone else is deploying. Rollback using the command-line python

[appengine-java] Re: Help with local testing of Task Queue

2011-05-13 Thread nils.samuels...@gmail.com
Hi Amar, No sure, maybe you did find the solution already yourself. I think you get a 405 because your servlet (?) only supports GET request. At least that was the problem I had. In my case the solution was by simply setting the method to GET when scheduling a new task:

[appengine-java] Re: Backends.xml ERROR when deploying

2011-05-13 Thread RLdev
I get the same Error... -- 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 from this group, send email to

Re: [appengine-java] Should JDO use be synchronized in threadsafe=true application?

2011-05-13 Thread Ikai Lan (Google)
Do you just have a single global instance of persistence manager, or do you use the factory method? Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine On Thu, May 12,

Vs: Re: [appengine-java] Should JDO use be synchronized in threadsafe=true application?

2011-05-13 Thread Juha K
No, but I have single global instance of PersistenceManagerFactory, and from it I call getPersistenceManager() every time I need it. perjantaina 13. toukokuuta 2011 18.07.22 UTC+3 Ikai L (Google) kirjoitti: Do you just have a single global instance of persistence manager, or do you use the

[appengine-java] Re: old tutorials still available?

2011-05-13 Thread Fredrik Bökman
Yes, there is a more detailed explanation of JDO under Java/Storing Data. But it does not deal with the Guestbook example, which is a very nice little step-by-step introduction for beginners. OK, I can use cache: to get the old version, but I had hoped that there was a more official old

[appengine-java] Setting Namespace for an entire Request

2011-05-13 Thread mpire
Hi! I'm trying to use the Namespace-API to build a multi-tenant app. Therefore i have defined a filter that sets the Namespace for each request regarding to the User making the request. However, if there's a new Request before the current request finishes its datastore-operation, the namespace

Re: [appengine-java] This application does not exist (app_id=u'application-id').

2011-05-13 Thread Stephen Johnson
Uh...check your spelling. You've got vph-epr and vph-erp On Fri, May 13, 2011 at 1:23 AM, horid121 horid...@netkiller.com wrote: Hello~ When I deploy to Google App Engine, I received a error message. Error message: java.io.IOException: Error posting to URL:

Re: [appengine-java] Vs: This application does not exist (app_id=u'application-id').

2011-05-13 Thread Stephen Johnson
Uh...check your spelling. You've got vph-epr and vph-erp On Fri, May 13, 2011 at 1:55 AM, Juha K juha.kosk...@gmail.com wrote: java.io.IOException: Error posting to URL: https://appengine.google.com/api/appversion/create?app_id=vph-epr version=6 *But*, it's exist now.

Re: [appengine-java] Object visibility between threads (running requests)

2011-05-13 Thread Stephen Johnson
There's no guarantee that both those threads are running on the same instance. They can be on two different machines in two different data centers. On Fri, May 13, 2011 at 5:22 AM, Samuel Erdtman sam...@erdtman.se wrote: Hi I have created an application that works fin in the eclipse app engine

[appengine-java] DeadlineExceededException and instance restart

2011-05-13 Thread Francois Masurel
Why do DeadlineExceededException always cause an instance restart even if properly catched ? My instances are quite slow to start since 1.5.0 and I get a lot of errors 500 then. Thanx for your help. François -- You received this message because you are subscribed to the Google Groups

[appengine-java] App engine connected android project

2011-05-13 Thread Patrick Jackson
Having issue with sample project. Android appears to work fine and registers with the server and the c2dm server, however I cannot send a message. I get the following result in my server log: /gwtRequest 200 214ms 229cpu_ms 135api_cpu_ms 0kb Apache-HttpClient/UNAVAILABLE (java 1.4),gzip(gfe)

[appengine-java] Re: Backends.xml ERROR when deploying

2011-05-13 Thread JakeP
update: backends.xml deploys just fine now, but nothing is listed under Backends in the Admin console. Do I need to create a backend instance in code for a backend to show up in the admin? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java

Re: [appengine-java] Re: Backends.xml ERROR when deploying

2011-05-13 Thread JT
Sorry but I am a bit in the 80s here, what exactly is back ends? Isnt it all servlets can be backends too? :( Tia On May 13, 2011 1:14 PM, JakeP jake.pier...@gmail.com wrote: update: backends.xml deploys just fine now, but nothing is listed under Backends in the Admin console. Do I need to

[appengine-java] Re: old tutorials still available?

2011-05-13 Thread Brandon Donnelson
Yeah, I can see your point. I've begun to like the datastore query class better for queries, but for putting it into object form JDO query class seems to be easier. Although, the datastore query class seems a bit more flexible and easier to query with filters and sort. I think JDO's design is

Re: [appengine-java] Object visibility between threads (running requests)

2011-05-13 Thread Samuel Erdtman
That is true, I just want to know that it is by design and not because I have missed to do something. And the thing is that i can see the objects and that there is difference in visibility after the first thread returns. does this mean that objects are synchronized between data centers between

Re: [appengine-java] Re: Backends.xml ERROR when deploying

2011-05-13 Thread Don Schwarz
Backends are definitely ready for Java, but it seems that there are some mistakes in the documentation. We'll get those fixed right away. The correct link to the backends API javadoc is: http://code.google.com/appengine/docs/java/com/google/api/backends/package-summary.html And the sample

Re: [appengine-java] Re: After upgrade to GAE SDK 1.5.0 - Cache is not working

2011-05-13 Thread Don Schwarz
Sorry about this, folks. We'll get a new SDK built that includes the right appengine-jsr107cache.jar file. In the mean time you can use javax.cache or a previous version of appengine-jsr107cache.jar (there were no changes to it in 1.5.0), but I would strongly encourage everyone to move from

Re: [appengine-java] Re: Backends.xml ERROR when deploying

2011-05-13 Thread jem...@gmail.com
Thanks don. Sounds like sun's entity bean for me :) - Reply message - From: Don Schwarz schwa...@google.com Date: Fri, May 13, 2011 1:39 pm Subject: [appengine-java] Re: Backends.xml ERROR when deploying To: google-appengine-java@googlegroups.com -- You received this message because you

[appengine-java] Re: Backends.xml ERROR when deploying

2011-05-13 Thread JakeP
Thanks Don. For some reason, I still get a 404 on that javadoc link. -- 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 from this group, send

[appengine-java] Re: Getting class cast exception in BackendServersFilter after 1.5 sdk update

2011-05-13 Thread Nischal
GAE team, need your help here. -- 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 from this group, send email to

[appengine-java] Re: Vs: This application does not exist (app_id=u'application-id').

2011-05-13 Thread horid121
Thank you, Stephen Johnson. but It's just mistyped.. --Error Log-- Creating staging directory Scanning for jsp files. Compiling jsp files. Scanning files on local disk. Scanned 250 files. Initiating update. java.io.IOException: Error posting to URL:

[appengine-java] Re: overcome onetomany limitation of 5000

2011-05-13 Thread Nichole
You might want to consider denormalizing that table by one field? That is, create a new entity holding a foreign key relation and the field of interest, and create an index for that query equality. Reads are fast, and updates are slower so creating new entities for that data rather than updating

[appengine-java] [ANN] Gaelyk 0.7 released

2011-05-13 Thread Guillaume Laforge
Hi all, I'm happy to announce the *release of Gaelyk 0.7http://gaelyk.appspot.com/ *, the *lightweight toolkit for developing apps in Groovy for Google App Engine*! This release bridges the gap with the latest releases of the Google App Engine SDK, bringing its support for SDK 1.5.0, and also

[appengine-java] Re: Google Web App Set Up Info

2011-05-13 Thread Brandon Donnelson
1. Are you able to startup eclipse. (java will need installed) 2. Once you install eclipse, what I do is get the update site for installed a. http://code.google.com/eclipse/docs/getting_started.html - http://dl.google.com/eclipse/plugin/3.6 b. Goto Eclipse Help Install New Software that

[appengine-java] Re: overcome onetomany limitation of 5000

2011-05-13 Thread Brandon Donnelson
I would try another JDO class or Entity to store your friends instead of a list. I like to use unowned relationships my self. Brandon Donnelson http://gwt-examples.googlecode.com -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To

[appengine-java] questions about backends with Cron and Task Queues

2011-05-13 Thread JakeP
I'm very excited to start using backends with my GAE project. Because of the past 30sec restrictions, I heavily divided up the big processing tasks I was doing (refreshing RSS and ATOM feeds) into a lot of tasks that I put into task queues. These refresh jobs are all started with a few Cron jobs.

[appengine-java] Re: Backends.xml ERROR when deploying

2011-05-13 Thread JakeP
I finally got my backend instance to start up by deploying it via appcfg.sh backends update it seems that this is the only way to create a backend instance -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group,

[appengine-java] Adding the Ability to Set a Beta or Other Version of an Application To A Domain

2011-05-13 Thread James M
At Google IO, one of the members of the audience asked if the App Engine team was considering adding the ability to map a subdomain to a specific version in an App Engine App, other than the default version. Currently, you can map a domain only to the default version. However, it would be nice to

[appengine-java] Re: Google Web App Set Up Info

2011-05-13 Thread Brandon Donnelson
I forgot, this is a good time to test deploying an app to GAE too. If you get a successful run of the example app, I deploy for testing the simplest working app. bd -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this

Re: [appengine-java] Adding the Ability to Set a Beta or Other Version of an Application To A Domain

2011-05-13 Thread Jeff Schnitzer
This is particularly important for Facebook applications because FB Connect is tied to a specific domain name. It's impossible to test an application (which has a custom domain) against xxx.appspot.com, so it's pretty much impossible to beta test code in vivo. Here's a related bug to star:

[appengine-java] Re: Help with local testing of Task Queue

2011-05-13 Thread Didier Durand
Hi, Did you follow the guidelines of http://code.google.com/appengine/docs/java/tools/localunittesting.html ? regards didier On Apr 25, 11:13 pm, Amar Z amarzumkhaw...@gmail.com wrote: Hi, I am developing a new application and need help utilizing task queues. Here is the problem: when I

[appengine-java] UserService.getCurrentUser() returning null sometimes

2011-05-13 Thread Aswath Satrasala
Hi, I have a GWT application. For every RPC made, I do UserService.getCurrentUser() on the server, and then go ahead with the business logic. Sometimes, this call is returning null. Under what circumstances it might return null? This is really causing intermittent errors for my customers.