gae-eclipse-plugin

Google appEngine: 404 when accessing /_ah/api [duplicate]

那年仲夏 提交于 2019-12-22 03:25:08
问题 This question already has answers here : Failed to retrieve API configs with status: 404 - Google App Engine (3 answers) Closed 4 years ago . I try to build a very simple GAE application, using eclipse and the Google Plugin for Eclipse. I've generated some Endpoint from an @Entity class, then I've generated Cloud Endpoint Client library. After that I've started the appEngine project (within eclipse, on the embedded jetty server). When I try to access /_ah/api I get the following issue: HTTP

serve static image along side java google-endpoint api

自作多情 提交于 2019-12-20 06:34:11
问题 In Python to host a basic website on app-engine, I can put all my image files in a static directory, say img, and then in the yaml file have - url: /img static_dir: img then to access my images, I simply do myid.appspot.com/img/pic.jpeg I need to do the same thing for a Java google-endpoint backend. How would that work? I am using the Google-eclipse-plugin. I suppose I need to edit the web.xml file. But I am not sure what I would put in there. The structure of my /img directory is such that

How to increase download timeout setting in Eclipse 3.6 (Helios)

主宰稳场 提交于 2019-12-12 13:22:01
问题 I'm having trouble downloading the Google App Engine plugin for Eclipse. Specifically, it times out when it reaches this file: com.google.gwt.eclipse.sdkbundle.2.1.0_2.1.0.v201010280102.jar I'm able to download it manually, but downloading pauses for a very long time right before finishing (???) I figure if I can increase the download timeout, I can get the installation to work, but how do I do this? 回答1: I believe all URLConnection -based provider are managed by system properties, which are

Google App Engine update or rollback not working

ぐ巨炮叔叔 提交于 2019-12-11 06:46:50
问题 I am having trouble deploying my Google app engine project. It tells me to do a rollback, so I do that and it says it succeeded... but when I redeploy it fails again! I try changing the version of my app and update but it STILL fails with the same error message. I tried deploying the same project to on of my other app engine applications and it works fine. It's like I have been permanently locked out of doing updates to my app!! Has anyone experienced this before? Here is the output from

AppEngine Development Server gives StackOverflowError in JSP

你说的曾经没有我的故事 提交于 2019-12-11 02:41:23
问题 I'm using the following code in a JSP file which I serve from an AppEngine serlvet. <script type="text/javascript" > var role = <%= request.getAttribute("role") %>; </script> The variable is set from a Servlet using: req.setAttribute("role", role ); req.getRequestDispatcher("index.jsp").forward(req, resp); The code runs fine on AppEngine production but in the local development server I get the following straight away: Problem accessing /. Reason: INTERNAL_SERVER_ERROR Caused by: java.lang

Google Cloud Endpoint keeps throwing “unexpected end of stream” exception

落花浮王杯 提交于 2019-12-09 17:23:26
问题 Does anyone know why Google Cloud Endpoint keeps throwing unexpected end of stream exception even before my app engine instance is actually reached? I keep getting the following error when I call my endpoint. In most places the error shows after every other call; in rare others it's consistent. 05-06 18:32:28.335: W/System.err(11783): java.io.IOException: unexpected end of stream 05-06 18:32:28.343: W/System.err(11783): at libcore.net.http.FixedLengthOutputStream.close(FixedLengthOutputStream

Google App Engine (GAE) message.getContent() using javamail and IMAP not works

 ̄綄美尐妖づ 提交于 2019-12-06 16:40:23
I have several days trying to get the contents of a message through IMAP on a Google App Engine Project. I managed to extract all the other information, but to extract the contents of jumps me an error message (not work even invoking message.getContent.tostring(), I've tried as MultiPart). I perform the same action from a normal project , (not GAE and using javamail.1.4.7), the content of the messages shown perfectly. This is the code of GAE project: import java.util.Properties; import java.util.logging.Logger; import javax.mail.Session; import java.io.IOException; import javax.mail

Compiling JSPs is very slow while uploading on Google App Engine

一世执手 提交于 2019-12-06 06:44:34
while uploading App Engine Application to server, GAE upload is very slow and gets stuck at "Compiling JSP". I have seen a bug for the same here - http://code.google.com/p/googleappengine/issues/detail?id=4222 , but could not find a solution. I have many JSP files. When I cut down the number of jsp files to 10, the files get uploaded in 10-15 mins ... but when I increase the number to 50, there seems to be a lot of delay (in hours). It used to work fine with GAE 1.4.2. The issue is seen on the latest version GAE 1.6.2.1 Is there a workable solution/fix/workaround for this? 来源: https:/

Add scala class to DataNucleus enhancer CLASSPATH

巧了我就是萌 提交于 2019-12-06 04:39:31
I am writing a Google App Engine web app and wish to use Scala on the server side. I'm using Eclipse and the Google App Engine plugin. However, as soon as I add an empty Scala class source file to my project, the DataNucleus enhancer warns: SEVERE: Class "com.my.package.UserAccount" was not found in the CLASSPATH. Please check your specification and your CLASSPATH. I will eventually get round to making the class persistent but I want to get rid of this error first. So far I've added the Scala Nature, and have tried cleaning the project and also restarting Eclipse but I always get the same

how to create gwt gae with app engine modules using google eclipse plugin

被刻印的时光 ゝ 提交于 2019-12-04 12:01:24
问题 How to create a new GWT and GAE project with modules using google eclipse plugin in Java? I tried using make a new web applications from the eclipse, but it just create me a GWT and GAE project without modules. Thanks. 回答1: You'll probably want to first create a WTP project using GPE, because to use modules you'll need to create an EAR project. This is described here: https://developers.google.com/appengine/docs/java/webtoolsplatform You'll create modules, which will each be a dynamic web