Sunday, November 30, 2014

How to rollback Google App Engine transactions on Eclipse

Sometimes, when we are deploying an app to Google App Engine from Eclipse, something goes wrong (connection is lost, process is stuck,...) and the transaction is never completed.

In those cases, when you try to redeploy, you normally get an error message:
Conflict Another transaction by user XXX is already in progress
All you have to do in order to undo the transaction and go back to the initial status is:

1) Open the command line on Windows

2) Navigate to the SDK bin folder on Eclipse. It normally looks something like this:
C:\Program Files\Eclipse\plugins\com.google.appengine.eclipse.sdkbundle_1.8.7\appengine-java-sdk-1.8.7\bin>

3) Type the following command, where the last parameter is the absolute path to the war folder of your GAE's project:
appcfg rollback C:\Users\Arturo\workspace\Dialective\war
4) Use your Google App Engine credentials when requested. And that's it!

How to deploy a static HTML site to Heroku

Heroku's Cedar platorm supports today’s most popular and productive languages and frameworks including Ruby, Java, Node.js, Python or Scala. However, you cannot deploy a simple HTML site without getting the following error:

**-----> Heroku receiving push
 !     Heroku push rejected, no Cedar-supported app detected**

Don't panic! All you need to do is to rename your index.html file to index.php and deploy again. It will work!

How to find the cheapest .com domains

Most people register their .com domain names directly in GoDaddy and think that the $4.99 (1st year) offer for the first year is the best they can find.

Well, if you search on Google ".com domain" they might find this other offer from GoDaddy that is not accessible from their webyour .com domain for just $1.49 (1st year). As far as I know, these are the cheapest domain names in the market as of today, but they tend to be more expensive after the first year.

I promise that I don't receive commission on this :-)



Hello World!

I have always been involved in the blogger community running corporate blogs, participating in meetups or even creating tools for bloggers such as Copromly. However, I have never had my own blog, probably because it is a very time-consuming activity.

Many times, when I am struggling with some technical difficulties and I manage to find a solution, I think that it would be nice to share it with the community and help other people facing the same problem the same way I benefit from their knowledge on forums and websitesThis is the goal of this blog.

Welcome!