[appengine-java] Re: Upgrade issue with Google SDK 1.2.5

2009-09-07 Thread Sekhar
Had the same problem, just remapping the SDK fixed it. This is under WIndow-Preferences-Google-App Engine. On Sep 6, 8:35 am, James H james.hollier...@gmail.com wrote: I used the Eclipse Soft Updates menu on Sep 4th to apply SDK 1.2.5 after noticing Red errors in the local runtime log telling

[appengine-java] Re: To specify Key or use auto generation

2009-09-07 Thread Sam Walker
In 1, another problem is that I may not know the Keys of A and B at the point of creation. For example, lets say I am doing something like this: class Person { } class Group { @Persistent(mappedBy = group) ArrayListMembership memberships; } class Membership { Key person; Group group; }

[appengine-java] Re: I met an very strange thing when i try to persist entity and use jcache

2009-09-07 Thread datanucleus
And what state are the objects in when you put them in the cache ? and when you get them out ? JDOHelper.getObjectState(obj) tells you. This is the role of a JDO L2 Cache as per http://www.datanucleus.org/products/accessplatform_1_1/jdo/cache.html and you could easily use the javax.cache

[appengine-java] Storing JDO extent in session - not serializable

2009-09-07 Thread niraj
My need is to implement database rowset paging behaviour. i.e I want to create an Extent when session created and then on page request browse the dataset from the last point. The problem: JDOExtent is not serializable and hence the code below throws an extent. Please suggest an alternative

[appengine-java] Re: Storing JDO extent in session - not serializable

2009-09-07 Thread datanucleus
Why should a javax.jdo.Extent be Serializable ? JDO doesn't define it to be so. Shouldn't be hard to put the objects of the Extent into a List ... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine for

[appengine-java] Re: I met an very strange thing when i try to persist entity and use jcache

2009-09-07 Thread datanucleus
Or JPA L2 Cache also for that matter. Same applies --~--~-~--~~~---~--~~ 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

[appengine-java] app engine stored data quota / datastore api / daily quota

2009-09-07 Thread Raphael André Bauer
hi everybody, to make it short: is the quota (Stored Data (billable)) of the datastore api a daily quota? so theoretically i could store 1gig of stuff each day? i am wondering - because my application uses around 100mb for 2 weeks each day - and i do not store anything new - what is at least

[appengine-java] JDO transaction does not start datastore's transaction.

2009-09-07 Thread wada3
Hi, here is introducing my JDO problem. Is it issue of datanucleus or me? Should I separate codes with txn when getting something from datastore with same PM? Thanks. --- ・What steps will reproduce the problem? 1.get PersistenceManager as pm. 2.invoke pm.getObjectById or iterate some query

[appengine-java] Re: Master/Detail relations and redundant data handling

2009-09-07 Thread leszek
I'm not sure if your taking of the problem is correct. To my mind it runs: You have Company and Employee. Company has many Employees and Employee is working for one company. Normalized version looks like: class Company { @Persistent private String companyName; @Persistent private String

[appengine-java] Re: Upgrade issue with Google SDK 1.2.5

2009-09-07 Thread James H
Actually, Google does NOT display as an option under Window- Preferences currently! Its like the plugin does NOT exist at all, yet the plugin is physically there under Eclipse/plugins. I noticed alot of these errors in the Eclipse log: !ENTRY org.eclipse.debug.core 4 5020 2009-09-06

[appengine-java] Re: Master/Detail relations and redundant data handling

