Failed to deploy the java application

26 views
Skip to first unread message

Andrei

unread,
Apr 8, 2009, 11:57:03 AM4/8/09
to Google App Engine
Hi

I am trying to deploy a very simple application on Google AppEngine
but i have some problems :

When i am trying to deploy with eclipse :

Creating staging directory
Scanning for jsp files.
Scanning files on local disk.
Initiating update.
Unable to upload:
java.io.IOException: Error posting to URL:
http://appengine.google.com/api/appversion/create?app_id=alexandriasety&version=1&
400 Bad Request
Invalid runtime specified.

at com.google.appengine.tools.admin.ServerConnection.send
(ServerConnection.java:114)
at com.google.appengine.tools.admin.ServerConnection.post
(ServerConnection.java:66)
at com.google.appengine.tools.admin.AppVersionUpload.send
(AppVersionUpload.java:345)
at com.google.appengine.tools.admin.AppVersionUpload.beginTransaction
(AppVersionUpload.java:159)
at com.google.appengine.tools.admin.AppVersionUpload.doUpload
(AppVersionUpload.java:68)
at com.google.appengine.tools.admin.AppAdminImpl.update
(AppAdminImpl.java:41)
at com.google.appengine.eclipse.core.proxy.AppEngineBridgeImpl.deploy
(AppEngineBridgeImpl.java:203)
at
com.google.appengine.eclipse.core.deploy.DeployProjectJob.runInWorkspace
(DeployProjectJob.java:97)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run
(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
java.io.IOException: Error posting to URL:
http://appengine.google.com/api/appversion/create?app_id=alexandriasety&version=1&
400 Bad Request
Invalid runtime specified.


And when i am trying with ant :

copyjars:
compile:
datanucleusenhance:
[enhance] DataNucleus Enhancer (version 1.1.0) : Enhancement of
classes
[enhance] DataNucleus Enhancer completed with success for 0 classes.
Timings : input=54 ms, enhance=0 ms, total=54 ms. Consult the log for
full details
[enhance] DataNucleus Enhancer completed and no classes were
enhanced. Consult the log for full details
update:
[java] Reading application configuration data...
[java] 2009-04-08 18:54:06.306::INFO: Logging to STDERR via
org.mortbay.log.StdErrLog
[java] Beginning server interaction for alexandriasety...
[java] 0% Creating staging directory
[java] 5% Scanning for jsp files.
[java] 20% Scanning files on local disk.
[java] 25% Initiating update.
[java] java.io.IOException: Error posting to URL:
http://appengine.google.com/api/appversion/create?app_id=alexandriasety&version=1&
[java] 400 Bad Request
[java] Invalid runtime specified.
[java] Unable to upload app: Error posting to URL:
http://appengine.google.com/api/appversion/create?app_id=alexandriasety&version=1&
[java] 400 Bad Request
[java] Invalid runtime specified.
[java] Please see the logs [/tmp/appcfg2589572038892256339.log]
for further information.
[java] Java Result: 1
BUILD SUCCESSFUL
Total time: 9 seconds


and in /tmp/appcfg2589572038892256339.log

nable to upload:
java.io.IOException: Error posting to URL:
http://appengine.google.com/api/appversion/create?app_id=alexandriasety&version=1&
400 Bad Request
Invalid runtime specified.

at com.google.appengine.tools.admin.ServerConnection.send
(ServerConnection.java:114)
at com.google.appengine.tools.admin.ServerConnection.post
(ServerConnection.java:66)
at com.google.appengine.tools.admin.AppVersionUpload.send
(AppVersionUpload.java:345)
at
com.google.appengine.tools.admin.AppVersionUpload.beginTransaction
(AppVersionUpload.java:159)
at com.google.appengine.tools.admin.AppVersionUpload.doUpload
(AppVersionUpload.java:68)
at com.google.appengine.tools.admin.AppAdminImpl.update
(AppAdminImpl.java:41)
at com.google.appengine.tools.admin.AppCfg$UpdateAction.execute
(AppCfg.java:469)
at com.google.appengine.tools.admin.AppCfg.<init>(AppCfg.java:
114)
at com.google.appengine.tools.admin.AppCfg.main(AppCfg.java:
59)


Some ideas ?

Thanks you

Andrei Dore

Jeff S

unread,
Apr 8, 2009, 1:24:20 PM4/8/09
to Google App Engine
Hi Andrei,

This is covered in the FAQ:

http://code.google.com/appengine/kb/java.html#runtime

Also, we have a discussion group devoted specifically to questions and
discussion on the Java runtime, so I think your question would better
fit here:

http://groups.google.com/group/google-appengine-java

Happy coding,

Jeff

On Apr 8, 8:57 am, Andrei <andrei.d...@gmail.com> wrote:
> Hi
>
> I am trying  to deploy a very simple application on Google AppEngine
> but i have some problems :
>
> When i am  trying  to deploy with eclipse :
>
> Creating staging directory
> Scanning for jsp files.
> Scanning files on local disk.
> Initiating update.
> Unable to upload:
> java.io.IOException: Error posting to URL:http://appengine.google.com/api/appversion/create?app_id=alexandriase...
> 400 Bad Request
> Invalid runtime specified.
>
>         at com.google.appengine.tools.admin.ServerConnection.send
> (ServerConnection.java:114)
>         at com.google.appengine.tools.admin.ServerConnection.post
> (ServerConnection.java:66)
>         at com.google.appengine.tools.admin.AppVersionUpload.send
> (AppVersionUpload.java:345)
>         at com.google.appengine.tools.admin.AppVersionUpload.beginTransaction
> (AppVersionUpload.java:159)
>         at com.google.appengine.tools.admin.AppVersionUpload.doUpload
> (AppVersionUpload.java:68)
>         at com.google.appengine.tools.admin.AppAdminImpl.update
> (AppAdminImpl.java:41)
>         at com.google.appengine.eclipse.core.proxy.AppEngineBridgeImpl.deploy
> (AppEngineBridgeImpl.java:203)
>         at
> com.google.appengine.eclipse.core.deploy.DeployProjectJob.runInWorkspace
> (DeployProjectJob.java:97)
>         at org.eclipse.core.internal.resources.InternalWorkspaceJob.run
> (InternalWorkspaceJob.java:38)
>         at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> java.io.IOException: Error posting to URL:http://appengine.google.com/api/appversion/create?app_id=alexandriase...
> 400 Bad Request
> Invalid runtime specified.
>
> And when i am trying with ant :
>
> copyjars:
> compile:
> datanucleusenhance:
>   [enhance] DataNucleus Enhancer (version 1.1.0) : Enhancement of
> classes
>   [enhance] DataNucleus Enhancer completed with success for 0 classes.
> Timings : input=54 ms, enhance=0 ms, total=54 ms. Consult the log for
> full details
>   [enhance] DataNucleus Enhancer completed and no classes were
> enhanced. Consult the log for full details
> update:
>      [java] Reading application configuration data...
>      [java] 2009-04-08 18:54:06.306::INFO:  Logging to STDERR via
> org.mortbay.log.StdErrLog
>      [java] Beginning server interaction for alexandriasety...
>      [java] 0% Creating staging directory
>      [java] 5% Scanning for jsp files.
>      [java] 20% Scanning files on local disk.
>      [java] 25% Initiating update.
>      [java] java.io.IOException: Error posting to URL:http://appengine.google.com/api/appversion/create?app_id=alexandriase...
>      [java] 400 Bad Request
>      [java] Invalid runtime specified.
>      [java] Unable to upload app: Error posting to URL:http://appengine.google.com/api/appversion/create?app_id=alexandriase...
>      [java] 400 Bad Request
>      [java] Invalid runtime specified.
>      [java] Please see the logs [/tmp/appcfg2589572038892256339.log]
> for further information.
>      [java] Java Result: 1
> BUILD SUCCESSFUL
> Total time: 9 seconds
>
> and in /tmp/appcfg2589572038892256339.log
>
> nable to upload:
> java.io.IOException: Error posting to URL:http://appengine.google.com/api/appversion/create?app_id=alexandriase...
Message has been deleted

Jeff S (Google)

unread,
Apr 21, 2009, 8:07:15 PM4/21/09
to google-a...@googlegroups.com
Hi Rick,

We're still sending out activation emails :-)

Cheers,

Jeff

On Tue, Apr 21, 2009 at 9:30 AM, Rick <rickc...@gmail.com> wrote:

On Apr 9, 3:24 am, Jeff S <j...@google.com> wrote:
> Hi Andrei,
>
> This is covered in the FAQ:

read as: "blah blah, first 10,000 only, blah blah"

This is Bullshit.

Sorry to use such harsh language, but this is really terrible customer
interaction.

Would it kill Google to change the result of the sign up page to tell
people they didn't make the cut of the first 10,000?
How about some proactive management of expectations?

I hope you continue to receive so many "error 400 won't upload"
messages from potential developers (that you are giving a very bad
first impression to) that you choke on them.

Love and kisses,
Someone that is going to go and look at other solutions - I believe
the Java Posse mentioned something from Amazon that makes a good
substitute - and if he finds one that lets him in why would he come
back to you guys?



Message has been deleted

Rick

unread,
Apr 21, 2009, 10:14:25 PM4/21/09
to Google App Engine
Well looks like I owe you an enormous apology.

I'm sorry. I was wrong.

But that then begs the question (since this is _Google_ we're talking
about).

Why on earth isn't this automated???
Reply all
Reply to author
Forward
0 new messages