John Doe
John Doe

Reputation: 9764

Java App Engine: "appengine-web.xml does not contain a <threadsafe> element" message

When I tried to run a Google web app in Eclipse, I got appengine-web.xml does not contain a <threadsafe> element and the app didn't run (well, any new app still does not). It wasn't hard to fix (I just added this element with a true value in the appengine-web.xml file), but I didn't get this error before. What can be a reason of such an unexpected behaviour? Thanks in advance.

Upvotes: 9

Views: 6383

Answers (1)

user479870
user479870

Reputation:

Google announced this in the release notes for 1.6.4 and enforced it in the latest release.

Omitting the <threadsafe> directive from appengine-web.xml now results in a warning. Starting with the 1.6.5 release, omitting this directive will result in an error.

http://code.google.com/p/googleappengine/wiki/SdkForJavaReleaseNotes

Upvotes: 15

Related Questions