2009-09-07 Thread James H
Right, denormalization is promoted by the Max Ross video as in your 2nd case so from a software design perspective can the copy fields in Employee be contained in their own class and referenced from Employee in a fashion that allows JDO to still work such as: class CompanyFK { // copy of

[appengine-java] Tasks Rate and Bucket Size

2009-09-07 Thread Matt Farnell
Hi there, Can me mentally challenged or maybe its just monday but I'm having a hard time figuring out what the Bucket Size is and how/if its related to the rate for tasks. I've read the documentation here, http://code.google.com/appengine/docs/java/config/queue.html and the wiki article on token

[appengine-java] Can anybody tell me how to generate a WSDL

2009-09-07 Thread shradha
hi, Can anybody tell me how to deploy a soap based web service on Google App Engine. How to generate a WSDL. How does the app engine development server will recognise that a web service is being deployed. Please tell me some steps --~--~-~--~~~---~--~~ You

[appengine-java] Eclipse 3.3 plugin missing from update site

2009-09-07 Thread Anne van der Bom
When I try to install the Eclipse 3.3 plugin from update site http://dl.google.com/eclipse/plugin/3.3 I only see 2 features: Google App Engine Java SDK 1.2.5 and Google Web Toolkit SDK. There is supposed to be a 3rd feature: Google plugin for Eclipse. I checked the 3.4 update site, and that one

[appengine-java] Eclipse 3.3 plugin missing from update site

2009-09-07 Thread Anne van der Bom
When I try to install the Eclipse 3.3 plugin from update site http://dl.google.com/eclipse/plugin/3.3 I only see 2 features: Google App Engine Java SDK 1.2.5 and Google Web Toolkit SDK. There is supposed to be a 3rd feature: Google plugin for Eclipse. I checked the 3.4 update site, and that one

[appengine-java] Re: Eclipse 3.3 plugin missing from update site

2009-09-07 Thread James H
Can you check to see if you had similar issues as I had - search for Upgrade issue with Google SDK 1.2.5 Options? I didn't realize the site was missing anything, but obviously noticed the SDK could NOT activate in my Eclipse 3.3. I may just load the latest Eclipse and be done with it, unless we

[appengine-java] Re: Eclipse 3.3 plugin missing from update site

2009-09-07 Thread Anne van der Bom
James, My situation is a bit different from yours. I did not upgrade. I installed the GWT SDK and Eclipse Plugin a week ago. Then ran into some problems and tried to uninstall the Google GWT features (all 3) to see if that would change the situation. When I tried to re-install them today, I

[appengine-java] Re: support for task queues in development environment?

2009-09-07 Thread Vince Bonfanti
Perfect! At least for initial debugging, that's actually better than having the tasks execute automatically--it makes it easier to see what's going on with multiple tasks being queued. Thanks. On Sun, Sep 6, 2009 at 7:05 PM, Max Rossmaxr+appeng...@google.com wrote: Hi Vince, In order to get

[appengine-java] Persistence problem of an entity with two List of the same type

2009-09-07 Thread elDoudou
Hello. Maybe, I'm missing something obvious in the documentation, but I can't figure out why I cannot properly persist an entity which has two list- fields of the same type properly. I have the following persisted class: @PersistenceCapable(identityType = IdentityType.APPLICATION) public

[appengine-java] Re: Are 1.2.2 sdk jars available in a public maven repository?

2009-09-07 Thread Mark Tye
Don't be ridiculous, of course Google provides a Maven repository. It's right here: http://code.google.com/p/google-maven-repository/ The problem is, that repo hasn't been updated since version 1.2.1. There's been two releases since then. I filed an issue on this a month ago, it's got 6 stars,

[appengine-java] Simplest web framework + ORM for GAE/J?

2009-09-07 Thread Chris
What's the simplest web framework + ORM combination that works well on GAE/J? --~--~-~--~~~---~--~~ 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: Simplest web framework + ORM for GAE/J?

2009-09-07 Thread datanucleus
What's the simplest web framework + ORM combination that works well on GAE/J? Why do you want an ORM exactly ? Object - Relational Mapping ? The datastore is BigTable. It isn't an RDBMS. GAE/J comes with JDO/JPA implementations for persistence to that datastore. --Andy (DataNucleus)

[appengine-java] JDO Sequences in AppEngine

2009-09-07 Thread Erem
Hey guys, I wanted to use a JDO persistence-backed Sequence to provide monotonically increasing visitor #'s in my webapp. A static variable doesn't cut it because I want the number to survive redeployments, upgrades, etc. I didn't see any info on Sequence in the wiki Using JDO section so I did

[appengine-java] testing persistence with one to many relashionship

2009-09-07 Thread arussel
Hi all, I am trying to test persistence, with: class Foo implements Serializable { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Key key; } When I call makePersistent on an instance, the key value is created as expected. If I add a

[appengine-java] Spring configuration for static method injection - JDO

2009-09-07 Thread Loïc Talbot
Hi all, I have some troubles running spring on GAE for a particular configuration. When I run this config on my local machine I have logs in the console that indicate that it works. When I deploy it on GAE I have a null pointer exception because PersistenceManagerFactory is null which is not the

[appengine-java] Re: Struts 2 on App Engine

2009-09-07 Thread whyjava
To get started on using struts 2 on google app engine please refer to a href=http://whyjava.wordpress.com/2009/08/30/creating-struts2- application-on-google-app-engine-gae/Struts2 on GAE/a On Aug 18, 11:20 pm, Jason (Google) apija...@google.com wrote: Hi dolsen. The only Struts2 issue I've seen

[appengine-java] Re: app engine stored data quota / datastore api / daily quota

2009-09-07 Thread Raphael André Bauer
On Mon, Sep 7, 2009 at 10:50 AM, Raphael André Bauerraphael.andre.ba...@gmail.com wrote: hi everybody, to make it short: is the quota (Stored Data (billable)) of the datastore api a daily quota? so theoretically i could store 1gig of stuff each day? i am wondering - because my

[appengine-java] Re: debugging exceptions

2009-09-07 Thread Sena
Are you running any other severs on the same port? Tomcat, JBoss, any other app server that may be defaulting to 8080? S On Sep 5, 12:43 pm, mahesh nimmala.anukar...@gmail.com wrote: hi,      i am new to work with goggleappengine with java.i had downloaded thsoftwares as follows.      java

[appengine-java] Re: how to query to implement auto suggest query...

2009-09-07 Thread mar_novice
By the way, i am using JDO. On Sep 8, 9:13 am, mar_novice mariocape1...@gmail.com wrote: Thanks for the tip Jason but i am looking for the app engine version of the mysql query like function just like below SELECT distinct(title) as suggest FROM page WHERE title like(' .                

[appengine-java] Re: how to query to implement auto suggest query...

2009-09-07 Thread mar_novice
Thanks for the tip Jason. On Sep 5, 7:06 am, Jason (Google) apija...@google.com wrote: By they shouldn't be too hard to find, I meant that any examples you find shouldn't be too hard to tailor for App Engine, even if they are RDBMS-based. - Jason On Fri, Sep 4, 2009 at 4:06 PM, Jason

[appengine-java] Re: how to query to implement auto suggest query...

2009-09-07 Thread mar_novice
Thanks for the tip Jason but i am looking for the app engine version of the mysql query like function just like below SELECT distinct(title) as suggest FROM page WHERE title like(' . $search . %') ORDER BY title Sorry, I didn't ask more specific from my previous post. On

[appengine-java] Tasks not executed

2009-09-07 Thread hansamann
Hi all, I am just trying out the new Task Queue API for Java (many thanks) and the insertion of tasks into a queue seems to work fine, but I cannot see them being exectuted :-) Maybe I am not understanding a trivial thing here... This is the queue.xml: ?xml version=1.0 encoding=UTF-8?

[appengine-java] Re: XMPP Error

2009-09-07 Thread spuddy
I've been getting the same error, on what seems like the first request since JVM-start/app-deployment. It doesn't seem fatal, but does use some CPU time (1000-7000 cpu_ms, where a typical request takes 100-200 cpu_ms), which is probably just because the jvm/deployment is starting up. On Sep 7,

[google-appengine] Re: Using Twitter4j in AppEngine

2009-09-07 Thread Stream
Hi Alessandro, I think something else is tied between the session and the url you are using. For my specific problem I need to make sure my requesting url (before having the user click on the link) matches the callback url for the on successful authentication. If you are programming with app

[google-appengine] Re: GQL IN operator limitation

2009-09-07 Thread igor
Hi Nick, Thank you for your answer. My first topic has typo error: should be I would like to do select * from TABLE1 where FIELD in (key('TABLE2', VALUE1), key('TABLE2', VALUE2)) instead of I would like to do select * from TABLE1 where FIELD in (key('TABLE1', VALUE1), key('TABLE1', VALUE2)) I

[google-appengine] Re: how to test xmpp handlers?

2009-09-07 Thread Nick Johnson (Google)
Hi Gijsbert, You can send messages to your app by going to http://localhost:8080/_ah/admin/ and using the form there. Outgoing messages are logged to the console. -Nick Johnson On Mon, Sep 7, 2009 at 3:02 AM, Gijsbert gijsbert.de.h...@gmail.com wrote: Hi, I would like to try out the new xmpp

[google-appengine] Re: Index appears as Serving but query return DatastoreNeedIndexException

2009-09-07 Thread Nick Johnson (Google)
Hi Cornel, What are the queries you are trying to execute against the index, and what is the full text of the exception you get? -Nick Johnson On Sun, Sep 6, 2009 at 10:41 PM, Cornel corneliu.lupu...@gmail.com wrote: Hello! My application id is cosinux68. I've uploaded the following index

[google-appengine] Re: Infinite redirects when logging in to the AppEngine Website?

2009-09-07 Thread Nick Johnson (Google)
Hi Jorg, You need to log in at http://appengine.google.com/a/joergbattermann.com/ -Nick Johnson On Sun, Sep 6, 2009 at 2:02 PM, Jörg Battermann j...@joergbattermann.comwrote: Good afternoon, I've been trying for a couple days now, but it's always the same: when I go to

[google-appengine] Re: Index appears as Serving but query return DatastoreNeedIndexException

2009-09-07 Thread Corneliu Paul Lupulet
Hello! Thank you for your answers :) This is the JDO query that gets executed: SELECT FROM biz.ebas.entities.server.DbCustomer WHERE version == arg0 PARAMETERS String arg0 ORDER BY encodedKey ascending RANGE 0,26 And this is the exception i get: javax.servlet.ServletContext log: Exception

