将应用程序部署到谷歌应用程序引擎时出现问题

时间:2013-10-12 04:49:32

标签: java google-app-engine

我正在1.8.1 GAE for java使用eclipse在mac book pro山狮上。

尝试部署时出现错误: 无法更新:

com.google.appengine.tools.admin.HttpIoException: Error posting to URL: https://appengine.google.com/api/appversion/create?app_id=sakshumweb-hrd&version=3&
409 Conflict
Another transaction by user vik.ceo is already in progress for app: s~sakshumweb-hrd, version: 3. That user can undo the transaction with "appcfg rollback".

        at com.google.appengine.tools.admin.AbstractServerConnection.send1(AbstractServerConnection.java:293)
        at com.google.appengine.tools.admin.AbstractServerConnection.send(AbstractServerConnection.java:253)
        at com.google.appengine.tools.admin.AbstractServerConnection.post(AbstractServerConnection.java:232)
        at com.google.appengine.tools.admin.AppVersionUpload.send(AppVersionUpload.java:810)
        at com.google.appengine.tools.admin.AppVersionUpload.beginTransaction(AppVersionUpload.java:543)
        at com.google.appengine.tools.admin.AppVersionUpload.doUpload(AppVersionUpload.java:135)
        at com.google.appengine.tools.admin.AppAdminImpl.doUpdate(AppAdminImpl.java:386)
        at com.google.appengine.tools.admin.AppAdminImpl.update(AppAdminImpl.java:55)
<dx59b2s3gxmlhdp3940000gn/T/appengine-deploy2012670164492350692.log" 17L, 1449C

我已经执行了以下命令,该命令成功但部署仍然失败并出现相同的错误。请注意,在过去我已经做过100次没有任何问题。

/Users/vivekkumar/Downloads/Sakshum/eclipse/plugins/com.google.appengine.eclipse.sdkbundle_1.8.1.1/appengine-java-sdk-1.8.1.1/bin/appcfg.sh rollback war
Reading application configuration data...
Oct 11, 2013 9:43:02 PM com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml
INFO: Successfully processed war/WEB-INF/appengine-web.xml
Oct 11, 2013 9:43:02 PM com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
INFO: Successfully processed war/WEB-INF/web.xml
Oct 11, 2013 9:43:02 PM com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
INFO: Successfully processed war/WEB-INF/cron.xml
Oct 11, 2013 9:43:02 PM com.google.apphosting.utils.config.IndexesXmlReader readConfigXml
INFO: Successfully processed war/WEB-INF/appengine-generated/datastore-indexes-auto.xml


Beginning interaction for server default...
0% Rolling back the update.
Success.
Cleaning up temporary files for server default...

2 个答案:

答案 0 :(得分:2)

我是同一个问题(没有GWT),我解决了部署409错误,感谢this answer 请尝试一下,从appengine-web.xml中删除实例类和自动缩放元素。

答案 1 :(得分:0)

您可能需要减少GWT编译器的排列数,否则最终会导致排列爆炸(编译器会为每个用户代理,区域设置等生成大量文件),从而导致超时适用于部署应用时的应用引擎。

尝试:Soft Permutations 或者:Controlling Permutation Explosion