This is strange - there should be nothing browser specific about the
session.
Try to isolate the behavior by removing OAuth out of the equation. What
happens when you store a variable in session scope without the OAuth flow?
Does it change each time?
--
Ikai Lan
Developer Programs Engineer,
Answers below.
--
Ikai Lan
Developer Programs Engineer, Google App Engine
plus.ikailan.com
On Tue, Jan 17, 2012 at 9:24 AM, Paul Bartosik paulhbarto...@gmail.comwrote:
I have spent a bit of time banging up against Entity Group issues. In
all cases, the problem was with my JPA. I had made
On second examination, I could be wrong about JPA. I'll need to test this
and see.
http://stackoverflow.com/questions/4909012/how-to-create-an-object-in-a-specific-entity-group-with-jpa-google-appengine-j
If you get around to this before me, can you let me know if it works?
Note that as of a
I had a look in the source code and found out that the dev server is
started in a different jvm by KickStart.main. This jvm has following
command line:
java -javaagent:sdk_path/lib/agent/appengine-agent.jar -
Xbootclasspath/p:sdk_pathlib/override/appengine-dev-jdk-
overrides.jar -classpath
Quick question:
If WAR's are deployed to GAE container and the JRE white list does not
contain the spring classes (or hibernate or whatever framework you
pick that is outside of JRE Whitelist), how do you incorporate spring
or whatever J2EE framework and it run in GAE?
Thanks
Paul
--
You
The whitelist only details JVM classes that are allowed. You can including
classes with your project as much as you like (as long as they don't depend
on the missing JVM classes) so to use Spring, you have to include the
spring jar file(s).
Mat.
On 18 Jan 2012 20:33, Paul Ford
ok got it Matthew. I am a noob so excuse my ignorance, So you would apply
the spring jar as a library reference in your say eclipse project. Compile
your project war (which includes that spring jar) and deploy to GAE? If
correct would the spring jar then run in the JVM container?
I'm sure I'm
Yep, just double checked. JPA's @OneToMany has absolutely nothing to do
with entity group hierarchies. You'll have to use KeyFactory. Re-read my
original email and ignore the one that begins with on second examination
.. .
--
Ikai Lan
Developer Programs Engineer, Google App Engine
Hi Paul,
No problem being a noob :-) Yes, you're right, just add the relevant
libraries to your project and make sure they're included in the output,
which I think is default anyway (as opposed to libraries like lombok that
are just there at compile-time)
Mat.
P.S. I'm living in Northampton
I found the property for the memcache L2!!! ;)
For the ordered collection I see the v2 is yet in RC* status, so I
prefer to stay on the v1 version ..
I noticed if I set a collection datanucleus always complains because
the owner set is different from the one it expects:
Object
I could hardly imagine this is a feature ;-)
Is there any update around?
My setup is:
macos 10.7.2
eclipse 3.7
gae 1.6.1
spring framework 3.1
Thanks for any feedback.
--
You received this message because you are subscribed to the Google Groups
Google App Engine for Java group.
To view this
Hi Chris,
Solution to your problem can be fixed by moving
oauthParameters.setOAuthCallback(http://myappengine/connect.jsp;);
after oauthHelper.getUnauthorizedRequestToken(oauthParameters);
But this is oauth 1.0 not the updated 1.0.a, means you won't receive a
verifer id and will have the yellow
hi
this is priyatham suresh
i have devoloped a simple playframework-crudsiena-2.0.2-gae-1.6.0_b1
application.
it runs successfully in my local db
but when i run this in app engine it displays the following error message
*The server encountered an error and could not complete your
Eclipse is failing to do oauth to app engine so I have no expectation
it would ever work for anything I could possibly develop;)
Seriously how do I reset my eclipse app engine credentials for my Java
projects. Command line works fine and I use ouath for an app but
deploy from eclipse for the same
Some additional notes:
A previous version of this code that did significantly more but
smaller writes ran out of memory much sooner.
Event is a db.Model class that is used to record things that happen on
our system. There could be 10's or 100's of 1000's processed by this
code. A future version
I've just tried commenting out the f.write(buf.getvalue()). When I do
this, the code successfully processes all of the records. Is there
something incorrect in the way I'm using the blobstore files API?
--
You received this message because you are subscribed to the Google Groups
Google App
I was in the same position in August, with our apps on M/S.
The DEE errors began to appear, then were more and more frequent and
finally had a high impact on our app availability.
We migrated to HRD writing our own mapreduce and then all went fine
(except for the costs but hey, was the price for a
Cezary, I was in the same position in August, with our apps on M/S.
The DEE errors began to appear, then were more and more frequent and
finally had a high impact on our app availability.
Our warmup requests, that only load code, were randomly taking from a
few secs to more than 30sec and so
Cezary, I was in the same position in August, with our Python apps on
M/S.
The DEE errors began to appear, then were more and more frequent and
finally had a high impact on our app availability.
Our warmup requests, that only load code, were randomly taking from a
few secs to more than 30sec and
Yeah, they upped the weekly fee and removed the free tier.
This is just to discourage the freeloaders with their free apps.
--
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To view this discussion on the web visit
Hi,
I'm having problems receiving messages from the Channel API in
Internet Eplorer (versions 7, 8 and 9).
On the client side, I can see that socket.onopen() is called. And
from
the server there is no error when I call
channelService.sendMessage().
But socket.onmessage is never called.
This
Yep, same problem with IE7 where messages were not received.
I'm now using polling and it's working like a charm.
--
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To view this discussion on the web visit
I know app engine saves the session data into the datastore. Is there a
way to get access to this from my javascript? For instance, my users log
into facebook via a js api so I'd like to be able to quickly save the fb id
handles to the session from my js code.
Thanks,
Phil
--
You received
so i opted for a custom solution where i pre-serialize the object into a
dictionary.
i added an objectproperty to the model which stores the dictionary to the
blobstore.
now i dont need to serialize the object(s) on request any more because i only
need to access this single property.
with
Hi,
I'm seeing random DeadlineExceeded errors with python27 and HRD since
about a week ago,
I do have threadsafe False so it's not the threadsafe latency issue.
I can provide the app id off-list.
Here is a (partial) trace
File /base/python27_runtime/python27_lib/versions/1/google/appengine/
hi,
i have occasionally the problem that I've to fetch several thousands
entities from the datastore.
so far i tried to solve the speed issue by splitting the fetch into several
chunks beeing fetched at the same time.
however so far i am quite unsatisfied with the speed, fetching ~6000
Amy, I don't think it has anything to do with flushing or delays, as
even when I run with the --num_days=2 option, I still only get
requests for frontend objects (HTML, images, etc.) from the past two
days. In reality, since my app is not yet launched I probably have
100x as many log entries for
45 seconds to fetch 6k entities sounds a little weird to me.
what do you do with those entities after fetching them?
did you profile this operation with appstats?
On Jan 18, 2012, at 1:17 PM, GordonHo wrote:
hi,
i have occasionally the problem that I've to fetch several thousands entities
What I shall try next is processing a batch of records and then
closing the file and kicking off a new process, which will start where
the old one left off. What I don't know is whether without the
finalize the data already written will be lost.
Jules
--
You received this message because you
No, I mean the version number in your appengine-web.xml file. The stack
trace seems to think you have a bad version.
--
Ikai Lan
Developer Programs Engineer, Google App Engine
plus.ikailan.com
On Tue, Jan 17, 2012 at 11:10 AM, Deepak Singh deepaksingh...@gmail.comwrote:
GAE 1.6.1
I am able
aapengine-web.xml
?xml version=1.0 encoding=utf-8?
appengine-web-app xmlns=http://appengine.google.com/ns/1.0;
applicationyatrafinderdevenv/application
version1/version
--
Thanks
Deepak
On Thu, Jan 19, 2012 at 12:43 AM, Ikai Lan (Google) ika...@google.comwrote:
No, I mean the version
Google should pay me to do a parody of this
http://www.youtube.com/watch?feature=player_embedded
http://www.youtube.com/watch?feature=player_embeddedv=oz-7wJJ9HZ0#!
v=oz-7wJJ9HZ0#!
I might do it for free, but I suspect the audience for such a video is
somewhat limited.
Dynamo Misses the Dynamic
you are not alone, I've got the same issue.
It's being discussed here too:
http://groups.google.com/group/google-appengine/browse_thread/thread/e176afd47b27a6a9/
On 18 jan, 18:46, sergio.jar...@gmail.com sergio.jar...@gmail.com
wrote:
Hi,
I'm seeing random DeadlineExceeded errors with python27
There is a lot of spam in Turkish coming in, spammers and abusers of
the Google App Engine on a daily basis.
I am able to provide original headers and body of these messages, who
should I address this to?
--
You received this message because you are subscribed to the Google Groups
Google App
Hi,
Before investing financial resources to develop a mission critical
application on Google App Engine, I would be very interested to have your
view on the following :
*I. Application requirements*
- The application should be able to serve +/- 1,000 companies. Each company
having +/- 10
Likely you will go broke on the unnecessary backups. But nothing in your doc
would prevent you from using GAE.
From: google-appengine@googlegroups.com
[mailto:google-appengine@googlegroups.com] On Behalf Of hugues2
Sent: Wednesday, January 18, 2012 11:37 AM
To:
I also advise you to call gc.collect() after every batch. I found that
python's garbage collection is really bad. Give it a try.
On Jan 18, 10:58 am, Jules ju...@projectfourwinds.com wrote:
What I shall try next is processing a batch of records and then
closing the file and kicking off a new
Hello,
I just realized that I cannot deploy my apps through the google app engine
launcher. It worked fine before lunch today.
I tried very simple Hello World! program. It did not work.
Does anyone have the same situation?
Thanks.
--
You received this message because you are subscribed to
Hi Sergio,
On Thu, Jan 19, 2012 at 4:46 AM, sergio.jar...@gmail.com
sergio.jar...@gmail.com wrote:
Hi,
I'm seeing random DeadlineExceeded errors with python27 and HRD since
about a week ago,
I do have threadsafe False so it's not the threadsafe latency issue.
I can provide the app id
You would have to make an AJAX call passing the data to your app. From
there, your server side code (Java/Python/Go) can save the info into the
datastore or put it into session.
Jeff
--
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To
I should add that I don't have any truly long-running backend
processes -- typically, they all complete in a few minutes, and I run
thousands per day.
On Jan 18, 12:19 pm, Dave Loomer dloo...@gmail.com wrote:
Amy, I don't think it has anything to do with flushing or delays, as
even when I run
Can anyone explain what is the cause of Error code 104?
We just got a series of these which caused HTTP:500 errors and page
errors for users. serving a page from our CMS that hasn't had code
or content changes in weeks.
2012-01-18 22:25:28.562 /Addit/learn-more 500 39902ms 0kb Mozilla/5.0
Hi All,
Star this issue if you use two-factor authentication:
http://code.google.com/p/googleappengine/issues/detail?id=4777
A few more stars and it gets to the first page of issues :-)
-Sebastian
www.devsar.com
--
You received this message because you are subscribed to the Google Groups
Hey Jeff,
What errors are you seeing? Do you know that you have a valid readChannel?
-- Chris
On Tue, Jan 17, 2012 at 4:50 PM, Jeff Morgan j...@lacodatech.com wrote:
Is it possible to read a binary file from GCS using the GAE API? The
example provided in the GAE documentation works great but
Round one of my testing says that Serializing via JSON, or Pickle is SLOWER
than just doing the reads from the datastore.
I'm reading up on model_to_protobuf
Which is supposed to be faster.
I'm a little sad. It would be awesome if there was a
.put(key,serialize(stuff_i_would_write)
Hi Brandon,
On Thu, Jan 19, 2012 at 11:25 AM, Brandon Wirtz drak...@digerat.com wrote:
Round one of my testing says that Serializing via JSON, or Pickle is SLOWER
than just doing the reads from the datastore.
This might be different in the Python 2.7 runtime, where cPickle and
C-accelerated
I definitely get that I need to connect the js to the java server side code
via some sort of AJAX. Are there some standard or easy ways to implement
this? I remember from a past project that there were some clunky, but
generally good ways to do this in GWT. Does regular java appengine have
Ah... Working off old docs that said cPickle didn't work so I didn't even
try it.
I'll try that.
I moved on to put_async which looks like other low hanging fruit for my app.
Especially since Cache Misses are already the slowest of my pages, (and
cache miss = write)
-Original Message-
I use my own serialization to communicate with a flash app and also
for the datastore.
It is binary and gziped and allows for nested items and binary
properties.
The compression, decompression, serialize and deserialize time is
negligible compared to the datastore request time and sending back
Crap. I'll have to let it bake to be sure, but there is no reason to believe
results shouldn't be as indicated.
Put_async just reduced my instance count by 40%. (I'm still working to get
to the point that I pay for storage and bandwidth + my $2 a week)
I had mis-understood what it did, and
My earlier post was incorrect-- sorry! You do need to specifically request
the logs for a backend. You can do that by passing the backend name as the
version name, e.g.:
appcfg.py request_logs --version=backend_name project_dir outfile
You can add the --include_all flag to see details of
Talking with one of my devs about why you would want Async reads..
He says: Why would I want to do that, who says Gee I may want to read this
thing later guess I should ask for it. You do a read when you need it.
I say back: Let's test that bugger I bet I can make things go faster using
it.
This is great - thanks Amy!
On Jan 18, 7:43 pm, Amy Unruh amyu+gro...@google.com wrote:
My earlier post was incorrect-- sorry! You do need to specifically request
the logs for a backend. You can do that by passing the backend name as the
version name, e.g.:
appcfg.py request_logs
i started pre-serializing my objects with an objectproperty which writes to the
blobstore on put .
while serializing 50 entities with around 10 properties each on request took
around 5-6 seconds as an average, now i cut the time in half at least.
On Jan 18, 2012, at 8:19 PM, Mahron wrote:
I
I'm not sure where to pose this question; it sits right on the
interface between App Engine and Apps Provisioning API.
I have an App Engine app that is using Federated Identity (OpenID) as
its authentication method. The Users API suggests the following:
The User object for a valid user can
Very basic query I want to run on a GeoPt property.
Basically I'm storing an entity with a GeoPt property and would like
users to be able to retrieve entities that have a value in said GeoPt
property within a bounding box from a given GeoPt.
Simple example of this would be a list of Restaurant
hi I have the same issue.
I want to disable billing for my app.
but it shows
=
You cannot currently disable billing because some owners of this
application already have too many free apps.
The following owners are at their limit:
-
For a little more then 24hrs I've been seeing some very odd spikes in my
RPS chart. Seems to dip to zero, then compensate by spiking up and then
leveling out again. Chart attached. This pattern is not normal at all for
my app. I'm not seeing errors and users aren't complaining. Feels like
I opted for cpickle.
My Slowness the first pass was that I was testing with 250k binaries and
Pickle escapes them... So they were very large and didn't actually fit (I
didn't check they matched going in and coming out)
Once I applied ZIP to the Pickle it appears to be fast.
Which brings me to
Pickle is much faster if you set Highest Profile rather than taking the
default. Something about compatibility... Any how...
Also Zlib.compress on 1 is a lot faster than 6, and there was minimal
difference in the size of the data after.
-Original Message-
From:
Just a note - Brandon, thanks for posting your findings, in general. Very
useful.
--
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-appengine/-/jCtpIj3-NOkJ.
To
61 matches
Mail list logo