Hi Tom,
I always call close() on an PersistenceManager instance once I have
finished with it, be it using or not using a transaction.
In my jdoconfig.xml, I use the setting
property name=datanucleus.DetachAllOnCommit value=true/
so I can call PersistenceManager#close() with confidence that I
Hi Amit,
I still don't know much about your app and requirement, but what I can
say:
a) you should stick to http rather than going to any other kind of
RPC: http on port 80 is very well managed and ubiquitous over the
whole Internet. If you go to something more exotic, you risk getting
blocked
Any idea on how to use the bulkloader, if FederatedLogin Authentication is
enabled.
-Aswath
On Mon, Feb 21, 2011 at 3:38 PM, Aswath Satrasala
aswath.satras...@gmail.com wrote:
I figured out this.
I had modified the Application Setting -AuthenticationOptions to
'Federated Login'. Hence it
If I use IdGeneratorStrategy.Identity to generate a long key field and
then delete the object associated with that key from the datastore.
Is it possible that the same key will be reused with a different
object of the same class? Or are keys always unique?
--
You received this message because
Its okay, the file isnt used on my localhost, but it works fine on
google apps engine...
--
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
I'm running the dev-server (ver. 1.4.2) and GData Docs 3.0 Client ( on
Windows Vista and I also experience this problem when I try to access
the DocList with Oauth like below:
GoogleOAuthParameters oauthParameters = new GoogleOAuthParameters();
oauthParameters.setOAuthConsumerKey(CONSUMER_KEY);
Okay last night I deployed onto GAE and everything worked. I changed
some html (no java, config, etc) and deployed again. Now when I
access the app via the default gae url e.g. id.appspot.com, my app
throws a ClassNotFoundException - and I'm sure the class is in the WEB-
INF/classes folder.
Hi,
I catch this exeption when i use the ACL feed for a site where there
is the user anyone with the link:
com.google.gdata.util.ParseException: [Line 1, Column 8788, element
entry] Required extension element http://schemas.google.com/acl/2007:role
not found.
I saw the same problem was
In almost every example code I can see, the PersistenceManager is never
closed ( call close() ) with JDO transaction operation.
What's the reason of that? ( In other cases, close() is always called in
finally clause )
My code has both transaction and non-transaction operations, the entity
I've been reading the App Engine docs to prep myself for for a new
project using the datastore.
When learning a new technology I like to look at working code vs. just
the examples in the docs.
Does anyone know of an active open source project that I can download
and use to accelerate my learning
Hi John,
acording to my expertise in DataStore, you'll get more know-how when running
the example
you'll see the creation of the files and all the data that datastore deals
with.
try running the helloWorld example and try to
1. create one own Object to be stored (kinda POJO);
2. create a
Hi,
Since yesterday, my GAE app has zero instance allowed so when I enter
http://teatropicaro.appspot.com I get an error 500.
I've tried to disable and re-enable the app but nothing to do.
Please help.
Thank you.
--
You received this message because you are subscribed to the Google Groups
I think one of the best ways to start learning about the datastore is to use
the low-level API:
http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/package-summary.html
We changed our docs recently to show examples using this. As far as open
source projects go,
I can't answer the first question, but as for the second - are you doing any
static initialization of that class? If a static initializer fails, you
will get a ClassNotFoundException even if the Class is deployed.
--
You received this message because you are subscribed to the Google Groups
Hi,
I would also recommend you to get the source code of Objectify, 1 of
the open source datastore frameworks recommended by Google to work on
top of its low-level ds api: very efficient and broad use of the ds
capabilities.
I would also recommend the wiki pages of the project: perceived as
very
If you set the JVM flag, -Djava.security.debug=access,failure, you'll get
a lot of log spam that has the root cause buried in it somewhere. If you
post the logs to the list, we can help debug it for you. Remember that if
you're running dev_appserver from the command line, you need to use
Great, thanks all!
On Feb 22, 7:49 am, Ronmell Fuentes ringe...@gmail.com wrote:
Hi John,
acording to my expertise in DataStore, you'll get more know-how when running
the example
you'll see the creation of the files and all the data that datastore deals
with.
try running the helloWorld
Don't you need to persist the thread as well as the comment? It's
hard to analyze your code with such a small sample. Does addComment
persist the thread? My
guess is that something is making the transaction fail, probably
cause you are trying to operate on two different entity groups. I
would
Thanks! I'll try that. BTW no, addComment does not store the comment.
On Tue, Feb 22, 2011 at 8:49 PM, WillSpecht willspe...@gmail.com wrote:
Don't you need to persist the thread as well as the comment? It's
hard to analyze your code with such a small sample. Does addComment
persist the
tried that and it's telling me
org.datanucleus.exceptions.NucleusObjectNotFoundException: Could not
retrieve entity of kind Thread with key Thread(51)
I also tried doing a query with the Thread key and UserKey (wich is the key
for a thread) and then I get an exception about modifying 2 entities
Completely Make sense. Thanks Didier.
On Tue, Feb 22, 2011 at 5:57 PM, Didier Durand durand.did...@gmail.comwrote:
Hi Amit,
I still don't know much about your app and requirement, but what I can
say:
a) you should stick to http rather than going to any other kind of
RPC: http on port 80
Just a note on Java-to-Java serialization: This is not going to work 100%
while protobuf serialization should work.
--
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
same problem, havent found an answer.
On Jan 28, 1:46 am, Christophe Weber christophe.we...@gmail.com
wrote:
Hi,
I have a problem when trying to query on the appengine. here's what I do:
Query q = persistenceManager.newQuery(User.class);
q.declareParameters(java.lang.String emailParam);
I am planning to use the regular servlet interface and use encoded protobufs
in the request and response bodies.
thoughts/suggestions?
On Wed, Feb 23, 2011 at 12:47 PM, Peter Ondruška
peter.ondru...@gmail.comwrote:
Just a note on Java-to-Java serialization: This is not going to work 100%
Hi!
We just released Kay 1.1 rc1!
Kay is a web framework made specifically for Google App Engine. The basic
design of Kay is based on the Django framework, like middleware, settings,
pluggable applications, etc.
Kay uses Werkzeug as a lower level framework, Jinja2 as template engine, and
babel
Are you sure your redirect request handler is being called?
Put some logging.info(Here-1) calls in your code.
Have you tried http://localhost:8080/learn
Have you read and understand HTTP and HTML tutorials.
Why not put the external link directly in the a tag
a
Hi,
I am trying to update the key_name using bulkloader.yaml, but key_name is
not being updated, just id
What am i doing wrong? My bulkloader.yaml below
- kind: User
connector: csv
connector_options:
encoding: utf-8
column_list: [__key__, username, email, name]
property_map:
Hi Robert
In my google apps dashboard I disable, that is, deleted, the app engine app
(the jargon is very confusing, to say the least), but anyhow, I disable the
app and added it again.
Still the same error. I wonder if you meant actually deleting the app in app
engine dashboard and add it
Hi
Mid last week we started getting a massive increase in unrequested warmup
requests. Have logged an issue
http://code.google.com/p/googleappengine/issues/detail?id=4625
has anyone else noticed these unrequested requests.
The instance is an always on instance, and we used to get an
I had the same idea. Maybe Google can create something inside the admin
console to do this. Seems like a simple straight forward idea. This would
allow people to get started who are novice and don't know how to use Eclipse
or the command line.
Thanks.
--
You received this message because
Hello all,
I am having strange problems trying to add a google app engine app to
google apps. I hope someone could give me a hint about solving this.
I would try to be very descriptive, the issues is obscure for me, so I
would give all details:
Using a gmail account I create an app on
Could I get 10 more slots? :)
I make demos and GWT apps.
Thanks,
Brandon Donnelson
http://gwt-examples.googlecode.com
http://c.gawkat.com
http://gonevertical.com
--
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post to this group, send
I need 10 more slots if someone reads this. They need a formal process to
request more slots.
Brandon Donnelson
http://gwt-examples.googlecode.com
--
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post to this group, send email to
Hi,
Am trying to use django 1.2. which is raising some template not found error
when we try to extend to other relative path.
Which worked fine in django 0.96,
{% extends ../../../central/dashboard/templates/home.html %}
Using this is bringing the error home dose not exist.
this is the file
Very clever. Is there any reason I can't get any more slots at the moment?
Have I hit a ceiling are you out of slots to give?
Thanks looking,
Bandon
--
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post to this group, send email to
So billing issue is available now? where i can get access to it?
--
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 imagine its more that there is a limit to how much they willing to
give away for free.
In essence each 'slot' or appid, is a whole hosting account. One with
a particularly generous free quota.
Can't really expect Google to keep handing out free hosting accounts
continuously
On 22 February
When app engine just billed me, the source of the application was unclear.
I'd suggest adding the projectid to the statement.
It said - Charge for resources consumed. [From where?]
*
*
*branflake2...@gmail.com* | My
I'll pay for more, how much? There isn't anything on the subject yet.
Brandon Donnelson
http://gwt-examples.googlecode.com
--
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post to this group, send email to
Please refer to the link:
http://stackoverflow.com/questions/817809/how-to-use-google-app-engine-with-my-own-domain-not-subdomain
Maybe some help for you.
On Mon, Feb 21, 2011 at 2:16 PM, leonardo leotak...@gmail.com wrote:
hello, I know how to configure my app to use with my domain. com.
Hi,
I have an entity kind that inherits from SearchableModel which has 13,417,423
Entities whose single property indexes I disabled (Indexed=False).
I have no composite indexes on this kind and all queries made on this kind
is via basic seach.
*entities =
Hi friends
I'm new and I'm not sure what is the correct way to secure my servlets
allowing calls only from my android app client.
What do you recommend me?
Thanks
--
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post to this group, send
Hi,
I just wanted to share my findings on the protobuf overhead for lists.
While it's a common advice to use short property names I'd say most
of the time it makes marginal difference, *except* when using lists.
e = Entity('X')
e['long_property_name'] = range(100)
len(e.ToPb().Encode())
2827
Hi,
I had the same problem when I added a domain to my project. I signed out of
my gmail accounts I think to get it to work.. The google sign in process
gets confused with account signed in, at least thats what I thought.
Try signing out of the accounts except for google app engine dashboard.
I've already used php, mysql and js to make a maps-based guide before.
For that last project I didn't really have to use fusion tables: I
just went ahead with only displaying the markers inside a box a little
larger than the recommended zoom level for that purpose. (no more than
40 markers inside
hi i am using google app engine and trying to write simple hello world
programme in python and getting this error ImportError: No module
named google.appengine.ext i am using eclipse as ide
--
You received this message because you are subscribed to the Google Groups
Google App Engine group.
This isssue has been covered on other posts -- with no clear answer.
(see:
http://groups.google.com/group/google-appengine/browse_thread/thread/88cde75072a08fc2/56b80e93e40ce3dd
and
http://groups.google.com/group/google-appengine/browse_thread/thread/1c8dd575aa6804c2/e84294dc934a1500
for
Hi,
I'm facing this situation and I don't know why is it happening:
I do a query
cs = Country.all().filter('government_tax =', 0.005).filter('country_code
=', 'US').fetch(1000)
and it works :)
... now I do it again but I change 0.005 to 0.5 and not if FAILS!!!
cs =
I'm using SSJS with Rhino on GAE/J, so I've had to do this from scratch as
well. I've had success with creating thin wrapper classes (one per kind)
around the low-level datastore entities. All of my queries are either
static or instance methods on the class, depending on what makes sense.
--
I'm not sure what your question really is but just in case you are asking
about a recommended ORM for AE Java then I recommend
Objectify - you can find more information about it at
http://code.google.com/p/objectify-appengine/.
On Tue, Feb 22, 2011 at 11:20 AM, Jay Young jayyoung9...@gmail.com
For some reason I get an erro #316 when posting the link, so heres my wiki
with the link to billing:
http://code.google.com/p/gwt-examples/wiki/NotesOnAppEngine
Brandon Donnelson
http://gwt-examples.googlecode.com
--
You received this message because you are subscribed to the Google
There has been a billing issue form for a long time.
According to the Billing FAQ,
http://code.google.com/appengine/kb/billing.html#morehelp
The form is:
http://code.google.com/support/bin/request.py?contact_type=AppEngineBillingSupport
Robert
On Tue, Feb 22, 2011 at 09:45, Raymond
Dmity indicated a master/slave on-line handler failure caused by:
--get by key,
--put with updated value,
--run new task to update stats within transaction
(launching the TQ call, not finishing it I'll assume)
My question on the failures on this lightweight process is whether the
Here's a nice article that includes an example of POSTing to the
blobstore in Java
http://jeremyblythe.blogspot.com/2010/10/manipulating-images-in-blobstore.html
--
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post to this group, send
It sort of looks like: The built-in indices are not efficient enough
for this query and your data.
When there is no compiste index for a multiple property query, the
'merge join' strategy will be used. I would guess you don't have a
composite index defined on those two fields, but there are a
Thank you Brandon,
But, it doesn't work I even clear all the cache and start from scratch
with no cookies and sign in with just the google app admin account.
I just get the error You do not have the permissions necessary to
install this application.
I think the problem was create the app with a
- no. there are no new instances spin-up that time
- there are only from google.appengine.ext import db, webapp, from
google.appengine.ext.webapp.util import run_wsgi_app and couple of my
classes imports. I don't think this is an issue.
normally this operation takes around
229ms 385cpu_ms
There are several other similar discussions, here's a couple:
http://code.google.com/appengine/forum/python-forum.html?place=msg/google-appengine-python/YaqfeygoiaI/WjRY2xTJEIEJ
https://groups.google.com/group/google-appengine-python/browse_thread/thread/10010f148d74ec55/75d1c011f1f904d8
Password
Have you tried the appcfg option --passin, which I presume allows
the password to be given at launch-time? (I personally do not use this
and just enter my password once after having started the uploading
process.)
Ease of use
---
I can only speak for myself, but I find
This part explains the problem:
NeedIndexError: The built-in indices are not efficient enough for this
query
and your data. Please add a composite index for this query.
This query needs this index:
- kind: Country
properties:
- name: country_code
- name: government_tax
Without an Index
You need to clarify the link to the site is broken. In what way?
Do you get a 404? Do you get a 500? How are you trying to access the
app, via the [appid].appspot.com url?
Check your apps logs in the admin console.
Robert
On Tue, Feb 22, 2011 at 02:34, Tzahi zahiz0...@gmail.com wrote:
I needed a personal Web site where I could host my credentials, one I can
use as sort of a promo to highlight my GWT and App Engine experience and
showcase my work because I am currently looking for development work. So
using App Engine and GWT I put together http://jefftschwartz.appspot.com/.
On
I asked the same question at Checkout forum but there was no answer. I
would like users to pay for tags they associate with links they submit
to the site (I guess like Google keywords). In the script (python) I
have a variable total_value that I would like to pass to Buy Now
Button as the price.
Do you import these
from google.appengine.ext import webapp
from google.appengine.ext.webapp.util import run_wsgi_app
from google.appengine.ext import db
in your python script?
On Feb 21, 12:31 pm, thahir hussain s.thahirhuss...@gmail.com wrote:
hi i am using google app engine and trying to
I asked the same question in the Checkout forum but there was no
answer. I would like users to pay for tags they associate with links
they submit to the site (I guess like Google keywords). In the script
(python) I have a variable total_value that I would like to pass to
buy now button as the
i've seen a lot of feedback regarding performance problems with fusion
tables...
but judging from pubschools demo, it sometimes display the nearby
markers and sometimes it simply doesn't display them.
are there reliability problems with using geomodel?
On Feb 22, 8:32 am, roberto.cr
I built a page using Django's Paginator which displays a simple table
with 20 items from around 1000 total stored in database. I don't know
how the Paginator works from the inside, but according to the
appstats, it makes two queries (first counts items, second selects
given page) and each one of
Django's Paginator is not going to be efficient on GAE and is definitely not
going to scale.
GAE provides cursors which are a very efficient way to page through query
results:
http://code.google.com/appengine/docs/python/datastore/queries.html#Query_Cursors
On Tue, Feb 22, 2011 at 3:57 PM, tobik
Ok, just to be clear, I found this about 'offset' in the
documentation:
The query has performance characteristics that correspond linearly
with the offset amount plus the limit.
If I understand it correctly, the more entries I skip the more time
consuming it will be. I guess Paginator simply
Sorry, one more tricky question. What about namespaces. If I had 10
namespaces and in each namespace 10 entries, would the performance be
the same as if I had only one namespace but with 100 entries?
On 22 ún, 23:31, Chris Copeland ch...@cope360.com wrote:
Django's Paginator is not going to be
Hi
Zope of course has no orm by default.
All of it's transactions can be commited on request boundaries by default
(ie on successful completion of the request) so you don't
have to worry about explicit commits (unless you want to).
Unfortunately/fortunately (depending on your point of view)
i imported this only from google.appengine.ext import webapp : in my
hello world programme and getting this error No module
named google.appengine.ext i am using eclipse as ide
On 2/23/11, Zeynel azeyn...@gmail.com wrote:
Do you import these
from google.appengine.ext import webapp
from
Thanks so much! I didnt know Ikai is referring to this form.
--
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
Sounds like your paths are not configured / wrong.
http://lmgtfy.com/?q=eclipse+python+app+engine+plugin
On Tue, Feb 22, 2011 at 23:46, thahir hussain s.thahirhuss...@gmail.com wrote:
i imported this only from google.appengine.ext import webapp : in my
hello world programme and getting
Some of the search terms have many results, since there is no
composite index merge-join is being used. Adding a compiste index
would probably significantly increase the write-time overhead (search
for exploding indexes).
Three thoughts come to mind:
1) Compute statistics so you can identify
Performance is independent of the number of entities you have.
Namespaces are great for segregating data, but you can't query across
them -- you'll only get results from one.
Like Chris mentioned, use cursors instead of offsets. And if you can,
then yes a well thought out caching strategy is a
Hi Ubaldo,
I just double checked this on one of my apps. It does fix the issue
when directly accessing an app via [appid].appspot.com. Now it looks
like custom admin pages and the datastore admin is loading the app off
of a domain such as:
[version]-dot-latest-dot-[appid].appspot.com
I
There is lots of thought about how to migrate to HR for the promised
increase in reliability. But how do I resolve the following
situation. I have millions of entities with a key_name that is a
compressed hash of 4 other entity key-strings. This ensures that
there are no duplicate records.
Hey Dan,
If your getting large bursts of requests there is a very good chance
they will not hit the app / datastore in order they were made anyway.
At least if you define order-they-were-made as the 'true' click order
(hope that is clear). There will be network latencies, instance
spin-ups, and
Are you getting the error on your local development server or on
production? I expect you probably have issues deploying, since your
app id is SymPullCDN -- it should be all lower case.
Does anything show up in your logs?
Robert
On Mon, Feb 21, 2011 at 04:39, burg burga...@gmail.com wrote:
80 matches
Mail list logo