[appengine-java] BlobstoreService fetchData - 2 small fetches or 1 large fetch?

2010-04-27 Thread keyurva
I have an interesting problem with my blob store fetches - I need to fetch 2 chunks of data 5 bytes each that are 1000 bytes apart. From the perspective of the BlobstoreService, is it more efficient for me to make 2 fetchData calls of 5 bytes each or 1 fetchData call of 1010 bytes? Thanks, Keyur

[appengine-java] Updating data class resets data fields

2010-04-27 Thread kghate
I am storing some persistent data and all is working fine, I have a simple data class per examples provided in the Storing Data section. However, I noticed that all my stored data got reset to null when I added a couple new fields to be stored. To give an example, my employee data class was

[appengine-java] Freemarker - java.lang.VerifyError

2010-04-27 Thread Sudhir Ramanandi
I am using freemarker-gae-pre2.jar and I get following error when I deploy to GAE. Its working fine on my local machine I am using spring MVC + freemarker. java.lang.VerifyError: (class: freemarker/ext/jsp/FreeMarkerJspApplicationContext, method: init signature: ()V) Incompatible argument to

Re: [appengine-java] Freemarker: Run local: OK. Run on cloud: Error

2010-04-27 Thread Sudhir Ramanandi
Aah, freemarker-gae-pre2.jar won't work either. I got the same error. Asked to freemarker mailing list. Lets see what comes up. Does any one else has any idea? Thanks SN On Tue, Apr 27, 2010 at 11:29 AM, Sudhir Ramanandi sramana...@gmail.comwrote: First of all, Currently normal release of

Re: [appengine-java] Freemarker: Run local: OK. Run on cloud: Error

2010-04-27 Thread Sudhir Ramanandi
Aah, freemarker-gae-pre2.jar won't work either. I got the same error. Asked to freemarker mailing list. Lets see what comes up. Does any one else has any idea? Thanks SN On Tue, Apr 27, 2010 at 11:29 AM, Sudhir Ramanandi sramana...@gmail.comwrote: First of all, Currently normal release of

[appengine-java] Owned one to many relationship problem when parent was already existed.

