[appengine-java] Dashboard showing wrong quota reset info...

2009-11-15 Thread Prashant
Quota is already reset but DashBoard still showing Next reset: 1 hrs, Googlers please check the issue -- 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] Re: query.deletePersistentAll() not working !

2009-11-12 Thread Prashant
correction : earlier, even with DeadLineExceed Error query.deletePersistentAll() used to delete entities, now, it doesn't. not sure what happens if DeadLineExceed Error doesn't occur. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group.

[appengine-java] Re: once per deployment?

2009-11-09 Thread Prashant
hmm i was thinking of making use of application version, which should be unique for each deployment, if I could find a way to get it. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine for Java

[appengine-java] Re: why my app on GAE first access is so slow

2009-11-07 Thread Prashant
yes, your guess is right. if your app is inactive then app engine will remove your app servlets from memory and reloads from datastore (or wherever it is stored) when you access it first time. --~--~-~--~~~---~--~~ You received this message because you are

[appengine-java] Re: java doubt : is there any way to get class instance from class' qualified name?

2009-11-07 Thread Prashant
got it. thanks a ton... --~--~-~--~~~---~--~~ 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,

[appengine-java] once per deployment?

2009-11-07 Thread Prashant
Hi, I want to run a piece of code only once, every time I deploy a new version. How do I do that? --~--~-~--~~~---~--~~ 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

[appengine-java] all data suddenly disappeared from datastore

2009-11-04 Thread Prashant
Hi, I had around 250,000 entities of a type, yesterday i wrote a cron to delete them. Today, I notices that entities are not getting deleted, so, I stopped the cron and started deleting entities manually, after deleting a number of entities (around 50k), suddenly all the entities of all the types

[appengine-java] Re: very high error rate (88%) receiving XMPP no error msg in the log !

2009-11-03 Thread Prashant
anyone else facing same problem ? my app's today's error rate is 94% (of 832) ! --~--~-~--~~~---~--~~ 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: ResponseTooLargeException (url fetch) can't be caught ???

2009-10-30 Thread Prashant
i tried catching it on *catch(Exception e)* block, it doesn't work either. how is it possible that an error escapes catch block. i am still confused that it can be bug or not. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[appengine-java] Re: ResponseTooLargeException (url fetch) can't be caught ???

2009-10-30 Thread Prashant
Hi, I rechecked it, it actually works for *catch(Exception e)* block. --~--~-~--~~~---~--~~ 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] ResponseTooLargeException (url fetch) can't be caught ???

2009-10-29 Thread Prashant
Hi, i am fetching a set of urls using task queues, my whole url fetch code is between try-catch block but *com.google.appengine.api.urlfetch.ResponseTooLargeException *error is not getting caught by catch block, task fails every time logging this error in log. anyone facing similar error??

[appengine-java] Re: DeadlineExceededException not correctly thrown during a transaction

2009-10-28 Thread Prashant
code snippet : ... ... query = pm.newQuery(Link.class); try{ count = query.deletePersistentAll(); // getting HardDeadlineExceededError here }catch (Exception ex) {} query.closeAll(); ... ...

[appengine-java] JDO preview release : child object is still null !

2009-10-26 Thread Prashant
Hi, I have following object child relationship. All the objects are getting saved properly but when I try to fetch child object I am getting *null*. This error is not because of lazy loading as I am accessing the child before closing the PersistentManager. Parent Object Class

[appengine-java] Re: JDO preview release : child object is still null !

2009-10-26 Thread Prashant
Update: i test it on production server, child objects are not even getting saved ! --~--~-~--~~~---~--~~ 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: Access to Show All Applications from the App Engine Administration Console

2009-10-26 Thread Prashant
http://groups.google.com/group/google-appengine-java/subscribe --~--~-~--~~~---~--~~ 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: Incoming Email Service

2009-10-26 Thread Prashant
it works ! 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-java@googlegroups.com To unsubscribe from this group, send

[appengine-java] Re: inbound mail encoding problem

2009-10-25 Thread Prashant
No :( . For email body, i am still waiting for a working solution. --~--~-~--~~~---~--~~ 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] inbound mail encoding problem

2009-10-24 Thread Prashant
Hi, i want to get mail sender's name so i tried *message.getFrom()[0].toString() *(followed by trimming out email id), it generally works but for some ids i get a weird string like *=?UTF-8?B?QvKYiGd1cyAFeGNlcHRp4pi8bg==?=* i know this is some encoding issue but i don't know how to fix this. if

[appengine-java] Re: Can anyone provide me an example on add/remove tag to an Entity?

2009-10-22 Thread Prashant
good question ! i'm also waiting for it's answer. --~--~-~--~~~---~--~~ 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] Re: about missing values

