Re: [appengine-java] Re: Slow cold starts

2012-03-08 Thread Mark Rathwell
subscription mechanism. Very bad indeed if true (with the disclaimer that maybe it's not Google that is leaking email addresses). On Wednesday, February 29, 2012 7:24:45 PM UTC+1, Mark Rathwell wrote: Ok, interesting. Have you tried setting minimum instances to one? I have an app I've been

Re: [appengine-java] Re: Slow cold starts

2012-02-29 Thread Mark Rathwell
Ok, interesting. Have you tried setting minimum instances to one? I have an app I've been testing, with billing enabled and minimum instances set to one. I check the app 1 - 2 times per day, and the overwhelming majority of those requests are cold starts. I just set the minimum instances to 2,

[appengine-java] Re: app engine server availability

2012-01-27 Thread Mark
Me too, having exact same problem as you Carter. My Dashboard only shows last hour or so of activity http://tinypic.com/r/2yotlco/5. I also have only 1 instance running when I normally would have 3 running. seems like the whole app engine had an issue and got rebooted? On Jan 27, 7:27 am,

[appengine-java] Optimise billing on app engine for continual polling

2011-12-19 Thread Mark Silberbauer
I'm creating a service on appengine that feeds back measurements to the user. The measurements are collected by polling another server every fifteen minutes (the user needs four measurements over the last hour). I son't expect there to be a high load on the server so there won't be many

[appengine-java] Re: Local datastore can't be browsed but has data

2011-10-10 Thread Mark Silberbauer
@gk. Yes, it was the app id after all. Here is a stackoverflow question and answer that covers this topic: http://stackoverflow.com/questions/5443855/how-can-i-change-my-app-id-in-gae-and-still-access-the-same-permanent-datastore -- You received this message because you are subscribed to the

[appengine-java] Local datastore can't be browsed but has data

2011-10-08 Thread Mark Silberbauer
Hi, My local datastore in my development environment is about 4MB. After testing the deployment process to the cloud I noticed that when running on my local dev server the datastore started showing as empty (in the admin console and when loading in my code) but the file is still 4MB large. I

[appengine-java] Communication between Servlets and Tasks

2011-10-04 Thread Mark Silberbauer
I would like to write a method which handles the flow of communication on XMPP. The sequence of things I'd like to do is: 1. Send message. 2. Wait for response. 3. Process the response. Since we could be waiting longer than 30s for the response (step 2) I'll be teeing up a task to take care

[appengine-java] Re: Which credentials should I put in for Google App Engine BulkLoader at JAVA development server?

2011-10-01 Thread Mark Nuttall-Smith
Hi, in theory you should be able to enter any credentials, as long as the username is a valid email address. In practice I've never found that this works - I would always get an Authentication Failed error. The solution in my case was to run an http proxy such as Charles in the background.

Re: [appengine-java] datastore statistics vs quota usage (again)

2011-08-19 Thread mark-ns
if they are calculated asyncronously I would really expect them to be accurate by now. I don't know if you have access to the admin console of users projects, but the non-HFR one is called mojointest if so. Cheers, Mark -- You received this message because you are subscribed to the Google Groups Google App

[appengine-java] datastore statistics vs quota usage (again)

2011-08-05 Thread mark-ns
the ~7x size difference between datastore statistics and quota usage? Thanks, Mark -- 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

[appengine-java] UnknownJavaServerError when bulkloading to dev appserver

2011-07-16 Thread mark-ns
(set to 100 in log below), but that doesn't seem to have any impact. Could anyone please explain the inconsistent behaviour, and suggest a solution? Many thanks, Mark Uploading data records. [INFO] Logging to bulkloader-log-20110716.140518 [INFO] Throttling transfers: [INFO

[appengine-java] Re: UnknownJavaServerError when bulkloading to dev appserver

2011-07-16 Thread mark-ns
it would be appreciated by people coming fresh to the platform. Cheers, Mark -- 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

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

2011-07-13 Thread mark-ns
Hi, If anyone is still suffering this problem, I've found that running a http proxy such as Charles will correct it. That said, I do not know what the underlying cause is. Mark -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group

[appengine-java] Integrating Flex/Flash/Silverlight/AJAX/Android with Java classes in GAE

2011-04-05 Thread Mark Piller
/watch?v=NSx9oRj5v50 The doc describing the integration is available at: http://www.themidnightcoders.com/fileadmin/docs/java/v4/gae_overview.htm Cheers, Mark -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send

[appengine-java] jetty java.lang.IllegalStateException: STREAM

2011-03-16 Thread Mark Harrison
Hi, can you explain why jetty is returning a java.lang.IllegalStateException: STREAM? Is this a known issue? Is there something wrong with my code that is causing the issue? Does this happen on other implementations of Jetty I am using the Java Environment with Google App Engine 1.4.2 with

[appengine-java] Re: how would I setup ssl in eclipse dev http server

2011-03-06 Thread Mark
My app will require secure https connections and I would like to ensure the code that detects if the application is connected via a secure connection is always in place. I am thinking things are not going to be as straight forward if Google is using an embedded jetty server. I haven't found

[appengine-java] how would I setup ssl in eclipse dev http server

2011-03-05 Thread Mark
Hi, How would I setup SSL for the Eclipse app engine dev http server? -Mark -- 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

[appengine-java] Cascading delete for entity groups - should it be working?

2011-01-14 Thread Mark
Hi, I have a class Message which is part of a parent entity group class Conversation. When I delete a Conversation, shouldn't all Message instances in the same entity group also be deleted?: Conversation conversation = pm.getObjectById(...); pm.deletePersistent(conversation); // now

[appengine-java] Can't update int[] array in a class?

2010-11-12 Thread Mark
Hi, I'm having trouble updating a class which has an array of ints: @PersistenceCapable class Foo { @Persistent @Extension(vendorName = datanucleus, key = gae.unindexed, value=true) int[] vals; } ... Foo foo = new Foo(); foo.vals = new int[] { 1, 2, 3 };

[appengine-java] Are Text properties still not lazy loaded?

2010-11-11 Thread Mark
Hi, Is a Text property lazy loaded when I query for an instance of that class? It seems to not be lazy loaded as of 2008, wondering if that's still the case?:

[appengine-java] org.datanucleus.store.appengine.query.RuntimeExceptionWrappingIterator.hasNext(RuntimeExceptionWrappingIterator.java:44)

2010-11-01 Thread mark chen
Hi, I am using JDO on GAE, and have been encountering this error. I googled the error, and most of the solutions were related to setting some properties in datastore-indexes.xml. However, I do not have this config file in my app as GAE has enables the Automatic index configuration. The piece of

[appengine-java] Re: Tag clouds on GAE for Java - how to store and how to aggregate

2010-07-21 Thread Mark
is. Write out everything you need when the user submits an entity, so that your reads will be fast as other users browse the site. Mark On Jul 19, 9:16 am, planetjones jon.r.jo...@gmail.com wrote: Hi, I'm looking to store entities using GAE Java which have 1-many tags. I would like to display

[appengine-java] Get objects back in the order they were inserted into the data store?

2010-07-21 Thread Mark
Hi, I'm creating records of a user's actions. When I fetch these records, I only ever want them sorted in reverse chronological ordering (the order they were inserted into the datastore). Does app engine by default return records in this order? I'm trying to avoid having to keep an extra index on

Re: [appengine-java] Re: Tag clouds on GAE for Java - how to store and how to aggregate

2010-07-21 Thread Mark Wyszomierski
for others wanting to do the same thing, Thanks, Mark On Wed, Jul 21, 2010 at 3:15 PM, planetjones jon.r.jo...@gmail.com wrote: Mark, Thanks very much for this - it's useful. I'm slowly getting used to this non-relational way of thinking. The count of the tags doesn't need to be 100

Re: [appengine-java] Get objects back in the order they were inserted into the data store?

2010-07-21 Thread Mark Wyszomierski
definitely index on it though, Thanks, Mark On Wed, Jul 21, 2010 at 7:37 PM, Ikai L (Google) ika...@google.com wrote: You'll need an index no matter what, as if you did this, you'd need Key descending. Note that this may not be exact insert order but it'll be pretty close. This seems to save

[appengine-java] Length of member variable names contributes to storage space used?

2010-07-19 Thread Mark
Hi, I read in a post that the length of member variable names contributes to the amount of storage space your app uses, example: class Farm { private String mFarmersFavoriteCropToPlant; } would take more space to store than: class Farm { private String m; }

[appengine-java] Getting oauth twitter to work, using dyuproject

2010-07-11 Thread Mark
Hi, I just found dyuproject by David Yu: http://dyuproject.appspot.com/oauth http://code.google.com/p/dyuproject/ which is great, very easy to integrate and get oauth working. The demo project at appspot shows twitter working, but I cannot find the corresponding source code in the

[appengine-java] Getting images from the blobstore - going to be slow?

2010-07-06 Thread Mark
Hi, I'd like to serve user avatar pics. I can store them in blobstore. I think I can modify the blobstore example to make it work like this: // sevlet which serves my images: public class Serve extends HttpServlet { private BlobstoreService blobstoreService =

[appengine-java] Key command to restart dev server in eclipse?

2010-06-24 Thread Mark
Hi, I'm using eclipse for development. Is there a way we can bind restarting the dev server to a key command? I find it takes a bit of time to restart manually, especially when using a laptop trackpad! Thanks -- You received this message because you are subscribed to the Google Groups Google

[appengine-java] Using the prepackaged json classes in com.google.appengine.repackaged.org.json?

2010-06-17 Thread Mark
Hi, I'm using the 1.3.4 version of app engine. I noticed that now we have: com.google.appengine.repackaged.org.json.* available. I can use the json classes and compilation is fine, but at runtime loading of the json classes fails, I think: java.lang.UnsupportedClassVersionError: Bad

[appengine-java] Re: Performance issue for GAE auto-restart

2010-06-15 Thread Mark
framework which we will always like to have if doing some production application then what is the way out. Thanks, Rahul On Jun 11, 10:16 am, Jake jbrooko...@cast.org wrote: Hi Mark, Yes, you can do better than 4.5 seconds without a framework.  Also, there are layers

[appengine-java] Re: Performance issue for GAE auto-restart

2010-06-11 Thread Mark
Hi, just joining in, trying to sum up: In the best case (if we only use the low level datastore + no frameworks on top) we can only hope that a fresh restart of our app will take 4.5 seconds? However if at least one user is hitting the site every 60 seconds from somewhere in the world, then our

Re: [appengine-java] Re: Performance issue for GAE auto-restart

2010-06-11 Thread Mark Wyszomierski
have some framework which we will always like to have if doing some production application then what is the way out. Thanks, Rahul On Jun 11, 10:16 am, Jake jbrooko...@cast.org wrote: Hi Mark, Yes, you can do better than 4.5 seconds without a framework. Also, there are layers that can

[appengine-java] Re: How to use OpenID on the GAE (with the GWT frontend)

2010-05-15 Thread Mark Renouf
The button displays an alert, but does not redirect. Copying the URL from the alert dialog and manually visiting it does work, and I'm logged into your app via my Yahoo account. Can you share your example code for this project? On May 15, 6:29 am, Drasko drasko.ko...@googlemail.com wrote: And

[appengine-java] Setting some Cookies?

2010-05-13 Thread Mark
Hi, I'd like to add a cookie to a client request. I have a jsp page I'm serving from app engine. Is this correct?: // index.jsp: %@ page import=com.me.myproject.server.Util % Util.addCookie(response); // Util.java import javax.servlet.http.Cookie; import

[appengine-java] Re: How to detect GAE is in maintenance?

2010-05-05 Thread Mark
Sorry I don't have an answer, but would also be interested in knowing how to do this. I will dig around today in the meantime. On May 4, 3:10 pm, Jerome jerome.mou...@gmail.com wrote: I would like my app to inform the visitor we are in maintenance, such as it does not let them do operations

[appengine-java] An entity group whose parent uses an unencoded String primary key?

2010-05-03 Thread Mark
Hi, How do we make an entity group with a parent that has an encoded or raw string for its primary key? The examples in the docs use Key (I can get those to work). I need something like: class User { @PrimaryKey private String username; } class FavAnimal { @PrimaryKey

[appengine-java] Re: How to deal with large collections of objects?

2010-04-27 Thread Mark
Thanks Andrey, that works perfectly. I wasn't understanding the example in the docs about this: http://code.google.com/appengine/docs/java/datastore/transactions.html section titled Creating Entities With Entity Groups. Your example makes it clear, Thanks On Apr 27, 6:04 am, ailinykh

[appengine-java] How to deal with large collections of objects?

2010-04-26 Thread Mark
Hi, I'm confused as to how to deal with a large number of objects and transactions. I will use a Farm and Cows to illustrate my confusion: Option1: Create an owned relationship: class Farm { Cows mCows; int mNumCows; } class Cows { ListCow mCowList; } class

Re: [appengine-java] Re: Hosting gwt project at myapp.com, pulling data from api.myapp.com ?

2010-04-17 Thread Mark Wyszomierski
://www.google.com/profiles/stephenhuey On Apr 16, 1:43 pm, Mark mar...@gmail.com wrote: Hi, I have my gwt project hosted on app engine. This is resolving to: http://www.myproject.com how would I go about serving data from: http://api.myproject.com from the same datastore

[appengine-java] Hosting gwt project at myapp.com, pulling data from api.myapp.com ?

2010-04-16 Thread Mark
Hi, I have my gwt project hosted on app engine. This is resolving to: http://www.myproject.com how would I go about serving data from: http://api.myproject.com from the same datastore? I'd like the gwt project above to be able to pull its data from api.myproject.com, Thanks -- You

[appengine-java] LocalServiceTestHelper is not supported

2010-04-13 Thread Mark
runtime environment Thanks, Mark -- 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

[appengine-java] Re: A catch-all servlet?

2010-04-07 Thread Mark
, thanks again, Mark On Apr 6, 11:09 pm, John Patterson jdpatter...@gmail.com wrote: You could create a filter that is mapped to /* and does a forward to   your jsp. This one remembers the original path: public class ForwardFilter implements Filter {         public static final String

[appengine-java] A catch-all servlet?

2010-04-06 Thread Mark
Hi, I'm using GWT and GAE. I want to serve my project's one and only jsp file no matter what url is entered by the user in their browser. So the web.xml file looks like this: welcome-file-list welcome-fileUserMaps.jsp/welcome-file /welcome-file-list servlet

[appengine-java] How to find an object which uses a Key as its primary key?

2010-04-05 Thread Mark
Hi, I set up a persistent class like this: @PersistenceCapable public class Farm { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Key mKey; } I might send a representation of this object down to a client browser. I imagine it could be in

[appengine-java] Re: How to find an object which uses a Key as its primary key?

2010-04-05 Thread Mark
Thanks! On Apr 5, 7:34 am, Thomas mylee...@gmail.com wrote: Hi Mark:     The KeyFactory.keyToString and KeyFactory.stringToKey should be what you want. KeyFactory.keyToString converts a Key instance to a plain String which can be passed to browser and then be sent back to server later

[appengine-java] Re: JPA and Scala

2009-10-19 Thread Mark Essel
Hello Chris. I'm also interested in building a scala app on the Google App Engine. I have a simple working (empty) lift/scala template here: http://dl.getdropbox.com/u/1127092/lift4gaeTEMPLATE.zip But I haven't been able to cross the bridge from scala GAE app to wave robot. As I understand it

[appengine-java] appcfg can't find javac?

2009-09-25 Thread Mark Space
Hi all, I just tried appcfg for the first time and I got some odd errors. The error is odd because my javac is exactly where the error says it is looking. screen-cap C:\Users\Brenden\Downloads\GoogleAppEngine\appengine-java- sdk-1.2.5\appengine-ja

[appengine-java] Re: appcfg can't find javac?

2009-09-25 Thread Mark Space
Thanks for the reply. However, I think this is already the case. I do apologize for the java/javac typo above. The JDK is the only thing on my PATH, there's no JRE. (Note this is from the Windows shell, but the Cygwin utility which prepends /cygdrive/ anyway.) This shows that the JDK is the

[appengine-java] Cannot delete objects

2009-09-22 Thread Mark Renouf
I can't seem to cascade delete anything... any ideas? AppEngine/Java 1.2.5 Attempt was made to modify the primary key of an object of type com.examplel.data.Item identified by key Location(FOO)/Menu(10)/Item (11) Primary keys are immutable. (New value: Item(11)

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

2009-09-07 Thread Mark Tye
, we're still waiting on a response: http://code.google.com/p/googleappengine/issues/detail?id=1969 - Mark On Aug 25, 4:02 pm, Jason (Google) apija...@google.com wrote: It looks like you already found this thread:http://groups.google.com/group/google-appengine-java/browse_thread/th