[appengine-java] Datastore in task

2010-03-30 Thread Timofey Koolin
Now i write import data into datastore and clean datastore. When I import data - i upload zip file to servlet, into servlet I unzip it and create some tasks for import data. First time, every task in first run can't access to datastore: 03-29 09:49AM 25.793 /ImportTask 500 10067ms 0cpu_ms 0kb

[appengine-java] Russian characters in SDK datastore viewer

2010-03-30 Thread Timofey Koolin
I can't read it. I can read it by API, I can see it into app engine server datastore viewer, but in local datastore viewer i see ???. -- 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: Error message after updating AppEngine in my project

2010-03-30 Thread Spanishgringo
Same problem for me as well. :( Back to 1.3.1 until someone can share a fix... On Mar 30, 12:28 am, julianc julian.coom...@googlemail.com wrote: Similar problem here. Upgraded to 1.3.2 error, switched back to 1.3.1 ... everything fine again. Mar 29, 2010 11:24:44 PM

[appengine-java] Re: Objectify - Twig - SimpleDS articles

2010-03-30 Thread Andreas Borglin
Hi again. I had a look at jiql. jiql is a JDBC wrapper for accessing Google DataStore on Google App Engine for JAVA. jiql supports the use of standard SQL as a method for accessing the DataStore Even if I had seen jiql earlier I wouldn't have considered it anyway because, 1. I want the API to

Re: [appengine-java] Objectify - Twig - SimpleDS articles

2010-03-30 Thread Yasuo Higa
Hi Andreas, slim3 is more than just a datastore framework) You can use Slim3 as just a datastore framework. Please see http://sites.google.com/site/slim3appengine/slim3-datastore/using-slim3-datastore. Thanks, Yasuo Higa -- You received this message because you are subscribed to the Google

[appengine-java] Re: AuthSub InvalidToken problem

2010-03-30 Thread nicanor.babula
That's all the code that deals with google services in my whole application. The exception is raised on the following instruction: [code] CalendarEventFeed resultFeed = calendarService.query(myQuery, CalendarEventFeed.class); [/code] What about the environment? You are saying that I might have

Re: [appengine-java] Objectify - Twig - SimpleDS articles

2010-03-30 Thread Nick Johnson (Google)
Hi Andreas, Excellent article! I've posted it to the App Engine reddit: http://www.reddit.com/r/AppEngine/comments/bk4kt/datastore_frameworks_the_interview/ Please feel free to post the followup article(s) there, too, to make sure they get a wide distribution! -Nick Johnson On Mon, Mar 29,

[appengine-java] Server Problem

2010-03-30 Thread Sowji
Hi, I faced a problem while i was deploying my application in Google app Engine.My problem is that, Unable to update app: Error posting to URL: http://appengine.google.com/api/appversion/create?app_id=lakshmisowjanyanakkalaversion=1 409 Conflict Another transaction by user sowji.apr10 is already

[appengine-java] Re: How to get IP address of Appengine running my java servlet page

2010-03-30 Thread Didier Durand
Hi Dave, A very straightforward solution: call getHardwareAddress() of java.net.NetworkInterface. NetworkInterface is part of the JRE class white list for GAEJ: http://code.google.com/appengine/docs/java/jrewhitelist.html This way, you get the MAC address of the network card of the machine.

Re: [appengine-java] Re: Objectify - Twig - SimpleDS articles

2010-03-30 Thread Sandeep Sathaye
Hi, You can try Cloud2db also. Please see the website http://www.cloud2db.com. This works with any JDBC client tools/frameworks like Squirrel, PowerArchitect, Hibernate in a client/server mode. This also works on Google App Engine server with native JDBC driver. Thanks, Sandeep. On Tue, Mar

[appengine-java] Re: Objectify - Twig - SimpleDS articles

2010-03-30 Thread Guillermo Schwarz
Andreas, I don't get it. You can use JDO and Hibernate with SQL. Given that jiql has a Hibernate config file, I guess using Hibernate with jiql would be so easy. What does GWT and JSP have to do with SQL anyway? Cheers, Guillermo. On 30 mar, 03:51, Andreas Borglin andreas.borg...@gmail.com

[appengine-java] Re: JIQL and SQL on appengine

2010-03-30 Thread Guillermo Schwarz
Jeff, I think you are confused. You can use Hibernate and JDO on top of SQL. Since both CloudDB and jiql provide a SQL interface to the datastore, you could use either JDO or Hibernate on top of either CloudDB or jiql and it should work flawlessly. Cheers, Guillermo. On 30 mar, 04:51, Jeff

Re: [appengine-java] JIQL and SQL on appengine

2010-03-30 Thread Sandeep Sathaye
Hi Jeff, You mentioned in your post about splitting your large requests into smaller requests and then collate the results. This is exactly how Cloud2db JDBC client driver works. For example if you have a large number of entities in your datastore which you want to process. You can just write a

Re: [appengine-java] Re: Why should app startup times be a problem.

2010-03-30 Thread Guillermo Schwarz
Well, both Baz and Shawn are correct. Shawn is correct from the economical point of view. Baz is correct from the techinical point of view (no sane user would wait 15 seconds for a page to appear, right?). The great thing is that both can be done at the same time. Warmed instances can be brought

[appengine-java] Detecting admin users

2010-03-30 Thread gemma
Hey chaps, Apologies if I've been looking in the wrong place in the docs for this. I'm trying to work out how one goes about detecting if a User is signed in as an application admin user; I've read a little about FederatedUsers, but I'm not sure that that's what I need. I'm writing an app that

[appengine-java] Re: Objectify - Twig - SimpleDS articles

2010-03-30 Thread Andreas Borglin
Ok, you seem to misunderstand me quite a bit here. I never said it can't be used. I just said that I don't want to. Other than for portability reasons, why would I want to pretend that the datastore is relational by using a framework that emulates this? My main requirement, which was formed

Re: [appengine-java] Re: Objectify - Twig - SimpleDS articles

2010-03-30 Thread Guillermo Schwarz
Sandeep, Please read Andreas article (link is in the first post of this thread): The interview article has now been published and can be found at http://borglin.net/gwt-project/?page_id=604 . It would be nice if the article included CloudDB too. Cheers, Guillermo. On Tue, Mar 30, 2010 at 9:17

[appengine-java] Re: Objectify - Twig - SimpleDS articles

2010-03-30 Thread Andreas Borglin
Thanks Nick :-). On Mar 30, 12:53 pm, Nick Johnson (Google) nick.john...@google.com wrote: Hi Andreas, Excellent article! I've posted it to the App Engine reddit:http://www.reddit.com/r/AppEngine/comments/bk4kt/datastore_frameworks... Please feel free to post the followup article(s) there,

Re: [appengine-java] Re: Why should app startup times be a problem.

2010-03-30 Thread Baz
Shawn, By the same token google could cut all their hardware in half and double page loads, check out this formula: NumberOfRequests / HardwareQuality = PageLoad Therefore, Google should power the entire GAE infrastructure with a netbook - yes each page would take 2.5 decades to load, but

Re: [appengine-java] Re: Objectify - Twig - SimpleDS articles

2010-03-30 Thread Guillermo Schwarz
Andreas, I think there is more misunderstanding again. SQL can be run on top of a file system (fseek, read, write) or on top of a persistent hashmap (datastore). If you create a SQL interface on top of any of those, then it is a relational database, not a fake but a real relational database.

[appengine-java] Re: Update to GAE/J 1.3.2 - Project in Eclipse broken

2010-03-30 Thread Joa
On Mar 29, 9:24 am, Jason Parekh jasonpar...@gmail.com wrote: Hi Moritz, Could you try the following: Thanks guys - I had to toy with this some more to find out to update GAE through Eclipse's plugin update mechanism. No downloading of the SDK and manually pointing to the new SDK 'round

[appengine-java] Wiki on GAE

2010-03-30 Thread moissinac
Hello I would like to run a wiki on GAE, something like Mediawiki. All wiki solution that I know are runing with a Mysql base in the background; so, there are not easily portable on GAE Do you know some wiki solution runing on GAE? -- You received this message because you are subscribed to the

Re: [appengine-java] Re: Objectify - Twig - SimpleDS articles

2010-03-30 Thread Sandeep Sathaye
Hi Guillermo, I agree with you completely. Here are my thoughts on the subject. Relational theory, SQL and JDBC are functional specifications and RDBMS vendors implement these specifications. Actually speaking data model has nothing to do with technology. A data model in software engineering is

[appengine-java] Re: createLoginURL - userservice takes me to custom google apps domain login page

2010-03-30 Thread niraj
I did not state my problem clearly above , it seems My problem is that the createLoginURL takes me to the custom google apps domain login instead of the standard Google Page. refer link http://www.hum11.com for the problem It takes me to the hum11 login page instead of On Mar 29, 9:30 pm,

[appengine-java] Re: Wiki on GAE

2010-03-30 Thread Didier Durand
Hi, Extensive listing of Java open source wikis at http://java-source.net/open-source/wiki-engines Let us know if 1 suits your needs and if you could test it successfully on Google App Engine Good luck! didier On Mar 30, 5:12 pm, moissinac jcmoissi...@gmail.com wrote: Hello I would like to

Re: [appengine-java] Re: createLoginURL - userservice takes me to custom google apps domain login page

2010-03-30 Thread Nicanor Babula
It does that because you set up your appengine applications to use your google app users only. On Tue, Mar 30, 2010 at 5:47 PM, niraj njun...@gmail.com wrote: I did not state my problem clearly above , it seems My problem is that the createLoginURL takes me to the custom google apps domain

[appengine-java] Re: Objectify - Twig - SimpleDS articles

2010-03-30 Thread Nacho Coloma
Hi Guillermo, If you create a SQL interface on top of any of those, then it is a relational database, not a fake but a real relational database. Why would I want a relational database? Consistency, for starters. ACID transactions. Set operations. 'Consistency' is a broad term. If you are

[appengine-java] Re: Objectify - Twig - SimpleDS articles

2010-03-30 Thread Andreas Borglin
These misunderstandings :-). I wouldn't say that computer science is about building abstractions..perhaps software engineering. (Dijkstra would have said less kind words than me about that :-) ) Anyways, as much as I agree that abstractions are nice, have you actually used AppEngine with these

[appengine-java] Re: Objectify - Twig - SimpleDS articles

2010-03-30 Thread Andreas Borglin
Oops. A bit tired here. I wrote SQL in some places where I actually meant jiql/cloud2db. On Mar 30, 5:58 pm, Andreas Borglin andreas.borg...@gmail.com wrote: These misunderstandings :-). I wouldn't say that computer science is about building abstractions..perhaps software engineering.

[appengine-java] Re: accessing datastore on development server

2010-03-30 Thread Guit
Hi Did you manage to fix it? I'm facing the same issue! On Mar 14, 6:18 pm, Steve Osborne algoc...@gmail.com wrote: My Development Console athttp://localhost:/_ah/admin/datastore shows that I have data uploaded but how do I access it using Java? I wasn't able to retrieve any record using

Re: [appengine-java] Objectify - Twig - SimpleDS articles

2010-03-30 Thread henklajd sadushi
I want to unsubscribe from this group.thanks and regards -- 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-j...@googlegroups.com. To unsubscribe from this group, send

[appengine-java] Re: accessing datastore on development server

2010-03-30 Thread Guit
Did you solve this issue? I have the same problem... On Mar 14, 6:18 pm, Steve Osborne algoc...@gmail.com wrote: My Development Console athttp://localhost:/_ah/admin/datastore shows that I have data uploaded but how do I access it using Java? I wasn't able to retrieve any record using the

[appengine-java] Getting JDOObjectNotFoundException when trying to retrieve Child Object

2010-03-30 Thread Emmanuel
Hi, I'm fairly new to JDO and App Engine and actually facing an odd problem. I'm trying to retrieve a child object with the method pm.getObjectById(Child.class, Id) but this method throws me a JDOObjectNotFoundException. I'm sure that the child object exists and in facts, when I retrieve the

[appengine-java] App Engine Beginner + JDO beginner... Strange issue with Query

2010-03-30 Thread Guit
Hi everybody, I am trying to build my application and i am facing a very strange issue : here is the code : PersistenceManager pm=PMF.get().getPersistenceManager(); Query query=pm.newQuery(Espace.class); //query.setFilter(nom == paramAuthor);

[appengine-java] Blogger Data API

2010-03-30 Thread Jeevan
hello am working on a project called Cloud-based teaching system.I want to make use of blogger data API. I am bit confused about google's client library. Am using Eclipse 3.5.In which path we have to configure or java client library. Please help me !!! -- You received this message because you

[appengine-java] How to register a custom ELResolver?

2010-03-30 Thread Davide Angelocola
Hello, I've the following class: public class WebAiatListener implements ServletContextListener { private static final Logger logger = Logger.getAnonymousLogger(); @Override public void contextInitialized(ServletContextEvent sce) { ServletContext context =

[appengine-java] Updating the Eclipse Plugin

2010-03-30 Thread Steve
Now that GAE 1.3.2 has been released I'd like to update my Eclipse plugin (indeed, when the GAE is started it warns me that a newer version is available). However, when I ask Eclipse to Check for Updates it reports nothing is available. There don't seem to be any update instructions, just

Re: [appengine-java] Re: Objectify - Twig - SimpleDS articles

2010-03-30 Thread Chau Huynh
First of all, please accept big thanks, Andreas. Those knowledge sharing is helpful to me as well as other learners. Follow the thread, I think I was a bit misled on benefit of SQL/JDBC on GAE. In Andreas blog's, he mentioned on learning curve to deal with the mapping: Java classess -- JDO/JPA -

Re: [appengine-java] Re: Why should app startup times be a problem.

2010-03-30 Thread Ikai L (Google)
We're still working through the details of reserved instances. The constructive feedback on this thread is useful; it is theoretically possible to pay for an unused instance that requests spill into when they go over capacity of the current spun up requests. That is - pay for one more instance

Re: [appengine-java] Re: Update to GAE/J 1.3.2 - Project in Eclipse broken

2010-03-30 Thread Jason Parekh
Hi Joa, Glad you were able to solve your problem. Sorry, I should have pointed you to the upgrade instructions to get you immediately going (BTW, they do exist, though they are located in the Google Plugin for Eclipse docs: http://code.google.com/eclipse/docs/updating_the_plugin.html ). Do you

Re: [appengine-java] Updating the Eclipse Plugin

2010-03-30 Thread Jason Parekh
Hey Steve, The instructions are located on the Google Plugin for Eclipse website, specifically at http://code.google.com/eclipse/docs/updating_the_plugin.html http://code.google.com/eclipse/docs/updating_the_plugin.htmlHope this helps, jason On Tue, Mar 30, 2010 at 1:41 PM, Steve

Re: [appengine-java] Re: Objectify - Twig - SimpleDS articles

2010-03-30 Thread Jeff Schnitzer
On Tue, Mar 30, 2010 at 8:03 AM, Guillermo Schwarz guillermo.schw...@gmail.com wrote: SQL can be run on top of a file system (fseek, read, write) or on top of a persistent hashmap (datastore). If you create a SQL interface on top of any of those, then it is a relational database, not a fake

[appengine-java] Parameter 0 of is of an unknown type 'java.lang.String/2004016611' - error when running through AppEngine+ GWT tutorial

2010-03-30 Thread vijay
hi, I am using GWT 2.0.3 version, I am going through the steps mentioned in GWT tutorial http://code.google.com/webtoolkit/doc/latest/tutorial/appengine.html When trying to integrate login service I get following exception. Mar 30, 2010 6:44:49 PM

Re: [appengine-java] Re: Why should app startup times be a problem.

2010-03-30 Thread Baz
Great information, Ikai. I really feel that instances should be completely avoided in concept and language on the GAE. What if the feature was simply an enable/disable deal called Warm Scale. If it were enabled, then your *next* instance would always be warm, regardless of how many instances you

Re: [appengine-java] Eclipse plugin + Maven integration problem

2010-03-30 Thread Hannu Leinonen
Check out my blog post: http://hamandeggs.wordpress.com/2010/01/26/how-to-gae-eclipse-maven/ It's for the old plugin version but still working with the new ones. I haven't yet had time to figure out how to utilize the WAR directory configuration. I hope you find this useful. -Hannu On

[appengine-java] Re: Objectify - Twig - SimpleDS articles

2010-03-30 Thread David Sowerby
Andreas, first thanks for the article, it was hugely interesting and of course thanks to all who have given us some alternatives to argue about! A few themes seem to come out of this for me 1) Some people are just either happier with what they know (SQL/ RDBMS) - perfectly understandable and

