[appengine-java] Twig 0.2 Typesafe Datastore saves CPU and storage

2010-01-13 Thread John Patterson
Hi Everyone, I have added some very handy features to Twig to save on both CPU and storage space your app uses. Today I have tagged the source code 0.2 as a reference for these new features. Twig is an alternative to using JDO and which was built to allow you to store, query and read

Re: [appengine-java] Re: HardDeadlineExceededError stack trace

2010-01-13 Thread John Patterson
On 13 Jan 2010, at 14:43, Wesley Chun (Google) wrote: john, HardDeadlineExceededError cannot be caught. you should see DeadlineExceededException and catch that instead... I am not catching HDEE - I am catching DEE and then starting a new task to continue the original tasks work as

[appengine-java] Datanucleaus enhancement not run when non-persistent superclass modified

2010-01-13 Thread Blessed Geek
I am using GWT 2, GAE 1.3.0 plugin on Eclipse Galileo. I have a class UtilJDO, which does not contain any persistent object. It merely pulls in the pm, pmf, and provide common methods for queries. My persistence classes extend UtilJDO so that they could all use the same utilities. Whenever I

[appengine-java] Re: Datanucleaus enhancement not run when non-persistent superclass modified

2010-01-13 Thread Blessed Geek
Or, is it because UtilJDO is an abstract generic class. And that datanucleaus is not able to handle generics too well? public class UtilJDOT extends UtilJDO? { } Or, is it because UtilJDO does not have @PersistenceCapable annotation. It shouldn't need the annotation because it has no persistent

[appengine-java] Re: App instance recycling and response times - is there solution?

2010-01-13 Thread A1programmer
I don't have time to go into details, so this is a 10,000 ft view, but perhaps you could potentially extend the base spring context listener to work with the distributed cache (or some other mechanism between web apps) which keeps an instance of springs context so that it doesn't have to be

[appengine-java] Help with One to Many owned relationship and Datastore

2010-01-13 Thread Ftaylor
I have a class Page with a variable ListIMG images. @PersistenceCapable(identityType = IdentityType.APPLICATION) public class Page { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Key key; @Persistent private final ListIMG images; ... } My IMG class looks like

[appengine-java] Need Help with One to Many relationships in Datastore