2009-10-20 Thread Prashant
the only way i could find is to fetch each and every entity and check if column == null. i ran a cron which checks 1 entity per min so that initialization goes smoothly without putting extra load on app. --~--~-~--~~~---~--~~ You received this message because you

[appengine-java] Re: receiving mail demo

2009-10-19 Thread Prashant
msg.getContent () should return Multipart but here in GAE it returns ByteArrayInputStream . i tried reading Object after wrapping ByteArrayInputStream into ObjectStream but it doesn't work this way either. --~--~-~--~~~---~--~~ You received this message because

[appengine-java] about missing values

2009-10-19 Thread Prashant
hi, i added a new column to my data table, as it is newly added it is showing missing as column values in datastore. now i want to initialize those missing values to some value, say 0. how do i do that programmatically? i tried using column == null as filter but that doesn't work.

[appengine-java] Re: Task Queue Quota

2009-10-19 Thread Prashant
i heard 100,000 is task queue quota when billing is enabled. --~--~-~--~~~---~--~~ 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: receiving mail demo

2009-10-19 Thread Prashant
yes, every thing is working fine except that I am not able to fetch message body in suitable format. --~--~-~--~~~---~--~~ 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

[appengine-java] Re: Google Analytics tracking code on GAE

2009-10-18 Thread Prashant
you guys meant that GAE removes javascript from your code? i don't think GAE does any such thing. Currently I am using only servlets (no JSP) on all apps and all javasrcipts (including adsense analytics) are working fine. I gave up using JSPs long back and I don't remember if I have ever faced

[appengine-java] Re: receiving mail demo

2009-10-18 Thread Prashant
how do i separate both type msg bodies ? --~--~-~--~~~---~--~~ 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

[appengine-java] Re: Google Analytics tracking code on GAE

2009-10-18 Thread Prashant
I am using GWT, Adsense, Analytics and YUI, all of them are working fine with Servletshttp://code.google.com/appengine/docs/java/gettingstarted/creating.html . Anyway, today i tried javascript with JSP also and it works, http://gaeapptest.appspot.com/test.jsp . You guys must be doing something

[appengine-java] how to get over 1 mb respose size url fetch api limit?

2009-09-25 Thread Prashant
Hi, I want to fetch urls having more than 1mb response size. is there any way to get around 1 mb response size limit? thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To

[appengine-java] Child Objects and Relationships (JDO)

2009-09-25 Thread Prashant
Hi, I created a relationship similar to the one given herehttp://code.google.com/appengine/docs/java/datastore/dataclasses.html#Child_Objects_and_Relationships. Suppose fetched an *Employee*** entity from datastore, now, how to get * Employee*'s *ContactInfo* entity? I tries using

[appengine-java] Re: Child Objects and Relationships (JDO)

2009-09-25 Thread Prashant
for defaultFetchGroup in this group). On Sep 25, 2:32 pm, Prashant antsh...@gmail.com wrote: Hi, I created a relationship similar to the one given here http://code.google.com/appengine/docs/java/datastore/dataclasses.html Suppose fetched an *Employee*** entity from datastore, now

[appengine-java] little help with object child relationship...