[appengine-java] Re: Why should app startup times be a problem.

2010-03-30 Thread David Chandler
In the mean time, here are some ideas for reducing startup times by shrinking our apps. I went from 8.1s to 2.5s mainly by eliminating Guice, and I would expect similar results with Spring. I can definitely live with 2.5s...

[appengine-java] Re: Spring 2.5 Transactions - anyone got this working?

2010-03-30 Thread Carl Ballantyne
Hi objectuser, Thanks for the links - very helpful. I have had a look and studied them. I am trying to get your example to work but am getting the error. org.springframework.transaction.CannotCreateTransactionException: Could not open JDO PersistenceManager for transaction; nested exception is

[appengine-java] Re: Spring 2.5 Transactions - anyone got this working?

2010-03-30 Thread Carl Ballantyne
Sorry as well at the moment I am only trying to get this to work on my local version of appengine (the SDK). I will look at the workaround posted at http://code.google.com/p/googleappengine/issues/detail?id=1381 once I have it all working. -- You received this message because you are subscribed

Re: [appengine-java] Re: Why should app startup times be a problem.

2010-03-30 Thread Ikai L (Google)
David, that post mirrors many of the points made here: http://www.answercow.com/2010/03/google-app-engine-cold-start-guide-for.html There's one or two more tips on that page. On Tue, Mar 30, 2010 at 12:47 PM, David Chandler turboman...@gmail.comwrote: In the mean time, here are some ideas for

Re: [appengine-java] Re: Objectify - Twig - SimpleDS articles

2010-03-30 Thread nicolas melendez
i switch from JDO to Objectify i one Day. i changed 42 classes (thats what my svn says), but the key to success the migration was the tests: 57 green tests before start + 1 factibility test for objectify in transaction. Now my code is clean y work faster, NM On Tue, Mar 30, 2010 at 4:38 PM,

[appengine-java] Re: Why should app startup times be a problem.

2010-03-30 Thread Sarath
This is getting really interesting. I have been follwoing this post from a couple of days. I managed to see What exactly is ammounting to delayed startup. Some have suggested to remove spring/di/jpa/jdo. While this is true, it solves much of the problem - These are the reason why I would choose

Re: [appengine-java] Re: Error message after updating AppEngine in my project

2010-03-30 Thread Ikai L (Google)
I must have read this email wrong. I thought this was affecting deploys. I see this error, but it isn't causing any problems - I'm still able to run my application. Can you explain how this blocks you from developing with 1.3.2? On Tue, Mar 30, 2010 at 10:31 AM, Ikai L (Google) ika...@google.com

Re: [appengine-java] Russian characters in SDK datastore viewer

2010-03-30 Thread Ikai L (Google)
Are you using Java or Python? Can you check to see if you are using 1.3.2? http://code.google.com/p/googleappengine/issues/detail?id=502 I've reproduced this using the Java SDK, but I want to check to see if it's also problematic in Python. On Mon, Mar 29, 2010 at 11:57 PM, Timofey Koolin

Re: [appengine-java] JIQL and SQL on appengine

2010-03-30 Thread Jeff Schnitzer
Guillermo, Sandeep - you guys are both missing my point. You're not giving me a SQL interface to my GAE datastore data. You're trying to turn the GAE datastore into an RDBMS. There is a crucial distinction. I don't want to try to run Hibernate against GAE. I don't want a fat layer of very

[appengine-java] Re: App Engine SDK 1.3.2 is out!

