[appengine-java] corrupted content of text/html part in received email

2011-11-14 Thread Tom Fishman
Hi, App engine cannot receive html email ( sent from gmail ) correctly. ( @appid.appspotmail.com) The following code will show the error: byte[] bytes = content.getBytes(encoding); // gmail used ISO-8859-1 mostly, UTF-8 sometime also printBytes(bytes); - output: 64 (offset from

Re: [appengine-java] Re: Programmatic creation of an application/app-id... is it possible?

2011-10-28 Thread Tom Fennelly
Thanks Gal. On 28/10/2011 06:37, Gal Dolber wrote: Yes, you can, using WebDriver. I don't remember if theres any captcha... that would be a problem. Just emulate what you would do manually. Regards On Thu, Oct 27, 2011 at 6:18 PM, Tom Fennelly tom.fenne...@gmail.com mailto:tom.fenne

[appengine-java] Re: Programmatic creation of an application/app-id... is it possible?

2011-10-27 Thread Tom Fennelly
Guys anyone any ideas on this please? On 24/10/2011 13:47, Tom Fennelly wrote: Hi all. I searched the archives but was unable to find an answer to my question. Basically wondering if it's possible to programatically create an application instance. Obviously I can update an instance

[appengine-java] Re: .A research: how long will your java app instance start up fully?

2011-10-02 Thread Tom Phillips
~9s (1/3 JDO PMF, 1/3 JAXB context, 1/3 other) On Sep 29, 9:29 pm, Tapir tapir@gmail.com wrote: ? -- 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] JavaScriptException: (TypeError): Object [object Object] has no method 'push'

2011-10-02 Thread Tom Schroeder
Hey, This is a problem in My App engine application. I`m guessing that im just a newbie that doesnt get the hole design of GWT. This is my code: public void onModuleLoad() { // Check login status using login service. LoginServiceAsync loginService = GWT.create(LoginService.class);

[appengine-java] high replication datastore simulation in local development server

2011-09-09 Thread Tom
in persisting. Thanks, Tom -- 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 google-appengine-java+unsubscr

[appengine-java] New Billing Model,

2011-09-09 Thread Tom Taylor
. regards Tom -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/sBsX1KLs7P0J. To post to this group, send email to google-appengine-java

[appengine-java] Re: Datastore access deadlock

2011-07-28 Thread Tom Phillips
keeping under the 30 second limit. It often, but not always, succeeds on one of the retries and salvages the request. /Tom On Jul 28, 5:11 pm, Eduardo Garcia Lopez egar...@stream18.com wrote: Hi, since last week I am experiencing a very serious problem in my application. Probably since I

[appengine-java] Re: Experimental blobstore api returning null keys on blob creation

2011-07-16 Thread Tom Fishman
Assuming you're talking about new blobs, please check this issue: http://code.google.com/p/googleappengine/issues/detail?id=4872. I think there is no good workaround yet. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view

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

2011-06-23 Thread Tom Phillips
with threadsafety for the query method and I can switch back to getObjectById() easily to test if it's been fixed. I haven't seen any issues so far (knock on wood) with writes or deletes, even under high load - only with reads via getObjectById(). /Tom On Jun 23, 6:12 pm, David turntwo...@gmail.com

[appengine-java] Re: Confused about loading vs. non-loading requests when threadsafe on

2011-06-21 Thread Tom Phillips
threadsafe for now. But I'm reluctant - the efficiency is strangely reassuring.. /Tom On Jun 21, 1:25 pm, Jon McAlister jon...@google.com wrote: Hi Tom, I'm not sure about the servlet context listener code. However, thanks for pointing out the behavior of the interaction of loading requests

[appengine-java] Confused about loading vs. non-loading requests when threadsafe on

2011-06-19 Thread Tom Phillips
The GAE documentation says you can detect loading requests like this: // web.xml snippet listener listener-class com.example.LogLoadingRequest /listener-class /listener // LogLoadingRequest.java public class LogLoadingRequest implements ServletContextListener { private static final

Re: [appengine-java] Re: Feelings about new pricing model

2011-05-22 Thread Tom Gibara
Put it this way: A single multithreaded Java appserver instance should be able to happily consume every last CPU cycle on a frontend box - and that's just the free tier. That presumes that the JVM that sandboxes the app is given access to all the CPU cycles. Nothing precludes mapping all Java

Re: [appengine-java] Re: Task Enqueue in a Transaction

2011-03-23 Thread Tom Gibara
transaction). Unfortunately the code hasn't transitioned to Google's servers for testing yet. Tom. On 23 March 2011 05:26, Didier Durand durand.did...@gmail.com wrote: Hi, For me, the answer is here: http://code.google.com/appengine/docs/java/datastore/transactions.html#Isolation_and_Consistency

Re: [appengine-java] Task Enqueue in a Transaction

2011-03-22 Thread Tom Gibara
It's my understanding that, with HR, getting an entity by key is only strongly consistent within a transaction. If this is wrong, then a significant portion of my own task handling code may need revisiting... Perhaps someone who knows more could clarify this. Tom. On 21 March 2011 22:10, Simon

Re: [appengine-java] Task Enqueue in a Transaction

2011-03-22 Thread Tom Gibara
app engine mechanics with less language specific guidance. Tom. On 22 March 2011 17:59, Jay Young jayyoung9...@gmail.com wrote: According to the docs, gets, puts, deletes, and ancestor queries are all strongly consistent: http://code.google.com/appengine/docs/java/datastore/hr/ -- You received

[appengine-java] Re: Uploading App to GAE with JSP compile Error

2011-03-01 Thread Tom Fishman
I renamed the broken .jsp to .x_jsp -- 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] The best practice of engineering with GAE (in Java) in a team

2011-03-01 Thread Tom Fishman
yet. I wonder if anyone can share the best practices of working with GAE in a team. So people like us can learn without making too many mistakes. Thanks! -Tom -- 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] PersistenceManager (JDO), transaction and close() function

2011-02-22 Thread Tom Fishman
returned from transaction operation always have JDO state and JDO manager attached which I want to remove so they have identical pattern for both cases. -Tom. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send

Re: [appengine-java] Upgrade to GAE 1.4.2

2011-02-16 Thread Tom Gibara
. Amazingly, this worked with no (apparent) problems and it was very quick to implement. Tom. On 16 February 2011 13:06, luka uluk...@gmail.com wrote: Hello, You probably aware of the following issue: After upgrading from GAE 1.4.0 to 1.4.2 the local data-store is completely deleted. Cheers Uri

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

2011-02-16 Thread Tom Phillips
: javax.net.ssl.SSLHandshakeException: Could not verify SSL certificate for: https://api.twilio.com api.twilio.com is only accessible over SSL so this problem is hampering development of our application with 1.4.2 /Tom On Monday, February 14, 2011 4:22:51 PM UTC-5, frew wrote: Hey everybody

[appengine-java] Re: Memcache entries - available how soon after entry?

2010-12-15 Thread Tom Phillips
RPC would be required when invoking the Memcache API. Thanks, Tom On Dec 14, 11:33 pm, Tom Phillips tphill0...@gmail.com wrote: I'm seeing unexpected (to me) Memcache behavior in my app ever since I enabled reserved instances (which I did first thing after 1.4.0). When one request adds a cache

[appengine-java] Memcache entries - available how soon after entry?

2010-12-14 Thread Tom Phillips
for some reason, shouldn't they be available with 60 seconds? Thanks for any insight, Tom -- 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

[appengine-java] Memcache misses after 1.4.0 update

2010-12-10 Thread Tom Phillips
In my application I use memcache to store some data for a subsequent request (usually issued within 10-20 seconds after the initial caching) that needs to respond as quickly as possible. Any delay greatly hurts the user experience as it results in a significant pause in an automated phone call

[appengine-java] @Basic(optional=false) not enforced.

2010-11-25 Thread Tom
Hi all -- 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 email to google-appengine-java+unsubscr...@googlegroups.com.

[appengine-java] @Basic(optional=false) not enforced.

2010-11-25 Thread Tom
successfully. Why? I am scratching my head on how to use JPA to enforce data consistency. Any pointer will be greatly appreciated. Thanks, Tom -- 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] Entity relations (JPA vs lowlevel API)

2010-11-20 Thread Tom
). How do you store Customer - Orders in the datastore? Is there low level API example code? Would I store an entity Customer with attributes and a list of order ids? Any help highly appreciated. Thanks Tom -- You received this message because you are subscribed to the Google Groups Google App Engine

[appengine-java] First integration save fails with grails app-engine plugin

2010-11-16 Thread Tom
Hi all, I am using grails 1.3.5 and the latest app-engine and gorm-jpa plugins. I created a User class and a UserIntegrationTest to test it. However, I am getting a error in the reports: Could not open JPA EntityManager for transaction; nested exception is java.lang.NullPointerException: No

[appengine-java] XMPP invite format

2010-10-13 Thread Tom
...@macbeth.shakespeare.lit' reason='Hey Hecate, this is the place for all good witches!'/ /message Source: http://xmpp.org/extensions/xep-0249.html Thanks! Tom -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post

[appengine-java] Re: Python bulk loader tool with local dev server of GAE Java

2010-09-01 Thread Tom
any data locally. If someone has managed to import data locally (without any programming) in the java-environment, then please share your success! :) Tom On 1 Aug., 14:49, Jan jan.ja...@gmail.com wrote: Hi, I still did not find any solution to use the bulk uploader (now version 1.3.5) locally

[appengine-java] i have create a gwt project ,now when deploy the project with gae ,some problem has appear

2009-09-01 Thread tom
I have a javabean like : package com.icsc.zzjj.client.bean; import java.io.Serializable; import java.lang.Float; import javax.jdo.annotations.IdGeneratorStrategy; import javax.jdo.annotations.IdentityType; import javax.jdo.annotations.PersistenceCapable; import

[appengine-java] how to use Multi-parameter in Query

2009-08-31 Thread tom
I have a problem with javax.jdo.Query ,how to use Multi-parameter in Query ,think you! --~--~-~--~~~---~--~~ 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: Inheritance in JDO

2009-08-24 Thread Tom Ball
Does anyone know if JPA supports polymorphism? I've been working with JDO because it appears to be better documented right now, but I'd switch for a more Java-like model. Tom On Sun, Aug 23, 2009 at 7:22 AM, David Given d...@cowlark.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1

[appengine-java] Stopping a dev server from ant

2009-08-20 Thread Tom
Is there a way to stop an dev server from ant? I am trying to start a dev server in ant, and in parallel run a set of unit tests, then stop the dev server. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App