1

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

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

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...
4

2 回答 2

2

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

于 2013-10-14T21:10:42.950 回答
0

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

尝试:软排列 或:控制排列爆炸

于 2013-10-12T05:41:28.773 回答