2010-03-30 Thread Ikai Lan
I've reproduced the off-by-one error. Thanks for bringing this up. On Mar 27, 8:32 am, jacek.ambroziak jacek.ambroz...@gmail.com wrote: fetchData is very useful. At the moment its implementation seems to suffer from an off-by-one bug. For instance, fetchData(key, 0, 1024) returns an array of

[appengine-java] Re: App Engine Beginner + JDO beginner... Strange issue with Query

2010-03-30 Thread Guit
Anybody ? Someone look at my class and say to me ot should work but it doesn t and i habe still no ide why ... Please :) On 30 mar, 00:09, Guit lemoin...@gmail.com wrote: Hi everybody, I am trying to build my application and i am facing a very strange issue : here is the code :

[appengine-java] Re: Error message after updating AppEngine in my project

2010-03-30 Thread Geo
Thanks Ikai, for looking into the root cause. I am confronting this issue, and I am relatively new to the GAE Eclipse plugin. One of the post before said that they were able to solve the issue by switching back to 1.3.1, since I got this update using the eclipse software manager, how do I

Re: [appengine-java] Re: Error message after updating AppEngine in my project

2010-03-30 Thread Ikai L (Google)
Geo, what is the issue? Does it actually break anything? We'll investigate on our part, but if it doesn't actually prevent you from writing code there's absolutely no reason to downgrade. On Tue, Mar 30, 2010 at 2:19 PM, Geo gaki...@gmail.com wrote: Thanks Ikai, for looking into the root cause.

[appengine-java] Re: Error message after updating AppEngine in my project

2010-03-30 Thread Rahul
Ikai, It doesn't break anything and neither does it stops from deploying but it just looks ugly and we might miss the real error if any during the deployment. Thanks, Rahul On Mar 30, 8:43 pm, Ikai L (Google) ika...@google.com wrote: Geo, what is the issue? Does it actually break anything?

Re: [appengine-java] Re: Objectify - Twig - SimpleDS articles

2010-03-30 Thread John Patterson
On 31 Mar 2010, at 02:38, David Sowerby wrote: Now all I have to do is decide which of the alternatives to go for . Twig has the prettiest representative... however she has a very negative attitude towards traditional persistence interfaces on the datastore:

[appengine-java] Errors after updating to 1.3.2

2010-03-30 Thread Featheast Lee
I have updated my app engine to 1.3.2 a couple of days ago, and it runs well on the cloud. Today, when I trying to some testing on my local machine, an exception throws out whenever I try to use the PMF code: PersistenceManager pm = PMF.get().getPersistenceManager(); Basically the

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

2010-03-30 Thread John Patterson
Looks like you have a class path problem. Do you have different versions of the app engine jars in your WEB-INF/lib dir? On 31 Mar 2010, at 09:18, Featheast Lee wrote: I have updated my app engine to 1.3.2 a couple of days ago, and it runs well on the cloud. Today, when I trying to some

[appengine-java] Re: Russian characters in SDK datastore viewer

2010-03-30 Thread Timofey Koolin
I'm use Java SDK 1.3.2 On 31 мар, 01:55, Ikai L (Google) ika...@google.com wrote: Are you using Java or Python? Can you check to see if you are using 1.3.2? http://code.google.com/p/googleappengine/issues/detail?id=502 I've reproduced this using the Java SDK, but I want to check to see if

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

2010-03-30 Thread Featheast Lee
I tried to do what you mentioned here, but seems no lucky. On Mar 31, 1:21 pm, John Patterson jdpatter...@gmail.com wrote: Looks like you have a class path problem.  Do you have different   versions of the app engine jars in your WEB-INF/lib dir? On 31 Mar 2010, at 09:18, Featheast Lee wrote:

[appengine-java] Re: Workaround for Spring transactions throw GenericSignatureFormatError

2010-03-30 Thread Thomas
Hi kevin: Yes, my workaround is just a proxy which route every pmf requests back to the original instance return by JDOHelper.getPersistenceManagerFactory. I used jdo transaction manager and aop and it worked on gae host after applying the workaround. My spring version is 2.0.8 but I