[google-appengine] Re: Dramatic increase in api cpu usage.

2009-09-07 Thread herbie
It has been a few days now and I'm still experiencing much higher api cpu usage when aadding entities to the datastore than I did before the 1.2.5 release. So I assume this is not just an accounting error by Google and I’m at a loss to know what to do. I would really appreciate if someone at

[google-appengine] Re: Does GAE support indian based payment gateways

2009-09-07 Thread NealWalters
It's my understanding that GAE doesn't support any gateways. It supports URLFetch to communicate with external sites. So if you can communicate with that provider via URLFetch, then you are good to go, but you will of course have to write the code yourself (or find a library for it). Neal

[google-appengine] Re: Dramatic increase in api cpu usage.

2009-09-07 Thread Stephen
On Sep 4, 9:52 pm, herbie 4whi...@o2.co.uk wrote: I'm still getting logs reporting api_cpu_ms values x3 than they were before. (The response time for the request is still 'quick' - aprox 800ms as before). What about cpu_ms, is that also higher for requests which write to the data store?

[google-appengine] Re: task queue questions

2009-09-07 Thread GAEfan
Thanks, Kenneth. That was exactly the syntax I was looking for. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com To

[google-appengine] Unable to Mail.send() - Timeout errors

2009-09-07 Thread danb
Hi, At the moment I am experiencing Mail.send() Timeouts (after 5 second delay while sending e-mail) on Python API. It never took so long for my app and I never seen this before today. Perhaps it is a temporary failure worth investigating: # 09-04 03:27PM 45.328 sending mail to

