无法在Google App引擎上部署应用程序:appengine-web.xml不包含< threadsafe>元件 [英] unable to deploy the application on google app engine : appengine-web.xml does not contain a <threadsafe> element
问题描述
当我点击在netbeans中的谷歌应用引擎上部署应用程序时,这些是产生的错误消息。我告诉你,最初,我输入的密码错误,应用程序无法部署。但现在当我点击部署应用程序时,它不会问我电子邮件或密码。
When i click to deploy the application on google app engine in netbeans ,these are the error messages produced. Let me tell you that initially, probably i entered the wrong password and the application failed to deploy. But now when i click to deploy the application it doesn't ask me the email or the password.
无论如何我如何解决这些错误?
Anyway how can i resolve these errors ?
Reading application configuration data...
Bad configuration: appengine-web.xml does not contain a <threadsafe> element.
See http://code.google.com/appengine/docs/java/config/appconfig.html#Using_Concurrent_Requests for more information.
You probably want to enable concurrent requests.
Please see the logs [C:\Users\user\AppData\Local\Temp\appcfg6534187344911851576.log] for further information.
May 28, 2012 12:35:54 PM com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml
INFO: Successfully processed W:/UnderTest/NetbeansCurrent/Guestbook/build/web\WEB-INF/appengine-web.xml
May 28, 2012 12:35:54 PM com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml
SEVERE: Received exception processing W:/UnderTest/NetbeansCurrent/Guestbook/build/web\WEB-INF/appengine-web.xml
com.google.apphosting.utils.config.AppEngineConfigException: appengine-web.xml does not contain a <threadsafe> element.
See http://code.google.com/appengine/docs/java/config/appconfig.html#Using_Concurrent_Requests for more information.
You probably want to enable concurrent requests.
at com.google.apphosting.utils.config.AppEngineWebXmlReader.readAppEngineWebXml(AppEngineWebXmlReader.java:79)
at com.google.appengine.tools.admin.Application.<init>(Application.java:139)
at com.google.appengine.tools.admin.Application.readApplication(Application.java:225)
at com.google.appengine.tools.admin.AppCfg.<init>(AppCfg.java:145)
at com.google.appengine.tools.admin.AppCfg.<init>(AppCfg.java:69)
at com.google.appengine.tools.admin.AppCfg.main(AppCfg.java:65)
编辑:
我在linux中尝试了同样的事情,这次我输入了正确的密码。然后我也得到了以下例外情况:
EDIT : I tried the same thing in linux and this time I entered the right password.Then also i am getting the exceptions which are :
May 28, 2012 1:26:51 PM com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml
INFO: Successfully processed /home/non-admin/NetBeansProjects/Guestbook/build/web/WEB-INF/appengine-web.xml
May 28, 2012 1:26:51 PM com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml
SEVERE: Received exception processing /home/non-admin/NetBeansProjects/Guestbook/build/web/WEB-INF/appengine-web.xml
com.google.apphosting.utils.config.AppEngineConfigException: appengine-web.xml does not contain a <threadsafe> element.
See http://code.google.com/appengine/docs/java/config/appconfig.html#Using_Concurrent_Requests for more information.
You probably want to enable concurrent requests.
at com.google.apphosting.utils.config.AppEngineWebXmlReader.readAppEngineWebXml(AppEngineWebXmlReader.java:79)
at com.google.appengine.tools.admin.Application.<init>(Application.java:139)
at com.google.appengine.tools.admin.Application.readApplication(Application.java:225)
at com.google.appengine.tools.admin.AppCfg.<init>(AppCfg.java:145)
at com.google.appengine.tools.admin.AppCfg.<init>(AppCfg.java:69)
at com.google.appengine.tools.admin.AppCfg.main(AppCfg.java:65)
Bad configuration: appengine-web.xml does not contain a <threadsafe> element.
See http://code.google.com/appengine/docs/java/config/appconfig.html#Using_Concurrent_Requests for more information.
You probably want to enable concurrent requests.
Please see the logs [/tmp/appcfg6804971430427378027.log] for further information.
Reading application configuration data...
May 28, 2012 1:41:52 PM com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml
INFO: Successfully processed /home/non-admin/NetBeansProjects/Guestbook/build/web/WEB-INF/appengine-web.xml
May 28, 2012 1:41:52 PM com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml
SEVERE: Received exception processing /home/non-admin/NetBeansProjects/Guestbook/build/web/WEB-INF/appengine-web.xml
com.google.apphosting.utils.config.AppEngineConfigException: appengine-web.xml does not contain a <threadsafe> element.
See http://code.google.com/appengine/docs/java/config/appconfig.html#Using_Concurrent_Requests for more information.
You probably want to enable concurrent requests.
at com.google.apphosting.utils.config.AppEngineWebXmlReader.readAppEngineWebXml(AppEngineWebXmlReader.java:79)
at com.google.appengine.tools.admin.Application.<init>(Application.java:139)
at com.google.appengine.tools.admin.Application.readApplication(Application.java:225)
at com.google.appengine.tools.admin.AppCfg.<init>(AppCfg.java:145)
at com.google.appengine.tools.admin.AppCfg.<init>(AppCfg.java:69)
at com.google.appengine.tools.admin.AppCfg.main(AppCfg.java:65)
Bad configuration: appengine-web.xml does not contain a <threadsafe> element.
See http://code.google.com/appengine/docs/java/config/appconfig.html#Using_Concurrent_Requests for more information.
You probably want to enable concurrent requests.
Please see the logs [/tmp/appcfg8910063489276425896.log] for further information.
推荐答案
建立@alex所说的......
To build on what @alex said....
您有第一个错误日志
错误配置:appengine-web。 xml不包含< threadsafe>元件。
有关详细信息,请参阅http://code.google.com/appengine/docs/java/config/appconfig.html#Using_Concurrent_Requests。
第一行
错误配置:appengine-web.xml不包含< threadsafe>元素。
告诉你什么是错的。第二行
tells you what is wrong. The second line
有关详情,请参阅http://code.google.com/appengine/docs/java/config/appconfig.html#Using_Concurrent_Requests信息。
表示要解决问题的GAE文档的哪一部分。
indicates what part of the GAE documentation to study to fix your problem.
我必须承认,错误日志条目非常明确且有用。我希望更多可以按照这里为你做的例子。如果你仍然卡住了,请你准确说明你所坚持的内容吗?
I must admit, the error log entries are very clear and helpful. I wish more could follow the example made for you here. If you are still stuck, please would you specify exactly what you are stuck on?
这篇关于无法在Google App引擎上部署应用程序:appengine-web.xml不包含< threadsafe>元件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!