[appengine-java] Error on site (JAVA)

2011-09-13 Thread Rohan Chandiramani
The solution to your problem is: don't use that class. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/TcKsg6epj9oJ. To post to this

Re: [appengine-java] App Engine SDK 1.5.4 released!

2011-09-13 Thread Guillaume Laforge
Hi Ikai, I noticed the "overview" link for the prospective search points to the Python version of the page, rather than the Java version. So please just change "python" to "java" in the URL :-) Fortunately, the "java" page already exists. Congrats on the release, I was impatient to look at that p

[appengine-java] How to count and group with BigTable

2011-09-13 Thread cghersi
Hi all, I need to collect some statistics on my entities in the datastore. As an example, I need to know how many objects of a kind I have, how many objects with some properties setted to particular values, etc. In usual relational DBMS I may use SELECT COUNT(*) ... WHERE property= or SELECT MAX(

[appengine-java] starting today: send.Mail took too long to respond

2011-09-13 Thread James Briant
My app can't send email any more. I get this exception every time: com.google.apphosting.api.ApiProxy$ApiDeadlineExceededException: The API call mail.Send() took too long to respond and was cancelled Here's the time for the incoming call: ms=6640 cpu_ms=1568 api_cpu_ms=658 cpm_usd=0.069988 Wha

Re: [appengine-java] How to count and group with BigTable

2011-09-13 Thread Marcelo Liberato
Write a MapReduce mapper to count everything and consolidate back to datastore. Schedule it meaningfully to your needs. On Sep 13, 2011 6:31 AM, "cghersi" wrote: > Hi all, > > I need to collect some statistics on my entities in the datastore. > > As an example, I need to know how many objects of a

[appengine-java] Re: Help: Memcache - not hitting at all

2011-09-13 Thread Simon Knott
My only two comments are: - MemCache can contain null values - it wouldn't be the cause of your issue but it's worth checking for null, rather than assuming that the returned value has a length. - Your data will never stay in MemCache for 30 days - how often are your calls betwe

[appengine-java] Re: starting today: send.Mail took too long to respond

2011-09-13 Thread Sudhakar Abraham
Here is a sample code segment ( which is working ) for sending mail using Google App Engine. Please see the documentation @ "http:// download.oracle.com/javaee/1.4/api/index.html". Hope it helps. S. Abraham www.DataStoreGwt.com // client side code import com.google.gwt.core.client.EntryPoint; i

[appengine-java] SocketTimeoutException when doing URLFetch between 2 apps

2011-09-13 Thread Daniel Florey
Since a few days I get SocketTimeoutException when trying to communicate between two different apps running on app engine. App A calls B, B calls back A and this causes the timeout. I've increased the URLFetch timeout to the max but still see this error. It is reproducible. I've turned threadsafe

[appengine-java] Can't connect with database

2011-09-13 Thread Summit
Hello I am using Java for Google App Engine on my site http://game-lie.appspot.com/ It is based on PHP. But while connecting to any database on any server, I can't establish the connection. Please take a look or give me access to connect my application to any other server. Best Regards Summi

[appengine-java] Re: Can't connect with database

2011-09-13 Thread Simon Knott
Hi, You can't connect GAE applications to external databases directly. The only external connections which are allowed are connections over the HTTP protocol. Cheers, Simon -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To vi

[appengine-java] Re: Can't connect with database

2011-09-13 Thread Simon Knott
Sorry, I should also have added that GAE doesn't currently support PHP either! -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/--tLa

Re: [appengine-java] Help: Memcache - not hitting at all

2011-09-13 Thread realdope
I took suggestions from Nicole and it seems to be working now.. Although I'm still uneasy about it. How does contains(key) work? If I store a non-null value into the Memcache, why would get(key) ever return null? What's wrong with the existing code that I posted that Memcache.hasById(id) always

[appengine-java] Re: Issues using JDO query in RemoteAPI

2011-09-13 Thread Kesava Neeli
Hi Anyone has idea on how to make changes to appengine datastore from a java client running on your local desktop? My test app in the original post connects successfully to my remote app with "Remote API". But the standard JDO persistence API calls fail. Am I missing any steps? The same code w

[appengine-java] Twitter streaming API on Java GAE

2011-09-13 Thread culov
Hi, With the steep rise in prices, I need support for the streaming API if I hope to be able to stay on GAE and afford it. Are there any plans to support Twitter streaming API with Backends? -- You received this message because you are subscribed to the Google Groups "Google App Engine for Jav

[appengine-java] Testing incoming mails on local development server

2011-09-13 Thread Sven Busse
Hi, sometimes you want to test incoming mails with attachments or other things on your local development server. The admin console does not allow this currently. I thought, i share a little setup, that i just found, which works quite well for some scenarios. Here for i use - the REST Conso

[appengine-java] text attachment problem in Google App Engine?Please help me

2011-09-13 Thread John
I want to attach the text on mail using Googl App Engine. I send my code segment What mistake i done. please help me. //serverside code. public class MailServlet extends HttpServlet { private static final long serialVersionUID = 1L; public void doPost(HttpServletRequest req, Ht

[appengine-java] can't attach text with mail using Google App engine? please help me

2011-09-13 Thread John
I don't know what mistake i did in the server side code of google app engine, I send my code segment to you. Thanks for advance . //server side code public class MailServlet extends HttpServlet { private static final long serialVersionUID = 1L; public void doPost(HttpServletReque

[appengine-java] How to detect the event of instantiating another instance of app

2011-09-13 Thread Art
Dear group, I would like to know whether there is way to detect the event of instantiating another instance of app. I need to detect it to trigger clearing local cache what I like to put as a layer before memcache. Because it's the local cache, I like to simply clear it for sychronization reas

[appengine-java] Re: How to detect the event of instantiating another instance of app

2011-09-13 Thread Didier Durand
Hi, You could try (didn't do it myself) the load-on-startup param with a value > 0 in the definition of a given servlet within web.xml This starts the servlet when the application is deployed in starting container. That should allow you to do what you want regards didier On Sep 13, 11:29 pm,

[appengine-java] Unrecognized element

2011-09-13 Thread fachhoch
I added true to my appengine-web.xml this is the error I get I am using 1.4 sdk com.google.apphosting.utils.config.AppEngineConfigException: Unrecognized element at com.google.apphosting.utils.config.AppEngineWebXmlProcessor.processSecondLevelNode(AppEngineWebXmlProcessor.java: 111)

[appengine-java] disable warmup-requests-enabled

2011-09-13 Thread fachhoch
I want my application to startup only once ie my servlet-listner to be called once , so I added warmup-requests-enabled and set it to false. in my appengine-web.xml here is my file http://appengine.google.com/ns/1.0";> srini-links 1

Re: [appengine-java] Help: Memcache - not hitting at all

2011-09-13 Thread Simon Knott
Hi, I'd hope that the value is never null, it was just an observation. How long is there between a *putById *and a *hasById*? Cheers, Simon -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visi

[appengine-java] HardDeadlineExceededError because servlet-listnrer getting called frequently

2011-09-13 Thread fachhoch
I am getting this error frequently 2011-09-14 02:03:01.663 Uncaught exception from servlet com.google.apphosting.runtime.HardDeadlineExceededError: This request (c6a11540db48037e) started at 2011/09/14 06:02:01.345 UTC and was still executing at 2011/09/14 06:03:01.640 UTC. the problem is gae i