2010-04-27 Thread ylmz
Hi. I got tree classes that has one-to-many relationship with each other. A has a child class B (one to many) B has a child class C(one to many) @PersistenceCapable class A { @PrimaryKey @Persistent public Key key; @Persistent(mappedBy = a) @Element(dependent = true)

[appengine-java] Re: owned one to many relationship problem

2010-04-27 Thread ylmz
unfortunately I still am having problem. if parent is already persisted it does not work. I have a different post for that one. http://groups.google.com/group/google-appengine-java/browse_thread/thread/a9955f8944a8c520 On Apr 19, 12:27 am, ylmz yilmazhuse...@gmail.com wrote: Hi every body. I

[appengine-java] Re: Single Sign on between applications

2010-04-27 Thread Patou
With a Google Apps Domain (login with user in the domain), it's possible, but for all public application (with google account) the user must sign in for all application. On Apr 26, 11:42 pm, nearm...@gmail.com wrote: You may be able to accomplish this by using sub-domains. For example:

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

2010-04-27 Thread ailinykh
define Cow as class Cow { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Key id; @Persistent @Extension(vendorName=datanucleus, key=gae.parent-pk, value=true) private Key farmKey; } If you set farmKey to farm id then both farm and cow will

[appengine-java] Re: Freemarker: Run local: OK. Run on cloud: Error

2010-04-27 Thread Phuong Nguyen
The fix provided in the blog above some how shoots (or hide???) the inner problem. But the outer problem (cannot create PageContextFactory) is still there. I get this exception after deploy the *fixed* version to the cloud: java.lang.NoClassDefFoundError: Could not initialize class

[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

Re: [appengine-java] Re: Freemarker: Run local: OK. Run on cloud: Error

2010-04-27 Thread Sudhir Ramanandi
Attila has created an issue here http://code.google.com/p/googleappengine/issues/detail?id=3157 Vote for it. Thanks SN On Tue, Apr 27, 2010 at 6:55 PM, Phuong Nguyen phuongn...@gmail.com wrote: The fix provided in the blog above some how shoots (or hide???) the inner problem. But the outer

[appengine-java] Manually restart GAE on the cloud

2010-04-27 Thread Phuong Nguyen
Is there any way to manually restart GAE on the cloud? -- 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

Re: [appengine-java] Manually restart GAE on the cloud

2010-04-27 Thread Romain Pelisse
:D I actually saw a comic strip a while ago about how people will have to change their behavior (ie stop rebooting when they fail to fix something), but I never expected to actually see somebody ask about that. You can't reboot the cloud. Simply redeploy a new version of your application if you

[appengine-java] App Engine Down?

2010-04-27 Thread luijar
We just experienced an outtage that seems to be from Google App Engine for one of our registered app ID's. It lasted for several hours and it seems to be back up again without us making any changes. Has anyone else experienced this? If so, what was the cause? -- You received this message because

[appengine-java] Re: App Engine Down?

2010-04-27 Thread luijar
8:55AM Pacific was the last error we saw. Basically, it was throwing DeadlineExceededExceptions quickly all of the time. On Apr 27, 12:11 pm, luijar luis.j.aten...@gmail.com wrote: We just experienced an outtage that seems to be from Google App Engine for one of our registered app ID's. It

[appengine-java] Re: gql fetch performance

2010-04-27 Thread mandar khadilk
This is after deployment and not local. The locals fly fast. No issues there. As to your second point- I set the prefetch to 50/100 etc and also chunk size. The limit for the qry is also set to large value. But as you suggested, I will do app stat. On Apr 26, 4:17 pm, Ikai L (Google)

[appengine-java] Re: JSP showing new DB data problem.

2010-04-27 Thread seleronm
Hi, If the previous data is displayed, I clear the browser cash when simply thinking. They might be other causes. I think that it is useful to check the content by log adminconsole. thanks. When data is changed from the DB the JSP shows it to the user. The problem is that the JSP doesn't

[appengine-java] AJAX on Google App Engine using JAVA

2010-04-27 Thread Thato Selebogo
Has anyone used AJAX to enable client RPC requests using JAVA. On the Google App Engine website Paul Peavyhouse does exactly the same thing but he is using Python. Does anyone know how to do the same thing but using JAVA? -- You received this message because you are subscribed to the Google

[appengine-java] Writing to a local file in development environment

2010-04-27 Thread Jaroslav Záruba
Due debugging purposes, and only in development environment, I need to manipulate with a text-file. Obviously I ran into following message... access denied (java.io.FilePermission F:\workspace\AppEngine1\war\js\main.js delete) I thought adding the permission to java.policy would cure this, so

[appengine-java] Re: WARNING: This request caused a new process to be started for your application, and thus caused your application code to be loaded for the first time. This request may thus take

2010-04-27 Thread AndiMullaraj
Hi Ikai, where can I get a more specific response to this issue? I find it odd something like this would happen in first place (my app hangs for about 7 seconds awaiting for the process to fire up). I tried pinging my app every 2 minutes hoping the process would not go to sleep ... to no effect.

[appengine-java] Re: apparent appstats bug

2010-04-27 Thread Dick Johnson
As an addendum to my previous note-- when an app is deployed to App Engine, I don't get the appstats 'hang' behaviour of my previous post, in that the servlet response does finish rendering. But, just as with the local development version, the servlets that caused issues with Appstats are not

[appengine-java] Re: Cold starts

2010-04-27 Thread Jake
Star this? :) http://code.google.com/p/googleappengine/issues/detail?id=2931 On Apr 27, 4:33 am, Richard richard.wat...@gmail.com wrote: My app has a *lot* of cold starts. Sometimes after 2 or 3 minutes, which seems very aggressive. I've let it go, tried to be good and waited for it to

Re: [appengine-java] Writing to a local file in development environment

2010-04-27 Thread Patrick Cornelißen
Hi! 2010/4/27 Jaroslav Záruba jaroslav.zar...@gmail.com Due debugging purposes, and only in development environment, I need to manipulate with a text-file. Obviously I ran into following message... access denied (java.io.FilePermission F:\workspace\AppEngine1\war\js\main.js delete) I

[appengine-java] Re: Writing to a local file in development environment

2010-04-27 Thread Jaroslav Záruba
On Apr 27, 7:39 pm, Patrick Cornelißen corne...@pcornelissen.de wrote: You could also start a dedicated tomcat yes, the workaround here is easy... but so far i'm looking for a solution, also i must!!!11 know why this is not working, i guess you know that feeling :P thank you anyways Patrick

Re: [appengine-java] AJAX on Google App Engine using JAVA

2010-04-27 Thread Patrick Cornelißen
Hi! 2010/4/27 Thato Selebogo mahla...@gmail.com Has anyone used AJAX to enable client RPC requests using JAVA. On the Google App Engine website Paul Peavyhouse does exactly the same thing but he is using Python. Does anyone know how to do the same thing but using JAVA? Maybe I am not

Re: [appengine-java] Re: Writing to a local file in development environment

2010-04-27 Thread Patrick Cornelißen
Hi! 2010/4/27 Jaroslav Záruba jaroslav.zar...@gmail.com On Apr 27, 7:39 pm, Patrick Cornelißen corne...@pcornelissen.de wrote: You could also start a dedicated tomcat yes, the workaround here is easy... but so far i'm looking for a solution, also i must!!!11 know why this is not

Re: [appengine-java] Re: Can't decide: JDO, Twig-Persist or Objectify?

2010-04-27 Thread Jeff Schnitzer
The advantage of Objectify's key management is the generified Key? class, which helps keep your code straight. Jeff On Mon, Apr 26, 2010 at 5:16 AM, Christian Goudreau goudreau.christ...@gmail.com wrote: I didn't try, but I'm sure that if you set a Key field that doesn't exist in the

[appengine-java] Re: apparent appstats bug

2010-04-27 Thread Jens Scheffler
Hi, If you look at the logs of your deployed application, do you see any errors, such as an OutOfMemoryError? My current suspicion is that app stats collects so much data (and keeps it in memory) for this request that it runs out of memory before it can persist it. If that is the case, we might

[appengine-java] Re: WARNING: This request caused a new process to be started for your application, and thus caused your application code to be loaded for the first time. This request may thus take

2010-04-27 Thread Tristan
Hey Andi, It goes something like this as far as I understand it. Your app lives in a process. When requests come in, those requests are handed to the app process to do what it needs to do and send a response. When request A comes in and there are no active processes, the app process starts up

[appengine-java] Re: Efficient One to Many Relationship

2010-04-27 Thread Tristan
1) yes, that should work just fine (at least in low-level datastore API it does) 2) your key should not be your security / accessibility mechanism, so yes, it should be fine (although using a Long id vs. keyAsString would be prettier). also, you want to make sure you restrict access to your

