Hi,
would it be a good idea to keep an member variable with an httpClient.
With that would be not neccessary to create a new DefaultHttpClient
each time data is posted? Think of a use case in which data is posted
or getted in intervalls...
Greetings!
Sky
On 7 Feb., 11:01, Sky
Hi meyertee,
I'm using the account which I've created the app with!!
Where may I set the authentication permissions?
Thank you very much!
Bye
CRI
On Jan 18, 7:38 pm, meyertee meyer...@gmail.com wrote:
Are you using Google Apps to authenticate users?
If you are, try signing in with a Google
In this example it looks like you replace existing list
(r.seznamNemovitosti) with completely new one. But what if there is
already existing list?
Another question. In JDO documentation it's told you don't need to
make persistent all members of the object separately - all of them
should be stored
some api of persistence in scala for gae?
--
You received this message because you are subscribed to the Google Groups
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to
Hi,
Starting points (also to get in touch with those people):
http://groups.google.com/group/google-appengine-java/browse_thread/thread/322f249eea7354d/5fbf635c15ffdba2?lnk=gstq=scala#5fbf635c15ffdba2
I'm looking for is an api to replace, JPA, JDO, objectify, that is written
in scala.
--
You received this message because you are subscribed to the Google Groups
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from
Hi again,
Is https://github.com/FaKod/JPA-for-Scala what you are looking for ?
didier
On Feb 9, 1:49 pm, Davi da Silva Nogueira davis...@gmail.com wrote:
I'm looking for is an api to replace, JPA, JDO, objectify, that is written
in scala.
--
You received this message because you are
Each page is pre-compiled for the live app. On the development server
pages are compiled on the fly. This means that you have to pass your
variables as parameters or attributes. I believe the best design
pattern is to have a servlet catch your page request, create all the
variables you need to
Could you tell me please how can I test cron locally?
As far as I see it doesn't work.
My code is dead simple.
public void doGet(HttpServletRequest req, HttpServletResponse resp)
throws IOException
{
System.out.println(inited!);
Hi - I am creating a solution where I need to give a subdomain address
for my customers eg:
hello.xxx.com should revert back to appid.appspot.com/xxx
Worst case
xxx.appid.com pointing to appid.appspot.com/xxx
Is it possible with Google app engine?
If not, if there something I can play with.
I am using Tiles and Struts in GAE App. All works on localhost but
after uploading all into GAE one page doesn't work. No exception, no
errors in logs in Admin. Quota is not exceed. How to know what is
happened? Unfortunately all were work before Tiles. Please help me!
--
You received this
I have entity with 5 records into it. Now I want to replicate those 5
records into 500 records into same entity.
so please suggest me how to do this I dont want to access each
property of entity.
Thanks in advance
--
You received this message because you are subscribed to the Google Groups
Hello,
I hope my message would pass through pre-moderation :)
The thing is — I need to trigger one task every 5 minutes in the
interval from 01am till 04am.
Cron would be good.
But as I can see Google has cut off most of the Cron's native
functionality.
And my problem can not be solved only
According to
http://code.google.com/appengine/docs/java/taskqueue/overview.html#Task_Execution
a
single task has up to 10 minutes to execute. However, while testing my app
in slow mode I discovered that the GAE/J SDK consistently times out queue
tasks in 30 seconds (I'm on version 1.4.0).
I'm building a healthcare app that will filter all requests (url pattern *,
ideally). In the filter, I'm checking to see if the user is logged in and
throwing the login page if he isn't (using Google user service). On the dev
server this is a problem because the login page is simply a
Do you mean that all pages work, except one? Or not even one works? I am
asking because if it the former, then the problem is page-specific. If it's
the latter, then something's wrong with your application config.
--
You received this message because you are subscribed to the Google Groups
I'm not aware of one. Write one and open source it! The low-level datastore
API is simple enough to port to Scala:
http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/package-summary.html
You can build type safe abstractions around it.
--
Ikai Lan
Developer
You probably already know this, but just in case you don't, appid has to
be replaced with your app's real application id, as defined in your
appengine-web.xml (for Java) or app.yaml (for Python).
If you knew this already and you still cannot send emails, then you might
have found a bug in
Hi,
In my app I have approached this problem in a different way without using
filters.
1)I have a login servlet which checks for login and forwards to login page
if user is not logged in. If the user is logged in ,it redirects to first
page of app(different from index.html)
2)the index.html in
Hi,
Cron doesn't work locally on dev server:
http://code.google.com/appengine/docs/java/config/cron.html#Cron_Support_in_the_Development_Server
regards
didier
On Feb 9, 10:45 am, momijigari r.oskol...@gmail.com wrote:
Could you tell me please how can I test cron locally?
As far as I see it
Hi,
Google App Engine supports domain name wildcards via Google Apps dns:
see http://code.google.com/appengine/docs/domain.html (especially
bottom paragraph)
but, it's not really an answer to your question as your xxx gets lost
during redirection: all urls go to a single one but you lose the
Hi,
me again: my post above may be the right solution after all, under the
condition that the wildcarding just does the redirect but does not
change url. You have to check this after setting up your dns wildcard
If yes, you are all set:
a) you do redirect *.xxx.com to
Hi,
If you're ok with creating 36 different jobs in you cron.xml
(according to
http://code.google.com/appengine/docs/java/config/cron.html#About_cron_xml),
you can do it by having a separate job
cron
url/myurl/url
descriptionmy job of 01:00/description
scheduleevery day 01:00
Last night we had a sudden traffic spike at 21:00 (CET). Requests were at a
steady 40 req/s when we suddenly had more than 400 req/s. This led to our
application being almost entirely down for about 10-15 minutes. I think that
it’s because many new app instances are being fired up at the
Are you on the Master/Slave datastore or the High Replication datastore?
If those puts are putting in the same kinds of entity, then those spikes
look a little suspicious to me!
--
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post to
i'm the default one (master/slave)
yes, that spikes is suspicious, hope can have someone explaining this, or
advise how to avoid this
- eric
On 9 February 2011 17:42, Simon Knott knott.si...@gmail.com wrote:
Are you on the Master/Slave datastore or the High Replication datastore?
If those
Have you got 'warmup requests' enabled in your app.yaml config file?
See
http://code.google.com/appengine/docs/python/config/appconfig.html#Inbound_Services
How long does it take for an instance to load? You will find the times
(ms) in your log, search for Info message with This request caused a
Have you actually investigated the source of the spike?
And what exactly the errors where - ie looking the logs, rather than just
the number of errors?
For example it could of been a script scanning for vulnerablities (such as
searching for all the folders phpmyadmin could be installed in) - and
I just tried adding Expires and Date headers and that doesn't work
either.
On Feb 8, 4:52 am, Joshua Smith joshuaesm...@charter.net wrote:
Have you tried using:
self.response.headers[Cache-Control] = public
self.response.headers[Expires] = …some code to generate a time
I've been having trouble changing budget for the last couple of hours.
It keeps on returning the following error message:
Billing Command Failed
There was an unexpected error and your budget settings were not saved.
Please try again. If this problem persists, please contact support.
I've tried
Same here, and increasing stored data budget is also failing.
seacloud-1.appspot.com
On Feb 8, 9:08 am, David Mora dla.m...@gmail.com wrote:
same here
(already reported thru appengine billing tho)
It seemed to happend just after the maintenance
On 8 February 2011 10:30, David
What I am noticing recently is that even if a user doesn't submit a
file (i.e. leaves the file upload field empty) an empty blob is
created anyway and I get the blobinfo object for it. I am pretty sure
it wasn't like that before, has anyone else also noticed that?
To clarify, by an empty blob
Is there a way to execute code on a new appengine deploy but not on a
load of a fresh app instance due to reasons other than a new deploy?
I would like our appengine instance to process a bunch of files on a
new deploy, but not any other time. Is there a good way to do this?
Obviously processing
We've address the underlying cause of the issue. Quotas should be working
correctly for stored task bytes.
--
Ikai Lan
Developer Programs Engineer, Google App Engine
Blogger: http://googleappengine.blogspot.com
Reddit: http://www.reddit.com/r/appengine
Twitter: http://twitter.com/app_engine
On
There are no post-deploy hooks, but you can probably wrap the deploy script
to invoke a handler that fires off a job that does what you need.
--
Ikai Lan
Developer Programs Engineer, Google App Engine
Blogger: http://googleappengine.blogspot.com
Reddit: http://www.reddit.com/r/appengine
Twitter:
I don't want any users involved. This is a classic app to app web
service communication.
Seems like there should be some way in GAE to solve this classic
problem.
On Feb 7, 12:02 pm, Robert Kluin robert.kl...@gmail.com wrote:
Perhaps you could use OAuth, or some similar idea? Basically, during
Your quotas look fine to me. They were likely just lagging behind. If you
need more breathing room, you can enable billing to set slightly higher
limits.
--
Ikai Lan
Developer Programs Engineer, Google App Engine
Blogger: http://googleappengine.blogspot.com
Reddit:
Can anyone else confirm this or provide details? It'd be helpful to know if
this was passing or not.
--
Ikai Lan
Developer Programs Engineer, Google App Engine
Blogger: http://googleappengine.blogspot.com
Reddit: http://www.reddit.com/r/appengine
Twitter: http://twitter.com/app_engine
On Tue,
Singuan, the identifier (OAuth request token) has limited lifetime.
Therefore, there is no sense to store it as it will be obsolete rather soon.
--
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post to this group, send email to
Ok. So I've changed the entities to use entity.setUnindexedProperty().
To get rid of the superfluous the indices I'm doing something like
this:
Query q = new Query(PlayerSnapshot.class.getName());
ListEntity asList =
ds.prepare(q).asList(FetchOptions.Builder.withLimit(n).offset(o));
You can solve it in GAE just like anywhere else. Store the password
(or token) in the client, send it with the request and / or sign the
request somehow, and validate the request server side. Nothing really
special about GAE in this respect.
Robert
On Wed, Feb 9, 2011 at 14:27, DR
The environment variable CURRENT_VERSION_ID is in the format X.Y, where X is
the version specified in your app.yaml and Y is a number generated by App
Engine for each deployment.
You could store the previous value of Y in the datastore and when currentY
!= previousY kick off your file
I'm currently experiencing a ton of errors from latency right now.
Looks like it started about 45 minutes ago. CPU usage has dropped to
very low and time per request has raised up so I suspect it's just
blocked on the datastore.
David
word-play.appspot.com
On Feb 9, 11:32 am, Ikai Lan (Google)
A lot of people use reverse proxies
Some even invested their time and built reverse proxy clouds on amazon
or rackspace
On Feb 9, 1:14 am, Sean renegade...@gmail.com wrote:
Hi, I'm trying to link a domain to my App, but I'm unable to register it
with Google Apps because it contains profanity
Are you putting large batches of entities there?
Compare the entity_write_bytes to some of the other entries.
Robert
On Wed, Feb 9, 2011 at 04:58, Eric Ka Ka Ng ngk...@gmail.com wrote:
i'm the default one (master/slave)
yes, that spikes is suspicious, hope can have someone explaining
Hi Ritesh,
There is really nothing to prefetch in this case. Author.posts is
actually a query object (that is added to the model at run time).
Depending on your needs there are two good solutions, 1) put the
author data you need on Post so you only query Post objects, or 2)
store a list of
IIRC, gdata access tokens (which is what you'll upgrade the request
token to) don't expire. Are you sure App Engine access tokens expire?
Robert
On Wed, Feb 9, 2011 at 14:40, anatoliy anatoliy.arteme...@gmail.com wrote:
Singuan, the identifier (OAuth request token) has limited lifetime.
Hi Ikai,
It looks like I must be the only one seeing these strange things. I may have
screwed something up on my end. I added the java reCaptcha jar to my project
to add reCaptcha to a couple of my pages and I'll undo that to make sure
that isn't affecting things. But below is another example of
Thanks! CURRENT_VERSION_ID seems like it should work perfectly. I'm
using java and I couldn't find any documentation about that variable
in the Java docs, but it appears to be this system property:
com.google.appengine.application.version.
I'm going to set up a ServletContextListener to check
+1... From about 10:30am to 11:20am PST I saw a steady stream of
deadline exceeded exceptions normally I see 1 or 2 every other
hour at most...
On Feb 9, 3:40 pm, Stephen Johnson onepagewo...@gmail.com wrote:
Hi Ikai,
It looks like I must be the only one seeing these strange things. I may
Update:
I pulled the reCaptcha jar out of the project just to make sure there wasn't
something funky in it and I redeployed. Still no change.
From my logs for a startup request to main page which pulls one string from
memcache and the Session object and displays page, I get the following in my
i do notice a bit more of latency, which translates to about +1% of CPU.
I guess that in order to accurately report this you should have
metrics for before and after the maintenance.
But looking quickly thru the API status:
http://api-status.com/6404/117406/Google-App-Engine-API
it seems like
I have a BlobstoreUploadHandler that works when I run the development
server, but it consistently fails when I deploy it. When the upload is
handled, get_uploads() is always returning an empty list, I'm
expecting a list of BlobInfo's. Can anyone spot what I might've done
wrong here?
class
Wow, Calvin, great trick! I didn't think of this. Y is a minor version.
For all intents and purposes it doesn't serve many purposes, but a lot of
people find it useful for things like this.
--
Ikai Lan
Developer Programs Engineer, Google App Engine
Blogger: http://googleappengine.blogspot.com
Hi guys.
I'm trying to create an application with a google account that is not @
gmail.com.
(ad...@mygoogleappsdomain.com)
After creating the application, I'm redirected to the create application
page.
Without any application.
Can I use any google account to create an application, or only
Isn't that going to incur an extra datastore access on every request?
--
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to
I have tried putting code in the Contacts page, the App Controller
page, and a login view page i made. I am extremely frustrated. Please
assist.
Thanks
--
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post to this group, send email to
True, but he could have only one url checking the value (i.e.
/_post_deploy_url/) that's isn't used for any other purpose. This would
just be a way to make sure the processing is run only once per deployment.
I admit it's odd and hacky, but it meets the requirements. - Every
programmer ever.
True, but he could have only one url checking the value (i.e.
/_post_deploy_url/) that's isn't used for any other purpose. This would
just be a way to make sure the processing is run only once per deployment.
I admit it's odd and hacky, but it meets the requirements. - Every
programmer ever.
I was planning on doing the datastore check from the
contextInitialized method of a ServletContextListener. That should
only be executed once per load of an app instance, right?
--
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post to
It looks like you're right. That should only execute on warmup/first
request.
--
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send
Be carefull, because you could run into a dogpile effect.
Multiple new instances start at the same time and the version number you
have stored hasn't been updated and all instances try and perform the task
at the same time.
I think It would be much more reliable to wrap your deploy script to
I noticed the same thing when using closure library in our dev environment.
First, I highly recommend setting up closure compiler. In addition to making
your JS output smaller for production, it has multiple modes of operation
including a mode that figures out your JS dependencies and
That shouldn't be a problem. Check and update the version number in a
transaction. If the transaction succeeds then it performs the task because
it was the instance that updated the version otherwise if it fails due to a
ConcurrentModificationException than some other instance is carrying out the
Have you tried this with a web form yet? The best way to track down this
issue is to first try to get it working with a web form, then build a
client. I don't see any reason why this wouldn't work, but I'd first want to
rule out that it's not server side related.
My guess is that it's probably
Does it work when you log in at appspot.com/a/mygoogleappsdomain.com?
On Wed, Feb 9, 2011 at 17:25, Felippe Bueno felippe.bu...@gmail.com wrote:
Hi guys.
I'm trying to create an application with a google account that is not
@gmail.com.
(ad...@mygoogleappsdomain.com)
After creating the
Hi Dave,
You might want to provide some of the code you've tried, or at least
a link to the tutorial you're following.
Robert
On Wed, Feb 9, 2011 at 17:55, Dave Allen david.michael.al...@gmail.com wrote:
I have tried putting code in the Contacts page, the App Controller
page, and a
hai haw r i
--
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to
google-appengine+unsubscr...@googlegroups.com.
For more
Year, it has dropped down today, thx.
On Thu, Feb 10, 2011 at 3:28 AM, Ikai Lan (Google) ikai.l+gro...@google.com
wrote:
Your quotas look fine to me. They were likely just lagging behind. If you
need more breathing room, you can enable billing to set slightly higher
limits.
--
Ikai Lan
Ah, the way back machine comes to the recue again.
Thank you so much for your help. After a little more thought I re-factored
my form so it's a little simpler now and I don't need to attach errors to
multiple fields, so I haven't tried it just yet, but I'm sure I'll need to
do this again in
Hi Robert,
if i didn't trace wrongly, that suspiciously big CPU eating PUT is just
putting a single entity, not putting a batch of entities
but i'm not sure what these values mean
entity_write_bytes = 1668453L (which is 1.xMB? )
entity_writes = 1L (1 entity to write? )
- eric
On 10 February
Hello.
Sometimes an error occurs because a db query went wrong...
Then in the logs there is an entry in that way:
javax.persistence.NonUniqueResultException: Expected a single result for query:
SELECT FROM Employee WHERE user=:user : The query returned more than one
instance BUT either unique
72 matches
Mail list logo