2009-09-25 Thread Prashant
Hi, I tried to create an object child relationship, both (object and child) are getting saved properly but while retrieving them back I am getting nullPointerException for child. Please help, following is my code: @PersistenceCapable(identityType = IdentityType.APPLICATION) public class Data{

[appengine-java] little help with object child relationship...

2009-09-25 Thread Prashant
Hi, I tried to create an object child relationship, both (object and child) are getting saved properly but while retrieving them back I am getting nullPointerException for child. Please help, following is my code: @PersistenceCapable(identityType = IdentityType.APPLICATION) public class Data{

[appengine-java] Re: little help with object child relationship...

2009-09-25 Thread Prashant
sorry guys, my bad. again ! On Sat, Sep 26, 2009 at 10:20 AM, Prashant antsh...@gmail.com wrote: Hi, I tried to create an object child relationship, both (object and child) are getting saved properly but while retrieving them back I am getting nullPointerException for child. Please help

[appengine-java] will it make any difference if i do not provide a separate class (PMF) for PersistentManagerFactory

2009-09-23 Thread Prashant
Hi, Will it make any difference to the performance of the app if I do not write a separate class (PMF, as suggested in GAE docs) for getting PersistentManagerFactory instance, instead, I declare it as a variable in the class where I want to use it, like protected final PersistenceManagerFactory

[appengine-java] Re: can xmpp api send and receive messages using gmail ids?

2009-09-23 Thread Prashant
, Prashant antsh...@gmail.com wrote: no, no, no, i meant to say that i want to send/receive xmpp to my friends' ids etc. form my gmail id using my app (instead of gTalk), say a kind of automated replies. if it is possible then how? --~--~-~--~~~---~--~~ You

[appengine-java] reading file from file system

2009-09-22 Thread Prashant
Hi, appengine docs says An application can read its own files from the filesystem using classes such as java.io.FileReader. but I am getting java.security.AccessControlException: access denied while I try create a new FileReader. following are the code I tried and error log. BTY how to read

[appengine-java] Re: reading file from file system

2009-09-22 Thread Prashant
hi, i have found out where i was wrong. thanks anyway... On Tue, Sep 22, 2009 at 3:37 PM, Prashant antsh...@gmail.com wrote: Hi, appengine docs says An application can read its own files from the filesystem using classes such as java.io.FileReader. but I am getting

[appengine-java] can xmpp api send and receive messages using gmail ids?

2009-09-20 Thread Prashant
Hi, is it possible to use xmpp api to send and receive messages using gmail ids ? 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

[appengine-java] My First App

2009-09-17 Thread Prashant
Hi all, Yesterday I wrote an app which helps you meeting new friends on your Google Talk ! I named it Chat Me. When you use Chat Me, it picks another user at random and lets you have a one-on-one chat with each other. All chats are completely anonymous, although there is nothing to stop you from

[appengine-java] Using detachable property

2009-09-17 Thread Prashant
hi, I tried the Updating an Object (using detachable property) example given herehttp://code.google.com/appengine/docs/java/datastore/creatinggettinganddeletingdata.html#Updating_an_Object. While experimenting with it I found that even if I do not add *detachable=true *property to my JDO class

[appengine-java] java.lang.IllegalArgumentException: Must set a body

2009-09-17 Thread Prashant
Hi, It seems like xmpp api is missing message body once every few requests. I am getting following error repeatedly, saying Must set a body, while parsing the request to Message. I am not using */_ah/xmpp/message/chat/* url for anything except for receiving xmpp messages. Neither this url is

[appengine-java] Re: doubt with detachable property...

2009-09-16 Thread Prashant
of fetching it (again) form datastore and then updating it. following is a code snippet: Data data = cache.get(key); data.setValue(new updated value); pm.makePersistent(data); cache.put(key, data); thanks. On Wed, Sep 16, 2009 at 5:49 PM, Prashant antsh...@gmail.com wrote: hi, I tried

[appengine-java] Re: [google-appengine] using a variable to buffer cache data...

2009-09-16 Thread Prashant
thanks nick. Actually I wanted to use Task Queue instead of Global LinkedList, but this task queue quota is very limited. i am expecting my app to reach at least 5 to 10 lacks queues per day. 2009/9/16 Nick Johnson (Google) nick.john...@google.com Hi Prashant, In addition to what Barry says

[appengine-java] Re: [google-appengine] using a variable to buffer cache data...

2009-09-16 Thread Prashant
ohh sorry, my bad, I meant Lakhs (1Lakh = 100, 000). 2009/9/16 Nick Johnson (Google) nick.john...@google.com Hi Prashant, On Wed, Sep 16, 2009 at 3:54 PM, Prashant antsh...@gmail.com wrote: thanks nick. Actually I wanted to use Task Queue instead of Global LinkedList, but this task

<    1   2