[appengine-java] Re: Can't decide: JDO, Twig-Persist or Objectify?

2010-04-27 Thread jbdhl
For your information I ended up choosing Objectify. I picked that because... * of its very informative, yet short and elegant, documentation. In fact, it is a far more precise and explanatory description of datastore than in Google's own GAE documentation; * the simple, yet powerful API. I

[appengine-java] Re: Updating data class resets data fields

2010-04-27 Thread kghate
any ideas on what I am doing wrong? Please help! On Apr 27, 12:31 am, kghate kgh...@gmail.com wrote: I am storing some persistent data and all is working fine, I have a simple data class per examples provided in the Storing Data section. However, I noticed that all my stored data got reset to

[appengine-java] Re: Uploading blobs and authentication

2010-04-27 Thread keyurva
Submitted a new feature request for this: http://code.google.com/p/googleappengine/issues/detail?id=3160 == Keyur On Apr 26, 1:57 pm, keyurva keyu...@gmail.com wrote: Currently to upload blobs, the blob store service creates a unique one- time URL that a user can post blobs to. My requirement

Re: [appengine-java] Re: Updating data class resets data fields

2010-04-27 Thread Ikai L (Google)
No, this is not expected behavior. Try rolling back your application and seeing if this still occurs. I suspect something else is wrong - you just need to narrow down the version of your application that causes this to happen. 2010/4/27 Marcos Vinícius Soares mavsoa...@gmail.com I believe this

[appengine-java] Questions about BlobstoreService fetchData and serve

2010-04-27 Thread Rahul Ravikumar
The BlobstoreService has two method using which one can fetch data. The first one being fetchData(blobKey, start, end) = which fetches the subset for a blob. The second being serve(blobKey) Is there a reason why the serve method, does not maintain the same contract as that of fetchData(...) ?

[appengine-java] about count query

2010-04-27 Thread Joe Fawzy
Hi all i am using JDO and i want to count the number of entities so which is more efficient using a count quert, eg: select count (this) from User or key only query select id from User then get the count using resultList.size(); by the way , i know that the recommended way on appengine is to

[appengine-java] persisting primitive list using JPA

2010-04-27 Thread Joe Fawzy
Hi all GAE JPA implementation level is version 1 which does not support list of primitives and i want to port my JDO code to JPA so how can i convert @Persistent private ListString tags; to its JPA counterpart which work on appengine as a list property not a blob(not using serialization) and if

[appengine-java] maximum size of a datastore API call response

2010-04-27 Thread Joe Fawzy
Hi all in the doc , section Quotas and Limits i found maximum size of a datastore API call response= 1 MB what does this mean? does it mean that the query result cannot exceed 1 MB , so what about the rest of the result, does the JDO layer take care of this and handle it transparently or what? do

[appengine-java] Re: Inheritance hierarchy and getExtent

2010-04-27 Thread Maxim Cherednik
Hey Simith, I am struggling exactly with the same problem. I read manual about inheritance here http://code.google.com/appengine/docs/java/datastore/dataclasses.html#Inheritance So I was pretty sure that JDO inheritance on App Engine works as described in the DataNucleus documentation. First of

[appengine-java] Specifying a date filter in a query

2010-04-27 Thread Vinay
Hi, I am new to Java and App engine. I am trying to query data that has been written to the datastore using JDO. I am getting an exception when I try to filter on a Date property: Query query = pm.newQuery(DataPoint.class); query.setFilter( m_tradeDateTime DATETIME(2010,

[appengine-java] Which is more efficient? single query or a key only query followed by batch get

2010-04-27 Thread Joe Fawzy
Hi all the title says it all... which one is more efficient in: cpu usage time consumption thanks Joe -- 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.

[appengine-java] Re: Does AppEngine really include JPA Support

2010-04-27 Thread Joe Fawzy
Hi dear it seams that u r new to appengine please take enough time to understand the datastore concepts as it is not a RDBMS and yes appengine JPA code is not 100% portable, you have to do some work (both on the domain layer and the dao layer) to port RDBMS jpa code to appengine and the reverse

[appengine-java] App Engine downtime TOMORROW, Wed Apr 28 1-2p PDT

2010-04-27 Thread Wesley C (Google)
App Engine downtime TOMORROW, Wed Apr 28 1-2p PDT (GMT-7) and same time next Wed, May 5 http://groups.google.com/group/google-appengine-downtime-notify/browse_thread/thread/4857b46e4e6ff0f9 please join the downtime notification group to be alerted on all such planned downtimes. all apps will go

[appengine-java] Re: Efficient One to Many Relationship

2010-04-27 Thread Pk
Thank you so much Tristan. I have another question on top of #3. I can query on listitem parentkey = listcontainerkey and isproccess = true. it is easier, yes. but I expect the data to be growing. there;ll be lot of users with all their listitems stored in a single big list, the processed and

[appengine-java] Re: Efficient One to Many Relationship

2010-04-27 Thread Pk
Btw, I am not going to get all the isprocessed=true records at once. I'll get only the top 100 at any given time. On Apr 28, 7:05 am, Pk prakash...@gmail.com wrote: Thank you so much Tristan. I have another question on top of #3. I can query on listitem parentkey = listcontainerkey and

Re: [appengine-java] Specifying a date filter in a query

2010-04-27 Thread Chau Huynh
http://www.datanucleus.org/products/accessplatform_2_0/jdo/jdoql.htmlExample 3 is the right answer for you. It might be better if you could go through document to have an understanding on its concepts first. Thanks. On Wed, Apr 28, 2010 at 1:36 AM, Vinay vinaytand...@gmail.com wrote: Hi, I am

Re: [appengine-java] Which is more efficient? single query or a key only query followed by batch get

2010-04-27 Thread 风笑雪
In my previous test, query is faster. -- keakon 2010/4/28 Joe Fawzy joewic...@gmail.com: Hi all the title says it all... which one is more efficient in:   cpu usage   time consumption thanks Joe -- You received this message because you are subscribed to the Google Groups

[appengine-java] Re: Manually restart GAE on the cloud

2010-04-27 Thread Phuong Nguyen
:)) Sorry if I used the wrong word. I mean restart my JVM. Since each app will be allocated some JVMs, which run on some servers, I wonder if I can reboot them. It is not an ideal solution, certainly, when you are talking about error-tolerance and scaling. However, during some phase of

