[appengine-java] Channel API /disconnect inbound service not called when tabs are closed in Chrome and FF

2012-02-08 Thread mayumi
I create socket connection each time user logs into my application. This means if they open new tabs within same browser window multiple socket connections are established for each browser tabs. Problem occurs when I close these tabs; inconsistently /disconnect inbound service is called. This

[google-appengine] Need to access GAE logs programmatically

2011-03-31 Thread mayumi
Hi, we have a GWT application hosted in GAE. We use gwt-log (http:// code.google.com/p/gwt-log/) to log our client side and server side exceptions. What we need to do is to run a cron job every day at the midnight to create a report on all the exceptions (ex. listing source, exception time, count,

[appengine-java] I need to do a cron without 30 sec limit

2011-01-21 Thread Mayumi Liyanage
Hi, I need to iterate over all the entities in the Datastore and send out emails once a day asynchronously to the actual app. Usual way to do this would be to invoke a Servlet using cron which would iterate over all the entities to send emails out. However, our data is growing at the rapid rate

[google-appengine] How to do a batch operation without 30 sec time limit

2011-01-21 Thread Mayumi Liyanage
Hi, I need to iterate over all the entities in the Datastore and send out emails once a day asynchronously to the actual app. Usual way to do this would be to invoke a Servlet using cron which would iterate over all the entities to send emails out. However, our data is growing at the rapid rate

[google-appengine] Re: How to mock or instantiate App Engine Entity when unit testing

2010-11-18 Thread mayumi
Problem: An Entity was a final class. Solution: Use power mock or mocking container which let's you mock the final classes. On Oct 28, 8:56 pm, mayumi mayumi.liyan...@gmail.com wrote: I'm actually not testing the Entity itself or Appengine DatastoreService. Basically, I am converting

[appengine-java] Problem setting a property to appengine entity using setProperty() method

2010-11-09 Thread Mayumi Liyanage
Hi, I have an entity which has property Person person(user defined object) so I wanted to setProperty(person, new Person()) however got an IllegalArgumentException Person is not a supported property type. It is a simple class with field String name and String country which implements

[google-appengine] Re: How to mock or instantiate App Engine Entity when unit testing

2010-11-01 Thread mayumi
at 9:31 AM, Mayumi Liyanage mayumi.liyan...@coldwin.com wrote: In the project I'm working on we are using GWT + GAE. We are unit testing using automocking container Jukito (http://code.google.com/p/ jukito/) which is  build on top of Mokito (http://code.google.com/p/ mockito/) + JUnit

[google-appengine] How to mock or instantiate App Engine Entity when unit testing

2010-10-28 Thread Mayumi Liyanage
In the project I'm working on we are using GWT + GAE. We are unit testing using automocking container Jukito (http://code.google.com/p/ jukito/) which is build on top of Mokito (http://code.google.com/p/ mockito/) + JUnit. The problem is unit testing the Mapper API. Since Mapper API's map method