[google-appengine] Re: Sharing an app between different Google apps domains

2009-09-07 Thread tyoc
Im interested in know when people would be able to use their hosted mails in google like an equivalent for a google account, for example to join reader... or enter different appspot apps. So like I see, if I do an application it will be a shared resource, I mean, that is the way that for example

[google-appengine] How to point domain name to an app (no subdomain)

2009-09-07 Thread tyoc
I mean, in http://appgallery.appspot.com/ you can see some apps are under a subdomain of appspot.com while others have a normal domain name pointing to them. For example the actual display of that page show this 2 http://www.cafesurvey.com/ http://food-prints.appspot.com/ I will like to know

[google-appengine] Re: Upgrade from 1.2.4 to 1.2.5 fails on windows XP

2009-09-07 Thread K Miller
Go To The 'Start Menu', 'Settings' - 'Control Panel' Click on 'Add/Remove Programs' Find anything that says Chrome' or even Googles - and Delete it !!! [you can always re-install it - later.] This is the only TRUE method of 'exorcising' your computer of Chrome / Googles 'CRAP' ware - for

[google-appengine] Re: Increasing Task Queue Quota Limit

2009-09-07 Thread kaz
Hello Nick, I'm writing a production code on GAE/J for a collabolation tool called Colabolo, which will be updated this month. We've been using Rails until now and are moving to GAE/J on the next update. http://www.techcrunch.com/2009/06/21/colabolo-takes-another-stab-at-team-task-management/

[google-appengine] Question

2009-09-07 Thread AbduLrehman
what is Google App Engine ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send

[google-appengine] Re: Question

2009-09-07 Thread Marcellus Tavares
http://code.google.com/appengine/ On Sat, Sep 5, 2009 at 3:43 PM, AbduLrehman designer.reh...@gmail.comwrote: what is Google App Engine ? -- Marcellus de Castro Tavares --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[google-appengine] Re: Dramatic increase in api cpu usage.

2009-09-07 Thread Stephen
On Sep 7, 8:57 pm, herbie 4whi...@o2.co.uk wrote: On Sep 7, 6:50 pm, Stephen sdea...@gmail.com wrote: What about cpu_ms, is that also higher for requests which write to the data store? No, not in relation to api_cpu_ms.  For the request that does the most writing to the datastore

[google-appengine] Re: Unable to Mail.send() - Timeout errors

2009-09-07 Thread Koen Bok
Just for the record, I saw the exact same all day today. On Sep 5, 12:35 am, danb d...@watchingbelkas.com wrote: Hi, At the moment I am experiencing Mail.send() Timeouts (after 5 second delay while sending e-mail) on Python API. It never took so long for my app and I never seen this before

[google-appengine] Re: Text based RPG

2009-09-07 Thread Matthew Kramer
Brandon, You're not understanding what I want to make, but that may be because I didn't explain it very well. I want to sort of make something like an old school based MUD using GAE. I am learning Python, just wondering if there are any resources or tutorials that would get me more into GAE with

[google-appengine] Re: Text based RPG

2009-09-07 Thread Brandon N. Wirtz
You could build one of these... You'd go broke running it. A MUD is always running.. It handles multiple threads and not only accepts requests but sends them to the user.. GAE no process can run for more than a few seconds, so you'd have to use some polling tricks on the client to ask what