Re: [appengine-java] about count query

2010-04-27 Thread Chau Huynh
On Wed, Apr 28, 2010 at 5:24 AM, Joe Fawzy joewic...@gmail.com wrote: select count (this) from User Since when app engine support group operation? ;-) On Wed, Apr 28, 2010 at 5:24 AM, Joe Fawzy joewic...@gmail.com wrote: Hi all i am using JDO and i want to count the number of entities so which

[appengine-java] Re: Manually restart GAE on the cloud

2010-04-27 Thread Thomas
In the Admin Console you can disable your application and re-enable it. I think it is much like a JVM reboot. -- 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: Manually restart GAE on the cloud

2010-04-27 Thread Phuong Nguyen
I think disable/enable your app doesnot reboot JVM. I'm trying FreeMarker. If JVM process a class for the first time, then VerifyError is thrown. On second time, it throw NoClassDefFoundError. When I disabled and reenabled, JVM still throws NoClassDefFoundError. So I guess JVM is not restarted.

Re: [appengine-java] Re: Manually restart GAE on the cloud

2010-04-27 Thread Chau Huynh
Delete the version and redeploy, maybe? Or should Google hep you look into your case, as App Engine user do not have such direct control on their system to reboot. On Wed, Apr 28, 2010 at 10:54 AM, Phuong Nguyen phuongn...@gmail.comwrote: I think disable/enable your app doesnot reboot JVM.

[appengine-java] cc sender

2010-04-27 Thread Philip Tucker
Is it possible to send an email via Transport.send without it sending a CC: to the FROM: address? -- 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

[appengine-java] VerifyError on no-op default constructor

2010-04-27 Thread Sudhir Ramanandi
Can anyone from google explain what java.lang.VerifyError: (class: freemarker/ext/jsp/FreeMarkerJspApplicationContext, method: init signature: ()V) Incompatible argument to function, means? See the issue http://code.google.com/p/googleappengine/issues/detail?id=3157 I have attached the source of

[google-appengine] db.Expando not working with new SDK 1.3.3

2010-04-27 Thread buger
With new SDK i'm getting this error when working with db.Expando models. It gives this error on simple get. My application stop working after this update. Any ideas? I still can see data in Data Viewer. I'm getting this error on production. File

[google-appengine] Re: Invalid IP or statistic. Blacklist bug?

2010-04-27 Thread buger
It seems to be internal ip-addresses for task queues On 27 апр, 11:45, buger leons...@gmail.com wrote: i also see this IP 0.1.0.1 On Apr 27, 11:41 am, buger leons...@gmail.com wrote: What is this IP 0.1.0.2?http://goo.gl/uxnz For my services it's like DoS attack ) -- You received

[google-appengine] Re: data structure to implement some of your friends also like this feature.

2010-04-27 Thread Krishna
I'm interested in hearing thoughts on this as well. Herbert: I had a similar problem sometime ago and I solved it by using a single ListProperty with custom prefixes to distinguish between fields of different types. So in your example, I would have used a prefix f.. to represent a friend and l..

[google-appengine] Re: problem with memcache

2010-04-27 Thread RockyWolf
Replace net.sf.jsr107 in the import statements by javax.cache On Apr 19, 9:46 am, RockyWolf jamesisaa...@gmail.com wrote: I get this error when I try to run my app: com.scrapbook.CacheException: Class: 'ri.cache.BasicCacheFactory' does not implement CacheFactory I had included all the

[google-appengine] Re: db.Expando not working with new SDK 1.3.3

2010-04-27 Thread buger
That was my mistake but previous versions of SDK it ignored) On 27 апр, 12:14, buger leons...@gmail.com wrote: With new SDK i'm getting this error when working with db.Expando models. It gives this error on simple get. My application stop working after this update. Any ideas?  I still can see

[google-appengine] Re: db.Expando not working with new SDK 1.3.3

2010-04-27 Thread buger
BTW, it was becouse i had @propery as function, defined in class, with same name of db.Expando property. I just renamed my function. On Apr 27, 2:32 pm, buger leons...@gmail.com wrote: That was my mistake but previous versions of SDK it ignored) On 27 апр, 12:14, buger leons...@gmail.com wrote:

[google-appengine] Re: data structure to implement some of your friends also like this feature.

2010-04-27 Thread Herbert
Krishna: i see what you mean. so instead of querying for two lists you do a prefixed self-join. i quickly test my version that queries two lists that actually works fine, but i don't have a big test case yet. coz anything bigger than thousand rows slows down in the dev server even for simple query

Re: [google-appengine] Re: data structure to implement some of your friends also like this feature.

2010-04-27 Thread Nick Johnson (Google)
Hi Herbert, A query like this will use the merge join strategy by default. If it's too slow for the merge join strategy, you could have to build a custom index for it, which would indeed be 'exploding' - each User entity would have len(friends)*len(likes) index entries. -Nick On Mon, Apr 26,

[google-appengine] Got CAS client working with appengine (java)

2010-04-27 Thread Piwaï
Hi ! Just wanted to let you know, I was able to use CAS client (http:// www.jasig.org/cas) with AppEngine. So I'll write the few steps here, in case anyone look for it when searching on Google ;-) First, I followed these steps :

[google-appengine] Re: Can an app access the Program Files on the host machine

2010-04-27 Thread Wooble
On Apr 26, 7:11 pm, Hanh mercury24...@gmail.com wrote: I'm trying to create an app on the cloud, and it needs to launch a program from the Program Files on the host machine. I tried it with Windows Azure, and they do not allow this access. I just wonder if I can do this with Google App

[google-appengine] Getting around transactions for same entity group restrictions?

2010-04-27 Thread Mark
Hi, I have a User class in my project, and I can't find a transactionally safe method of creating relationships between users, because User objects are always in their own entity group. The simplest example I can come up with is a follow relationship (like twitter). When a user follows another,

Re: [google-appengine] exec javac

2010-04-27 Thread Ikai L (Google)
Nope, you can't do this. On a side note, if you were working in Python, you'd have eval(). On Mon, Apr 26, 2010 at 3:16 PM, David david.s.jan...@gmail.com wrote: Is it possible to store and compile a java (or C or whatever language) program on the server with Google App Engine, returning the

Re: [google-appengine] exec javac

2010-04-27 Thread Ikai L (Google)
Well ... can't is a very strong word. Theoretically, you could probably write a compiler using the available whitelist classes, but I suspect this isn't what you are looking for ... On Tue, Apr 27, 2010 at 10:03 AM, Ikai L (Google) ika...@google.com wrote: Nope, you can't do this. On a side

Re: [google-appengine] Getting around transactions for same entity group restrictions?

2010-04-27 Thread Scott Ellis
You could fire a transactional task within the first transaction - and don't let the task handler finish error free until the second modification is made (so it keeps retrying). On 28 April 2010 00:17, Mark mar...@gmail.com wrote: Hi, I have a User class in my project, and I can't find a

Re: [google-appengine] ReadOnly Datastore and Task Queues

2010-04-27 Thread Robert Kluin
Perhaps you could check if the datastore is in read-only mode at the beginning of the task, then do what ever action is appropriate for your case (like raise an exception). Robert On Mon, Apr 26, 2010 at 4:45 AM, Matija matija.jerko...@gmail.com wrote: Is there way to pause task queue if

Re: [google-appengine] Server failed to serve the requests.

2010-04-27 Thread Robert Kluin
Were there any actual exceptions in the app's log? Did you see the requests in the request log? If you were using a custom domain, could you access the site directly at the 'appname'.appspot.com url? Robert On Mon, Apr 26, 2010 at 9:52 AM, WeShine Tech intelltest.ad...@gmail.com wrote:

[google-appengine] Datastore inserts

2010-04-27 Thread Geoff
Hi, I have an application which requires some relatively big inserts into the datastore. The amount of data isn't huge, but there are often 100,000 rows in each file upload (and I could be doing about 500-1000 per day). At the moment I'm doing something like for row in file: new_row =

[google-appengine] Re: WARNING appengine_rpc.py:399 ssl module not found.

2010-04-27 Thread J
I am having this problem also. Found this thread in Google Groups: http://groups.google.com/group/google-appengine/browse_thread/thread/9eb30d64423a37ea. The module requires Visual Studio to build and install. To have to install Visual Studio just for this seems a bit heavy. If some kind soul out

[google-appengine] Re: How to drop indexes from deployed app?

2010-04-27 Thread Maxime
Hi, I am having the same problem and I am looking for a solution. Thank you for providing one Petrov as I was not able to find any... Were you able to find something else ? I mean something easier and cleaner than setting up a python app ? Regards, Maxime. On 27 abr, 16:55, Petrov Aleksander

[google-appengine] Re: Can't get entity by key

2010-04-27 Thread Hugo
Your Session class overrides Model.__init__? It has an intentionally undocumented parameter _from_entity. When doing things like overriding __init__, consider adding **kwargs, passing it on to the super-class' constructor. Hugo On Apr 27, 12:10 am, Ralfeus ralf...@gmail.com wrote: Hi, everyone

[google-appengine] Re: Getting around transactions for same entity group restrictions?

2010-04-27 Thread Mark
Hi Scott, Thanks that's a great idea. I also just found this article which I think I can adopt as well: http://blog.notdot.net/2009/9/Distributed-Transactions-on-App-Engine I will try to convert that to java and post to the forum, Thanks On Apr 27, 10:15 am, Scott Ellis sje...@gmail.com

[google-appengine] App Engine downtime TOMORROW, Wed Apr 28 1-2p PDT

2010-04-27 Thread Wesley C (Google)
App Engine downtime TOMORROW, Wed Apr 28 1-2p PDT (GMT-7) and same time next Wed, May 5 http://groups.google.com/group/google-appengine-downtime-notify/browse_thread/thread/4857b46e4e6ff0f9 please join the downtime notification group to be alerted on all such planned downtimes. all apps will go

[google-appengine] Progress Dialog... returning information?

2010-04-27 Thread maxfarrar
I have an application with a login screen that connects to a server and authenticates. I've looked up numerous tutorials on using Progress Dialogs and Handlers, and they all explain how to run a seperate thread to (in my case) send the REST request and check the response. However, my issue is that

[google-appengine] flush cache from control panel

2010-04-27 Thread Nash-t
Is there a way to flush the cache from the control panel? I'd like to be able to do this when I delete an entity that is cached. When can do this in the dev environment, am I just missing the link? Tim -- You received this message because you are subscribed to the Google Groups Google App

Re: [google-appengine] Server failed to serve the requests.

2010-04-27 Thread WeShine Tech
I did look into the problem and have been suggested that it could be due to latency issues. Please could you guide me through as to how to fix this. I have used the same code with more number of clients before but never faced a problem like this. The logs also show latency issues. And I did run

[google-appengine] Re: data structure to implement some of your friends also like this feature.

2010-04-27 Thread Herbert
Hi Nick Thank you. One thing I'm still a bit confused about index. I had the impression that if I've executed all kinds of queries before I deploy, all required indexes would be included, am I correct? Does building a custom index improve performance on complex queries even though it is not

[google-appengine] Re: flush cache from control panel

2010-04-27 Thread Wooble
On Apr 27, 10:34 pm, Nash-t timna...@gmail.com wrote: Is there a way to flush the cache from the control panel? I'd like to be able to do this when I delete an entity that is cached. When can do this in the dev environment, am I just missing the link? There isn't a built-in way, but you

Re: [google-appengine] Server failed to serve the requests.

2010-04-27 Thread Robert Kluin
Anupam, Are you saying that you have other clients (customers) running the same code on different deployments, or are you saying you have loaded this app more heavily while running the current code? When you say the log shows latency issues I assume you mean the requests are taking a lot of CPU

Re: [google-appengine] Server failed to serve the requests.

2010-04-27 Thread WeShine Tech
Hello Robert, Are you saying that you have other clients (customers) running the same code on different deployments ? No. So what happened is at my clients site the application stopped responding. So I started using the earlier versions of my application and those seemed to work fine.

[google-appengine] skip_files also for Java?

2010-04-27 Thread Jaroslav Záruba
Is there something similar to skip_files in Java? On Apr 12, 9:14 pm, Wooble geoffsp...@gmail.com wrote: http://code.google.com/appengine/docs/java/config/appconfig.html#Stat... You should be able to exclude them. On Apr 12, 2:47 pm, therealjz thereal...@gmail.com wrote: Exactly what I

[google-appengine] Trouble creating a named key

2010-04-27 Thread Mark
Hi, I'm trying to port the article written by Nick Johnson on distributed transactions from python to java: http://blog.notdot.net/2009/9/Distributed-Transactions-on-App-Engine it is almost working, just have a problem on one of the last steps where a named-key is supposed to be created.