News

Copyright © 2008-2018 Paula DiTallo

Tag Cloud



Why does Eclipse say Another Transaction is Already in Progress when I Deploy my Google Application?

The message may also say something line:

Unable to update app: Error posting to URL: https://appengine.google.com/api/appversion/create?app_id=metro-stockwatch&version=1&
409 Conflict

Another transaction by user Your.Name is already in progress for app: your-appName, version: x. That user can undo the transaction with "appcfg rollback".

Basically this means that in the midst of your previous deployment of the application, the process was interrupted. The Google SDK interprets this as a deployment that must be rolled back. There is no resolution to this without locating where your \bin directory containing the appcfg.sh or appcfg.cmd file exists in order to rollback the corrupt deployment.

Since I was working on a windows box when this happened to me, here is where I found the appcfg.cmd file:

C:\Program Files\Eclipse\eclipse\plugins\com.google.appengine.eclipse.sdkbundle.1.3.8_1.3.8.v201010161055\appengine-java-sdk-1.3.8\bin\

Look for your application--more specfically, look for a directory called WEB-INF. In my app, WEB-INF resides under the \war directory. Here it is as an example:

C:\Documents and Settings\Administrator\workspace\StockWatcher\war

Open up a windows command window or execute cmd from Run (Start>All Programs; Run; type: cmd).  Execute the command:  appcfg rollback your-appName by wrapping the location of where the appcfg.cmd file exists, and wrapping the location of root of where you found the WEB-INF directory. This should correct your  previously corrupt deployment. See the screenshot below as an example of the command line and of the expected message displays. BTW, if you don't work with dos windows much, remember to include the quotation marks "" as you see them. Windows needs the quote to deal with "Documents and Settings" and "Program Files". If you forget the quotation marks, you may see an error message that indicates a file or directory is not found.

 Eclipse Google App SDK deployment 

Saturday, July 2, 2011 9:32 PM

Feedback

# re: Why does Eclipse say Another Transaction is Already in Progress when I Deploy my Google Application?

dude, you are the man.
saved my ass
thanks 1/25/2012 7:39 PM | ray

# re: Why does Eclipse say Another Transaction is Already in Progress when I Deploy my Google Application?

Thanks a lot! Saved me tons of time! 8/23/2012 2:37 PM | uli

# re: Why does Eclipse say Another Transaction is Already in Progress when I Deploy my Google Application?

I had a power failure last night during a build and I was stuck on this issue for several hours today....THANKS!!!! 2/1/2014 8:35 PM | Apps4Canadians

# re: Why does Eclipse say Another Transaction is Already in Progress when I Deploy my Google Application?

Awesome bro.. made my work so simple. Completed in less 2minutes. Thanks alot 5/9/2014 4:39 AM | sreekanth

# re: Why does Eclipse say Another Transaction is Already in Progress when I Deploy my Google Application?

Man you are AWESOME!!! Thanks a lot 7/13/2017 8:08 AM | Raghuveer

Post A Comment
Title:
Name:
Email:
Comment:
Verification: