gae-eclipse-plugin

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

。_饼干妹妹 提交于 2019-12-04 04:46:32
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.java:58) 05-06 18:32:28.343: W/System.err(11783): at com.google.api.client.http.javanet.NetHttpRequest

Method interference in Google Cloud Endpoints with Google Eclipse Plugin

六眼飞鱼酱① 提交于 2019-12-04 02:44:05
I am experiencing a strange behavior while generating endpoints using the Google Appengine Eclipse plugin. I have an endpoint class with over 20 endpoint methods. When I first tried generating the endpoints for android I get the error Generating Cloud Endpoint has encountered errors and is not complete By way of troubleshooting, I comment out all the methods to find the culprits. What I found is a bit baffling. After uncommenting the 16th method, I get the error again. There are two methods that are interfering with each other! If I comment out one or the other the endpoint is generated fine.

Why does Eclipse consider that the app engine sdk jar is the directory where the app engine SDK is?

末鹿安然 提交于 2019-12-03 18:28:24
问题 I have a Google App Engine project imported in Eclipse. For some reason when I go to Eclipse project properties the Google App Engine SDK seems to be saved as the location of the jar (appengine-api-1.0-sdk-1.4.0.jar) instead of the location where the actual SDK is. If I modify the settings of the project to use the correct SDK, the new setting is not saved. Because I can't modify the setting I can't deploy my application from inside Eclipse anymore. 回答1: Was it a maven gae project? If so, I

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

寵の児 提交于 2019-12-03 07:42:53
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. 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 project. Your GWT app will be one of those. And follow the instructions for modules here: https://developers

java.security.AccessControlException: File accessible thru browser but not within same server

有些话、适合烂在心里 提交于 2019-12-01 13:30:27
So to not repeat myself too much, please refer to serve static image along side java google-enpoint api . As you can see from the referenced link, I am able to view the image through the url. However, when I am trying to read filenames using similar code to public void listFilesForFolder(final File folder) { for (final File fileEntry : folder.listFiles()) { if (fileEntry.isDirectory()) { listFilesForFolder(fileEntry); } else { System.out.println(fileEntry.getName()); } } } final File folder = new File("/home/you/Desktop"); listFilesForFolder(folder); I get a security exception java.security

combining blob servlet with endpoint api

雨燕双飞 提交于 2019-11-30 15:27:00
问题 Here is my web.xml <?xml version="1.0" encoding="utf-8" standalone="no"?> <web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.5" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"> <servlet> <servlet-name>Upload</servlet-name> <servlet-class>Upload</servlet-class> </servlet> <servlet-mapping> <servlet-name>Upload<

using blobstore with google cloud endpoint and android

*爱你&永不变心* 提交于 2019-11-27 17:13:21
I am developing an app-engine connected android project using the eclipse plugin. One aspect of the app is to allow user Alpha to send pictures to user Bravo. To do that I have the following setup: User Alpha posting: send image to my app engine server through endpoints server stores image in blob store server stores blobkey in datastore User Bravo getting: server gets blobkey from datastore server gets image using blob key server sends image to android app using endpoints This setup takes upward of two (2) minutes from when my android app sends an image to when I can see it in the blob sore.

using blobstore with google cloud endpoint and android

谁都会走 提交于 2019-11-26 18:54:34
问题 I am developing an app-engine connected android project using the eclipse plugin. One aspect of the app is to allow user Alpha to send pictures to user Bravo. To do that I have the following setup: User Alpha posting: send image to my app engine server through endpoints server stores image in blob store server stores blobkey in datastore User Bravo getting: server gets blobkey from datastore server gets image using blob key server sends image to android app using endpoints This setup takes