2010-01-13 Thread Ftaylor
I have a class Page with a variable ListIMG images. code @PersistenceCapable(identityType = IdentityType.APPLICATION) public class Page { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Key key; @Persistent private final ListIMG images; ...

[appengine-java] Objectify-Appengine, a typesafe data persistence tier for App Engine

2010-01-13 Thread Jeff Schnitzer
http://code.google.com/p/objectify-appengine/ I probably should have called this project Goldilocks, because it's a little bit how I feel.  Despite being a longtime Hibernate user (since the 1.0 days), the JDO/JPA abstraction just doesn't make me happy on appengine - it's too big, too

Re: [appengine-java] Problem running on datastore first time

2010-01-13 Thread Jason (Google)
No, there is no special initialization needed when running your application for the first time in production. As Ian mentioned, please check your log output -- this should indicate what the issue is. If you have any questions about, feel free to post it here along with a full stack trace. - Jason

Re: [appengine-java] javax.annotation.Resource Spring 3.0.0.Release declarative DI on Google App Engine

2010-01-13 Thread Jason (Google)
Hi Ralf. We may be able to add support for this annotation in a forthcoming release. Please star the issue in your post if you want to be notified of any status changes. - Jason On Sat, Jan 2, 2010 at 3:27 AM, Ralf Sigmund ralf.sigm...@gmail.com wrote: Hi, i am a newbie to App Engine. So I

[appengine-java] Re: Objectify-Appengine, a typesafe data persistence tier for App Engine

2010-01-13 Thread Erik Reisig
Sounds like exactly what i was looking for! Cant wait to try it thanks, erik On 13 Jan., 18:28, Jeff Schnitzer j...@infohazard.org wrote: http://code.google.com/p/objectify-appengine/ I probably should have called this project Goldilocks, because it's a little bit how I feel.  Despite being

[appengine-java] Wildcard must appear at the end of the expression string (only prefix matches are supported)

2010-01-13 Thread Steve Pritchard
I get this exception. viewItemByQuery Exception:org.datanucleus.store.appengine.query.DatastoreQuery $UnsupportedDatastoreFeatureException: Problem with query SELECT FROM com.rsi.gems.bbb.gdo.GdoSysGroups WHERE this.GrpName.matches(.*): Wildcard must appear at the end of the expression string

[appengine-java] XMLRPC calls from GAE app?

2010-01-13 Thread ujja
Has anyone succeeded to make xmlrpc calls from gae? If, what did you use. Thanks -- 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

[appengine-java] Re: Is it working in singleton model?

2010-01-13 Thread A1programmer
I'm not using spring, but I am not having trouble with singleton objects. On Jan 12, 11:54 pm, jay jay...@gmail.com wrote: Hello, I am using spring framework in my project, there are couples of Singlton Beans. I save some information in the properties of these beans and change them at runtime.

Re: [appengine-java] Appengine::Login Error

2010-01-13 Thread Jason (Google)
This sounds like a transient error. Please let me know if you are still seeing this error consistently and provide the Google account that you are using to sign in to appengine.google.com, and I will look into it further. - Jason On Sun, Jan 3, 2010 at 4:17 AM, sathish12345678

Re: [appengine-java] a description of cron job bug! It's not support for UTF-8

2010-01-13 Thread Don Schwarz
Please file an issue in our issue tracker: http://code.google.com/p/googleappengine/issues/list Thanks, Don 2010/1/5 时空之蕊 skzr@gmail.com Thanks for your healp: my cron.xml: ?xml version=1.0 encoding=UTF-8? cronentries cron url/cron/flushCache.do/url descriptionThis's a Chinese

Re: [appengine-java] Doubt with detachability...

2010-01-13 Thread Jason (Google)
Does your application work if you don't detach the entity a second time? For instance, are you able to update the entity, re-cache it, then retrieve it and pass it back into makePersistent without any errors? I was under the impression that passing an entity into makePersistent re-attaches the

Re: [appengine-java] Re: java.lang.NullPointerException cannot be cast to javax.servlet.ServletException

2010-01-13 Thread Don Schwarz
This problem will be fixed in the next release. It was indeed an issue with AccessController.doPrivileged as Marc had hypothesized below. Thanks, Marc! On Thu, Jan 7, 2010 at 4:43 AM, Ftaylor finbarrtay...@googlemail.comwrote: This problem still exists. On Dec 16 2009, 9:42 pm, polyurethan

Re: [appengine-java] Communication between multiple applications

2010-01-13 Thread Jason (Google)
That particular term is in place to prevent misuse of our hosting environment, specifically developers that attempt to deploy the same application to multiple IDs and use a gateway application to choose between these applications randomly to distribute the load evenly. Unfortunately, the term does

[appengine-java] Re: XMLRPC calls from GAE app?

2010-01-13 Thread ujja
I will answer this by myself after playing around. It was in my case very straight forward using HttpURLConnection for the connection and SAXParser for handling the result. I have stripped out my details from the parser. The solution is fast and works on both simulator and uploaded on GAE. /Ulrik

Re: [appengine-java] Version Not Ready Error

2010-01-13 Thread Jason (Google)
It looks like you got this working. The app is serving for me and I see several successful requests logged. Please let me know if you have any more questions. - Jason On Tue, Jan 12, 2010 at 12:30 AM, rkvsraman rkvsra...@gmail.com wrote: Hello, I started with my first Java App thru Eclipse

Re: [appengine-java] GAE

2010-01-13 Thread Jason (Google)
Datastore entities can be at most 1 MB, although entities can contain references to other entities allowing you to split large files, store them in multiple entities, and then resolve these when the application is requested, keeping in mind that the maximum request size is currently 10 MB. Several

Re: [appengine-java] Re: Blobstore - delete record from apps console

2010-01-13 Thread Jason (Google)
Hi YONG. I'm seeing this too on my end. I see a more descriptive error message, however -- the Admin Console is basically reporting that billing isn't enabled for the application when it really is, and hence doesn't process the delete request. Please star this external issue and you'll be notified

[appengine-java] Integration with Ning App (authentication)

2010-01-13 Thread Pion
I am wondering if anyone has experience integrating Ning App (http:// developer.ning.com/) with GAE for Java. Note that Ning only supports a subset of OpenSocial API. Specifically, I need help on the following: 1. Let a user login to Ning network. 2. Once Ning has authenticated the user, I'd like

Re: [appengine-java] Building Scalable Complex App

2010-01-13 Thread Jason (Google)
It's been awhile since I've seen this video, so I'll have to go back to re-watch it in order to answer your question completely, but I'd be interested in seeing what you've sketched out so far and happy to give you my feedback on it. - Jason On Tue, Jan 12, 2010 at 3:52 PM, Duong BaTien

[appengine-java] Error when deploy compass with spring on GAE--javax.naming.nameingexception

2010-01-13 Thread yjun hu
I'm using compass2.3.0-beta1+spring2.5.1+struts2.1.8.1+JDO,when i deploy my project to GAE, i got this error about 'javax/naming/NamingException'. I know 'NameingException' is not be whited list on GAE, but i track those class,i didnot see any class is using 'javax.naming.nameingexception' Below

[appengine-java] ArrayList of children are saved without error but then cannot be read.

2010-01-13 Thread drdbuck
Max Ross said... ...Please post your question on the Google Group for GAE Java (the link is in the App Engine Links section on the right) along with your model objects and the code you're using to query for the child objects

Re: [appengine-java] Doubt with detachability...

2010-01-13 Thread Prashant Gupta
Yes, it works fine if I do not detach second time... 2010/1/14 Jason (Google) apija...@google.com Does your application work if you don't detach the entity a second time? For instance, are you able to update the entity, re-cache it, then retrieve it and pass it back into makePersistent

Re: [appengine-java] Version Not Ready Error

2010-01-13 Thread RKVS Raman
Yeah... but i guess it did not connect from behind a proxy. I connected from Broadband and it worked. Thanks for looking into it. Best Regards -Raman --- RKVS Raman http://sites.google.com/site/rkvsraman

[appengine-java] Re: Problem running on datastore first time

2010-01-13 Thread Sahil Mahajan
On the server side try to print your data through System.out.println() This should be displayed on your logs. If you don't see message, then problem is in sending data to server. Otherwise you need to look into datastore. Sahil On Jan 14, 12:19 am, Jason (Google) apija...@google.com wrote: No,

[appengine-java] Re: ArrayList of children are saved without error but then cannot be read.

2010-01-13 Thread Sahil Mahajan
I don't have much idea. I saved list in database and I was not able to read list back. You can read solution to my problem at http://groups.google.com/group/google-appengine-java/browse_thread/thread/2047db275a9014a4/20cabaf1b113963c#20cabaf1b113963c You have IdentityType.APPLICATION,detachable

[appengine-java] Re: Error when deploy compass with spring on GAE--javax.naming.nameingexception

2010-01-13 Thread yjun hu
anybody can help me ? Thanks! On Thu, Jan 14, 2010 at 10:34 AM, yjun hu itswa...@gmail.com wrote: I'm using compass2.3.0-beta1+spring2.5.1+struts2.1.8.1+JDO,when i deploy my project to GAE, i got this error about 'javax/naming/NamingException'. I know 'NameingException' is not be whited list

[appengine-java] Question about inbound mail.

2010-01-13 Thread Thanasis
Hi all, I guess my question is directed to Google Engineers - unless someone has previous experience. Hypothetical scenario: My application gets an inbound email. GAE starts the specified mail- handling servlet, but this is affected by the known cold-start delay and timeouts. The question is: