Hi,
it took me some time to figure out a reproducible deployment error (500
Internal Server Error) when using "mvn appengine:update" on a java project.
It all boiled down to naming a maven property "appengine.version" in the
pom. You can reproduce the error quite easily with the guestbook archetype
(com.google.appengine.archetypes:guestbook-archetype) by adding a single
property to the properties section:
<properties>
<appengine.app.version>1</appengine.app.version>
* <appengine.version>1.7.7</appengine.version>*
<appengine.target.version>1.7.7</appengine.target.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
Whenever invoking "mvn appengine:update", it will produce:
Beginning server interaction for XX...
0% Created staging directory at:
'/var/folders/36/sj4p2r8d5zsdcsglldm9g5m00000gp/T/appcfg1358983840896890500.tmp'
5% Scanning for jsp files.
20% Scanning files on local disk.
25% Initiating update.
com.google.appengine.tools.admin.HttpIoException: Error posting to URL:
https://appengine.google.com/api/appversion/create?app_id=XX&version=1.7.7&
500 Internal Server Error
Server Error (500)
A server error has occurred.
Unable to update app: Error posting to URL:
https://appengine.google.com/api/appversion/create?app_id=XX&version=1.7.7&
500 Internal Server Error
Server Error (500)
A server error has occurred.
Please see the logs
[/var/folders/36/sj4p2r8d5zsdcsglldm9g5m00000gp/T/appcfg6717568630690691095.log]
for further information.
It's no problem to rename the property on my side, but the 500 error seems
like a nasty side effect.
Stefan
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.