March 30, 2011

GAE locked transactions issue

We were facing certain issues while deploying on GAE, our application had some failed transactions and was complaining about locked transactions. Just thought the following information might be helpful and handy at a later date.

Locate your <GAE_INSTALLATION_FOLDER>. If you are using eclipse plugin you would find appengine sdk in <ECLIPSE_DIR>\plugins\<SOME_VERSION>\appengine-java-sdk-<SOME_OTHER_VERSION>

To rollback go to your eclipse installation folder and issue the following command:

<GAE_INSTALLATION_FOLDER>\bin>appcfg.cmd --email=<gmail_id_OR_google_apps_email_id> --passin rollback <GAE_APP_ROOT_FOLDER>\war

To update/deploy on GAE do the following:

<GAE_INSTALLATION_FOLDER>\bin>appcfg.cmd --email=<gmail_id_OR_google_apps_email_id> --passin update <GAE_APP_ROOT_FOLDER>\war

Make sure you clean up the GAE app and run it locally before uploading to GAE. Let me know if you face issues even after these steps.

Chetan Bhagat Speech : Spark

I'm not a big fan of Chetan Bhagat but his speech published here really made it's point It has bits and pieces copied from other such stories but all credits go to him for combining everything in one; do read it whenever you get time.

Here are few interesting anecdotes from his speech:

  • Don’t be serious, be sincere.
  • Frustration is a sign somewhere, you took it too seriously.
  • Failure is extremely difficult to handle, but those who do handle come out stronger. 
  • If you are failing at something, that means you are at your limit or potential. And that’s where you want to be. That's where and when magics happen.
  • Be grateful for what you have and get the strength to accept what you don’t.
  • Never make a compromise. Love thyself first and then anything else.
Personally i can relate to everything mentioned in the anecdotes above. I've been sincere to things that i cared about and at times have gone beyond the serious limits to make things go out of hand resulting in frustration. I've survived a lot of failures though very few would know and most would be surprised to know. I strongly relate to being at the extremes of self potential; i've seen magics happen for example when i lost more than 12+ kgs in 3 months. The last two are just my favorites because they have helped me survive and given me the strength to continue.

March 06, 2011

Thought of the day

"Derice, a gold medal is a wonderful thing. But if you're not enough without it, you'll never be enough with it" - Irv, Cool Runnings