I found the solution:
Use low-level API (help here:
http://ikaisays.com/2010/06/29/using-asynchronous-urlfetch-on-java-app-engine/
- thank Ikai Lan so much). And you must use
FetchOptions.Builder.doNotValidateCertificate() to turn of Validate certificate
process...
--
You received
Hi all
Can I create and compile a java class at run time on goolge
appengine.
Use case: I have given a UI to my application user that they can
define their own business logic.Now what is going to be main challenge
is that I need to make new deployment each time when some one need to
modify its
Hi
I'm quite new at GAE, so I'm probably saying something silly, but for what I
read on GAE Java and GWT Application Development, I was under the impression
that GAE would generate indexes automatically except for some variable types
(blobs, text, etc) and for when we explicitly asked it not to.
thanks, now it works.
On 1 Mrz., 21:13, Ikai Lan (Google) ikai.l+gro...@google.com
wrote:
Can you post your logging.properties?
You'll want this setting:
.level=INFO
Once you have that working, it'll be easier to fine tune for more granular
control over levels.
--
Ikai Lan
Developer
Hi,
Could you please disclose the source code of your objects stored in
the ds ?
You maybe right or wrong depending on how they were defined.
regards
didier
On Mar 7, 9:41 am, Cláudio Coelho ereb...@gmail.com wrote:
Hi
I'm quite new at GAE, so I'm probably saying something silly, but for
Since the bottleneck occurs when making objects of Location
persistent, I assume that is the only relevant class. If anything else
is relevant, tell me and I'll disclose.
@PersistenceCapable(identityType =
IdentityType.APPLICATION,detachable=true)
public class Location{
@PrimaryKey
Hello,
I had a situation, where I encountered an UserService returning a null User.
I can see in my logs, that the end user is logged in and performing some
operations. He waits for 10-20 seconds and performs another operation.
From the logs, I can trace that UserService returned a null User.
Hi,
I have a personal rule of thumb of 10 udpated entities / second [Ds is
made for heavy read throughput but is not so fast on writes]
The new High Replication datastore seems (not tried it personally...)
slower: 1 update per second is what is the max recommended. See
I want to set-up a compute intensive application on GAE and I would like to
know if the Task Queue is going to pose serious obstacles to reducing the
elapsed time.
I am presently running a test application (not using task queues) that takes
about 1 second (a 650 million iteration no-op loop).
Thanks Didier,
That is really helpful, but I have another question,
We have a web application, and we use GWT for this web application,
so If I need to update the entities by task queue and show it as a report
to the user.
What is the assurance that our task job get started as soon as we put
If your user starts some action that updates a lot of entities and you need
to show him soon after that action all or many of these entities then you
should probably change your entities model or user interface.
--
You received this message because you are subscribed to the Google Groups
A few thoughts:
- Are you taking into consideration loading requests? These will cause
pauses which can last a few seconds.
- Have you enabled warm-up requests?
- What do your logs say are causing the 5xx errors?
- Have you looked at the logs for what may be causing the long
My 2 cents:
- queues scale up very well: I tried them with no throttle (on bucket
size) and you easily get 12-15 jvm running your computations. To my
knowledge, queues are the best way to get parallelism on GAE.
but
- data access / contention may be the issue: don't you write anything
back ? That
Your GAE logs should be able to give you more information as to whether the
pauses are within GAE, or connectivity/routing issues.
What exactly are you trying to do? 1000 JVMs seems quite excessive
--
You received this message because you are subscribed to the Google Groups
Google App
Hi,
I gave my number of 12-15 because that's all what I have used
personally until now but you surely can go much higher
regards
didier
On Mar 7, 6:02 pm, broiyan brian.lim...@gmail.com wrote:
Simon: The long pauses (5 to 30 seconds or more) are definitely not inside
the servlet since the
?
--
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
google-appengine-java+unsubscr...@googlegroups.com.
For
hi all,
I am getting java.lang.RuntimeException: FacesContext not found
when running my sample faces project in GAE. My web.xml looks like
this,
?xml version=1.0 encoding=utf-8?
web-app xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xmlns=http://java.sun.com/xml/ns/javaee;
Hi,
I'm also seeing this issue.
Is it related also to the fact that I have multiple login enabled?
If someone that has solved it, can post some example code, that would
be appreciated.
Thanks,
Ralph
On Mar 4, 2:59 pm, Jon McAlister jon...@google.com wrote:
The workaround is to have the app
I am quite confused when I read the instructions about unit testings
on the official site. It mentions that we need to have
LocalServiceTestHelper set up to do the unit testings. Currently, I
have a huge system which consists of 6 different JDO persistent data
classes; and in testings I would
Hi, i have the same problem and lucky i resolved :p , first remove
from WEB-INF/lib all appengine and datanucleus jars that have old
version that App engine SDK library. For example in my App engine
eclipse library i had appengine-api-1.0-sdk-1.4.2.jar and in WEB-INF/
lib directory i had and old
Where and when was this change announced? It is causing a major
inconvenience right now before we are able to push a new release with
the suggested workaround. I don't want to end up in this situation
ever again.
We have built a client-side web application using HTML5 that stores
information in
Pardon my ignorance, I have read the docs over and over and this still
alludes me.
I have two objects, lets call them User and Skill. When a person
signs up to my site they are saved as a User. A user may have
multiple skills, these are stored as a list within the User object,
e.g.
@Persistent
It turns out the technique I described in my previous post has two issues.
1. Because only one transaction can be running at a time within a process,
and the entity used as the mutex really cannot be in the same entity group
as the primary entity, you can get into a situation where the mutex
Awesome! I will be there as well. See you in Atlanta!
--
biz: http://www.linkedin.com/in/vincentstoessel/
personal: http://xaymaca.tumblr.com/
On Sat, Mar 5, 2011 at 11:45 PM, systemsplanet m...@systemsplanet.com wrote:
I'm demoing Google App Engine at DevNexus 2011 on March 21st as part
of
i havent unit tested with JDO but with JPA.
But i expect it to work the same.
the example on the
http://code.google.com/appengine/docs/java/tools/localunittesting.html
is using the datastoreService, since u are using JDO u will need a
persistence manager.
no need for 'Entity' just use JDO or
Is there an undocumented limit on the length of a URL that can be
fetched using the URLFetch service? There is no mention of a limit in
this document, other than 1MB total for the request:
http://code.google.com/appengine/docs/java/urlfetch/overview.html#Quotas_and_Limits
I'm getting a
I am sure this is a simple thing but my brain just doesn't want to make it
so simple today.
Say I point two sub-domains to my application:
www.mydomain.com
app.mydomain.com
That is all well and good - both now serve up my application. What I would
like is for the WWW sub-domain to serve up
Hi Jeff,
There's no way to distinguish based on domain in app.yaml/web.xml. You'll
need to either have the same mappings in both (but only request static files
off one of the domains) or use a servlet and serve them dynamically.
-Nick Johnson
On Mon, Mar 7, 2011 at 5:56 PM, Jeff Knox
Nick, thanks for the reply.
Can you elaborate on the first option? I'm not sure what you mean by the
same mappings in both. (Yes my brain is mush today.)
In my current configuration I have a single application (yet another photo
gallery). I would like www.jeffknox.com to go to my general web
Hie
i have a google apps account for domain sakshum.org. We added app engine
service signed with account v...@sakshum.org (which is the admin account)
Now even after repeated try to disable this service from dashboard it does
not go we waited also for a day etc just in case it takes time
hi all,
i have getting large variance in my request and api cpu.
I have read the countless articles on the topic and the quota doc.
what i am seeing is *not* do to process startup as i have 'Always on'
enabled since there is no more of the ' This request required a
process to startup.
Below
Hi Claudio
Try makePersistentAll()
It will certainly help
Cheers
CB
On Mar 7, 2:57 am, Cláudio Coelho ereb...@gmail.com wrote:
Since the bottleneck occurs when making objects of Location
persistent, I assume that is the only relevant class. If anything else
is relevant, tell me and I'll
Have you looked at the Google App Engine for Java persistence blog at
http://gae-java-persistence.blogspot.com
You should find some excellent JDO and JPA working examples here. I
have found these very beneficial for me.
There are other persistence interfaces available for GAE/J as well as
JDO
Hi,
Is there any way to check Google App Engine reaming Quota?I need to
check Quota using Java Api. How can I do it?
Thank You.
--
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
Is now batch put atomic operation in application with HR datastore in a way
that it will store all entities in batch or none (and throw exception) ? Now
in M/S datastore after exception during batch put you can't know that some
entities are not stored.
--
You received this message because
Hi Robert,
First of all, thanks for your reply! I cleared the cookies and also used
different browsers (IE,Firefox and Chrome) but unfortunately no positive
result. So I filled in a billing support issue without any reply jet. Are
there no Google guys on this forum who can help me? I read
I have one application(named bio-enzyme-v2) already set two different
google apps domain(x.com and y.com) with native google account auth.
In the x.com, i set web access at v1.x.com, v2.x.com, v3.x.com,
v4.x.com. In the y.com, i also set it at v5.y.com, v6.y.com,
v7.y.com, and they worked fine.
Also to understand index creation speed in HR datastore I have tested in
same request standard (non-ancestor) datastore query immediately after 4
datastore put operation and I was able to get 3 out of 4 newly stored
entites, so currently index creation in HR datastore is pretty fast.
These
In fact performances are much closer than I first thought :
MS :
1189ms 1421cpu_ms 651api_cpu_ms
HR :
1230ms 1631cpu_ms 756api_cpu_ms
I might still have a few configuration differences to check.
François
--
You received this message because you are subscribed to the Google Groups
Google
Hello world,
I have some questions about the image management through bloblstore
API. I assume I have to save the image blobkey as string in all the db
models that need this image. For example, imagine we have an User
which makes comments on different System Entities. For avoid to get
an user
And other question about this, is possible to store servingUrl? I see all
serving urls are blobkey related like:
http://lh6.ggpht.com/BLOBKEYSTRING
or
http://lh5.ggpht.com/BLOBKEYSTRING
So that I can store servingUrl and no matter If tomorrow this Image is
replaced without changing blobkey. Or
Hi,
I'm using owned items and it all works fine now except sorting, Is
this going to be enabled any time ?
SELECT FROM
com.gadglet.gadgets.personalNotes.server.PersonalNotesData WHERE
sharedItemReff.contains(c) c.sharedWithId == ownerIdParam VARIABLES
com.gadglet.data.SharedItemReff c
I did not - i'm definitely going to add that, thank Dale. I re-
enabled the queue the other day and it's been behaving as expected, so
it was definitely some external factor that made it spin out of
control.
My project is a cloud based data historian on www.nimbits.com where
users attach arduino
This is a template for what I hope is how to best handle a low priory
task with very little impact on the system if it fails. It just cleans
up expired data and should not build up. Any other feedback is
appreciated.
queue
namedeletedata/name
rate20/s/rate
Hello,
I'm using the federated login. When I'm trying to logout, I'm
receiving an error 404 :
http://zzz.appspot.com/_ah/openid_logout?continue=http://www.google.com
I'm constructing my url using the api :
self.redirect(users.create_logout_url(http://www.google.com;))
In the log of my
Because we decided to migrate to HR datastore now we have problem with
google apps and custom domain.
Can gae team help us to disable app engine app from my domain so that I can
enable HR version with same custom domain.
Appids are:
kurirska-dostava
kurirska-dostava-hr
and domain is
hi,
im experiencing some unexpected results with the datastore. ill try to simplify
my problem:
im using the python sdk.
lets say i have a model with a uuid as the unique identifier which is a
uuid.uuid1()
with a script on my machine i push entities to my app on GAE which creates or
updates
Just save the serving URL. I is consistent. Let the browser download the
image with the URL.
2011/3/7 Iván Rodríguez ivan.rd...@gmail.com
And other question about this, is possible to store servingUrl? I see all
serving urls are blobkey related like:
http://lh6.ggpht.com/BLOBKEYSTRING
or
Hi All,
i try to build up a very small and simple JSF Application. Until now
all runs great on my local glassfish installation. I followed many
tutorials to deploy an JSF Application in the google app engine, but
it seems i have a problem to get the correct Expression Language
Interpreter to
It's totally not working.
My number is a wireless account without carrier.
Maybe tha's why I can't figure it out. The verification number is
coming though.
I definitely need an account.
But I don't have any solution.
What am I supposed to do? ;(
I saw some people having same trouble with me.
and
Dilbert,
I know it is early to recommend this, however there is another Channel
API service that supports UTF8 and Unicode encodings called PubNub.
The pricing structure is different so go to http://www.pubnub.com to
learn more about the offering. There are other Channel API services
out there
Good day,
How can I do integration testing on a locally running Google App
Engine application with regards to its persistence (i.e. asserting
db's content, setting up db data, tearing down db data).
Currently, the only way for me to test the persistence is to upload it
on my appspot and test
Hi everyone,
First I want to say that I have read the GAE Terms, including the
'program policies', and searched quite a bit for the answer to this
question. I want to double check by asking explicitly - so I guess I
am apologizing in case anybody thinks I'm asking without RTFM
first! ;)
- Can
I know Google offer a method to set Django to GAE, but I still meet a
big problem.
Google offer a method to set it include main.py
import logging, os, sys
# Google App Engine imports.
from google.appengine.ext.webapp import util
# Remove the standard version of Django.
for k in [k for k in
I saw example http://code.google.com/appengine/articles/sharding_counters.html
. the sharded counter use one entity group and store multiple counting
records in few records in same Counter.class. Aren't there is limit
of number of write can be done on same entity group? since this is
only one
Nice to meet you.
In Google's Document, using with_cursor with memcache API.
(http://code.google.com/intl/en/appengine/docs/python/datastore/
queries.html)
But I wanna use with_cursor method in URL.
ex: If I can get String
E9oDBWwoLZtZXJcmFGFjaGF03cHkaCFVzM... by query.cursor(),
I'm trying to get the helloworld example going. When I click Run,
nothing visible happens. Then when I click Browse I get a message to
the effect that there is no selected application running so there is
nothing to browse. Likely I erred when doing the (minimal) setup,
but I'm not sure. Here's
On Mar 6, 5:45 pm, Entropy sasha.zivalje...@gmail.com wrote:
- Can you use GAE to host a paid service?
Yes.
- Is there a problem with enabling an app on GAE to use AdSense?
No, it works the same as on any other web page.
--
You received this message because you are subscribed to the
Are you trying to use Python 3?
App Engine only works with Python 2.5.
On Mar 5, 2:53 pm, Kirke bent.ki...@gmail.com wrote:
I'm trying to get the helloworld example going. When I click Run,
nothing visible happens. Then when I click Browse I get a message to
the effect that there is no
Really?? Nothing happend at future with this url if google image service
(aka picassa) do any internal change? This means we can store blobkey as
plain String and add an url prefix later?
For example:
[...]
private final String GOOGLE_STATIC_SERVING_URL = lh4.ggpht.com;
String getUrl (BlobKey
I think you just save the image serving URL?
e.g.
http://lh3.ggpht.com/nC8afHp0Wp1VfqTy-wKWL7hn-4y62tp-w24eQwvIg-IvcvJoHMGYcVUBezU1spae2h9Uw4BmvPaX7V3hWaAak8RmUQ=s288
Change the s288 to change the size of the images returned.
I probably just don't get your problem.
I did this before.
Here you go:
http://devblog.miumeet.com/2011/02/programmatically-upload-images-to.html
--Andrin
On Mon, Mar 7, 2011 at 6:17 AM, Robert Kluin robert.kl...@gmail.com wrote:
Iterate over all the old data and send it to the blobstore.
Robert
On Sun, Mar 6, 2011 at
You can transfer your images to blobstore:
http://devblog.miumeet.com/2011/02/programmatically-upload-images-to.html
On Fri, Feb 25, 2011 at 5:24 AM, Nick Johnson (Google)
nick.john...@google.com wrote:
Hi Tom,
Blobs in the datastore are completely separate from blobs in Blobstore. You
and here is one in python: Programtically upload images to blobstore:
http://devblog.miumeet.com/2011/02/programmatically-upload-images-to.html
-Andrin
On Tue, Feb 22, 2011 at 6:59 PM, timwhunt timwh...@gmail.com wrote:
Here's a nice article that includes an example of POSTing to the
Wowww beautiful cat!!! My cat is not at blobstore and I have my app disabled
while I turn it to HR Datastore, because as Ikai says...it is better. I will
post my cat later and actualize this post, don´t worry!.
My problem is that I am not sure if this url may be or not be a broken url
at future,
Thanks. I love the kitties. I've never had a serving URL break. Who knows
though. I'm depending on it. It would be good for an authority to answer
this questions for us. I look forward to seeing the kitty post. :O)
2011/3/7 Iván Rodríguez ivan.rd...@gmail.com
Wowww beautiful cat!!! My cat is
OK, sure about this ;) ! Then... any appengine guru can answer this?
2011/3/7 Gary Eberhart g...@animalengine.org
Thanks. I love the kitties. I've never had a serving URL break. Who knows
though. I'm depending on it. It would be good for an authority to answer
this questions for us. I look
thanks!
On Mar 7, 11:05 am, Geoffrey Spear geoffsp...@gmail.com wrote:
On Mar 6, 5:45 pm, Entropy sasha.zivalje...@gmail.com wrote:
- Can you use GAE to host a paid service?
Yes.
- Is there a problem with enabling an app on GAE to use AdSense?
No, it works the same as on any other web
Domain Name: brooklynmarathon.com
Edition: appengine
Affected Username/s: all
Issue Description:
Hi, I am trying to add a domain and url to a appengine id called
parking-helper
I cannot. I add the domain brooklynmarathon.com but when I add url called
parking it fails with NO error message.
Hi Benjamin.
Just a thought: for a background task that's not critical 20/s and 50
concurrent looks a bit high. Maybe set it even lower (5/s, bucket 5, 5
concurrent) and then monitor the queue. If it often gets 'too
long' (whatever that means for your app) you can turn it up.
I may be preaching
Hi Matija,
Entities that belong to the same entity group would be put in a
transaction, so the put of those entities should be atomic. But across
entity groups it won't be.
Robert
On Mon, Mar 7, 2011 at 03:03, Matija matija.jerko...@gmail.com wrote:
Is now batch put atomic operation in
I understand that, but because of this 'extreme' async storage maybe now
there is no way for them to store some and not all entites. Let's say some
point for no exception to return. Maybe?
--
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To
Fill out:
https://appengine.google.com/waitlist/sms_issues
On Sat, Mar 5, 2011 at 15:56, Kyoungha Kim kkhsc...@gmail.com wrote:
It's totally not working.
My number is a wireless account without carrier.
Maybe tha's why I can't figure it out. The verification number is
coming though.
I
For Python you might find the following resources useful:
https://github.com/jgeewax/gaetestbed
http://code.google.com/p/gaeunit/
http://code.google.com/p/nose-gae/
Robert
On Sun, Mar 6, 2011 at 04:59, Franz See franz@gmail.com wrote:
Good day,
How can I do integration testing
Hi Lucas,
Entity groups are not related to the class name; entity groups are
related to the entity key. They are formed by specifying a 'parent'
when creating an entity (or an entity key).
http://code.google.com/appengine/docs/python/datastore/entities.html#Entity_Groups_and_Ancestor_Paths
Hi,
It is fine to use a cursor as a query parameter.
A cursor is an opaque base64-encoded string that represents the
next starting position of a query after a fetch operation. The app can
embed the cursor in web pages as HTTP GET or POST parameters.
It is generally safe to pass a
why don't use this instead? I think is easier (and Django 1.2 is
included in GAE directly, no need to upload it with your app):
from google.appengine.dist import use_library
Configures Django 1.2.
use_library('django', '1.2')
os.environ['DJANGO_SETTINGS_MODULE'] = 'conf.settings'
# Force Django
Maybe this is Google Apps Management Panel problem!
because:
1. cannot add domain url to appspot id parking-helper to google apps
domain. can someone help?
http://groups.google.com/group/google-appengine/browse_thread/thread/55bb4792ca3f21ac#
2. Can't disable app engine app from google apps
If you want to apply unique ID, you will need to use it as the __key__ of
the entities. Do the checking (get_by_key) in a transaction or use
Model.get_or_insert() to achieve what you want to do.
--
You received this message because you are subscribed to the Google Groups
Google App Engine
Did you find any solution?
I am seeing the exact behavior ... but instead of 3 Always On
instances I only have 2 Always On instances and 1 dynamic instance.
Interestingly, I am seeing my tasks executing on dynamic instance that
results in a loading request.
I use Spring framework and it is very
Hi Gary,
How did you solve this? It's been days and I still have *two* GAE apps
in my Google Apps. One the M/S version, the other one the HR version.
On Mar 7, 8:31 am, Gary Eberhart g...@animalengine.org wrote:
I went back two minutes later and animalengineorg was gone. It looks like
Maybe this kind of events has become old news, massive
DeadlineExceededErrors around 2011-03-07 16:51:57 PST.
The worst thing is, the except statements of our app rarely get executed
during the occasions, therefore we don't get a chance to recover.
I guess we are just a very ordinary site, about
Thanks for the info Robert. Ill definitely have a look accordingly.
On Mar 6, 7:17 pm, Robert Kluin robert.kl...@gmail.com wrote:
Perhaps you've got a conflict between sites and your app on alltfunkar.com?
On Sun, Mar 6, 2011 at 06:11, Nick Rosencrantz nikla...@gmail.com wrote:
Hi issue 777
No solution or nothing learned yet. After my initial post it seems
like things have gotten better.
I'm an avid Spring fan, but wouldn't think to use it on GAEJ b/c it's
too heavy weight for GAEJ. If you must use Spring then consider other
cloud solutions like AWS Beanstalk.
-brian
On Mar 7,
84 matches
Mail list logo