Observance of the JDO spec would tell you that calling makePersistent
on something that is already managed is a pointless call since JDO
knows you updated the field (the whole point of enhancing those
classes); but you don't seem to bother doing a pm.close(). Obviously
the log would reveal what
Hi,
maybe it is the Method.GET?
I just do like this:
Queue queue = QueueFactory.getDefaultQueue();
queue.add(TaskOptions.Builder.url(/tasks/foo));
and make sure you handle post and get requests in the servlet, just in
case.
Cheers,
Hello Mike,
have you tried touching them before you close the query?
I had similar problem and only solved it by calling the getter for the
owned collection before detaching the results.
if (results.iterator().hasNext()) {
for (Product fp : results) {
Has anybody been successful deploying a Sitebricks application to
Google App 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-j...@googlegroups.com.
To unsubscribe from
Thanks for the suggestion...
I did try that exact code and sad to say it didn't help, just returned
a 0-size collection. I'm still trying to figure this out...
On Mar 7, 10:58 am, Toby toby.ro...@gmail.com wrote:
Hello Mike,
have you tried touching them before you close the query?
I had
Okay, I see. In my case it is a List not a Set ... but I think that
really makes no difference.
What I think is strange is that you initialize the fields:
@Persistent(defaultFetchGroup = true, mappedBy = _Parent)
@Element(dependent = true)
private SetCard _Cards = new
Same thing, but...
I tried wrapping both the initial makepersistent() call and then the
query in transactions, without changing anything else:
I get this, which I hope is related to my original issue:
javax.jdo.JDOFatalUserException: Illegal argument
NestedThrowables:
Solved the issue finally... Turned out that I was forgetting to set
the deck's key's parent property to user properly, and thus the deck/
card combination was forming one entity group and the user was another
group. I still don't get why this had the odd effect of loading user
object with an
Hi,
I've created a testservlet to illustrate my problem.
I want an owned uni-directional relationship between an entity and a
list of sub entities.
The model enties are detachable because the client shall be a GWT app.
When I add one sub entity it works as expected.
When I add the second only the
On the dev server, I have a singleton DAO that encapsulates all logic
relating to the datastore and memcache. I was surprised to find that
the singleton persists between requests, and will generally go on
existing until I restart the dev environment. Does this reflect
production app engine
Hi Mike, static variables are a useful way to cache short term data.
They will last as long as the instance lasts which is hard to
predict. I read some time ago that there is an undocumented limit of
about 100MB of memory per instance.
On 8 Mar 2010, at 01:02, tempy wrote:
On the dev
Actually, nothing for this shows up up in the log.
I get Mail sent to: address
Anyway, I am not a fan of JDO/JPA/etc, at any level.
Also, you make it sound as if I am wasting your time. You could have
chosen not to answer, although I appreciate the fact that you did.
People come to this
Interesting... now I need to go and make sure all my logic still works
if singletons stick around between requests. GAE is full of
surprises! Thanks for the tip =)
On Mar 7, 7:22 pm, John Patterson jdpatter...@gmail.com wrote:
Hi Mike, static variables are a useful way to cache short term
On Sun, Mar 7, 2010 at 11:36 AM, tempy fay...@gmail.com wrote:
Interesting... now I need to go and make sure all my logic still works
if singletons stick around between requests. GAE is full of
surprises! Thanks for the tip =)
It may be true that GAE is full of surprises, but this shouldn't
I have a very simple Groovy on Grails application installed that uses
only a single table. The application is really just the scaffolded
edits on this table with very few modifications to make it work. So
it doesn't really do anything.
About one in five clicks result in an error. The exception
This is happening to me in a Groovy on Grails application, but it
doesn't seem to be a loading problem. Even if I'm clicking through
the application I get these kinds of problems randomly. Probably one
out of every five clicks fails if I wait for it to. Grails uses
Spring underneath so maybe
Hi,
I'm stress testing a simple GAE-Java application that serves static
images: nothing is generated dynamically. The test client has
multiple threads (up to 100) that request randomly-selected images.
As the number of threads in the client gets to 50 and above I can
achieve hundreds of requests
On closer inspection of my logs, it appears that I might be hitting my
per-minute limits for read/write to the datastore, and possibly
memcache. Although I'm nowhere near the limit of 4800 calls/minute to
the image manipulation API, I might well be hitting the 5 megabyte per
minute limit for that
Plenty shows up in the log when you set it to DEBUG level.
--
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-j...@googlegroups.com.
To unsubscribe from this group, send email to
Hello,
Currently I made a memcache layer over my DAO to prevent calling the
datastore if it is not neccessary.
Do I understand right, that this L2 cache is doing exactly the same?
If I e.g. fire a request and then fire the same query again (and in
the mean time no update or delete was done) it
I was just looking in the logs after making numerous requests to my
application. Something is seriously wrong. I'm even having high CPU
on static files. In one request it took 45 seconds of CPU to return
the favicon.ico file. I guess this is really related to starting a
server instance, but if
Well I didn't think that GAE would start up a new JVM per request, but
I assumed the GC would clean up any data created between requests, as
there seems to be nothing left holding references to said data. One
of these days I will read up on the details of java garbage
collection...
On Mar 7,
I am getting HardDeadlineExceededErrors. What do you mean that the
instance will be disposed? What can I do about it?
Thank you.
On Mar 7, 5:18 pm, John Patterson jdpatter...@gmail.com wrote:
If there are errors like HardDeadlineExceededError then the server
instance will be disposed.
On Sun, Mar 7, 2010 at 2:30 PM, tempy fay...@gmail.com wrote:
Well I didn't think that GAE would start up a new JVM per request, but
I assumed the GC would clean up any data created between requests, as
there seems to be nothing left holding references to said data. One
of these days I will
I am using a ListString tags property on my searchable models, I fill it
when I put the entities with all the matches I will like to have, and I
query them like query.filter(tags, SomeString);
Regards
2010/3/6 Prashant Gupta nextprash...@gmail.com
Hi,
I want to make my app's data searchable.
hi,
can you tell me how to query datastore in java with an KEYLIST by
using
Listmyclass mylist = (Listmyclass)query.execute(LIST OF KEYS);
i do not want to use
pm.getObjectsById(ListObject)
because i want to use both 'setOrdering()' and 'setRange()'
couldnt find something on the web, so any
Hi All,
I am having trouble getting my basic struts2 application to working
with GAE/J. I read the discussion about OGNL permission but I feel I
am not hitting that point yet. Here is the URL.
http://demoappbasic.appspot.com/HelloWorld.action
And this is the error I see,
Error: result 'null'
The Jetty server is not used again after an error so another one has
to be spun-up for you next request. The only thing you can do about
it is tackle the HDEEs which is not always easy. It sounds like they
might be due to long start-up time?
If so there are a number of tactics you can
I am trying to load the full object graph for User, which contains a
collection of decks, which then contains a collection of cards, as
such:
User:
@PersistenceCapable(detachable = true)
@Inheritance(strategy = InheritanceStrategy.SUBCLASS_TABLE)
@FetchGroup(name = decks, members = {
Hi there, i have an entity group thish tree is like this:
Room -- Table -- Game
in an operation i need to retrive the whole tree, which are 201 entities
and take me 2688 ms and that is a lot of time!
That is common in app engine, or i am doing something wrong?
Thanks in advance
NM
--
You
Actually my app is written in Groovy on Grails. It is supposed to be
supported by App Engine and seems to work OK, with a few warts and
this problem. Unfortunately it means I probably don't have as much
control over application start up times as I might with another
framework.
Is there any way
It doesn't show up in the log. It is on DEBUG level.
On Mar 7, 4:12 pm, datanucleus andy_jeffer...@yahoo.com wrote:
Plenty shows up in the log when you set it to DEBUG level.
--
You received this message because you are subscribed to the Google Groups
Google App Engine for Java group.
To post
you can try to use compass for searching.
and a simple demo here:
http://hapeblog.appspot.com/blog.shtml?id=7002
On Sun, Mar 7, 2010 at 2:13 PM, Gal Dolber gal.dol...@gmail.com wrote:
I am using a ListString tags property on my searchable models, I fill
it when I put the entities with all
Hi guy,
I hate to bother everybody again.
I have a ver simple class, some fields, and an String primary key. One
of the fields lastTimeIndexed is a date.
I am trying to get the max value for it, the folowing method working
fine upto 3k records, but now I added more, and it takes minutes to
run.
I
Hi,
there is an example in this page:
http://code.google.com/appengine/docs/java/datastore/queriesandindexes.html
look for the contains()
thanks
Karel
On Sun, Mar 7, 2010 at 2:19 AM, Alexander Lagler
alag...@edu.uni-klu.ac.at wrote:
hi,
can you tell me how to query datastore in java with an
I believe this is a problem not in Eclipse but in Gtk ...
On Mar 4, 4:15 am, Steven Jay Cohen steven.jay.co...@gmail.com
wrote:
I can confirm this same behavior on my GWT projects not AppEngine.
It's sporadic and can be addressed exactly as described in this post.
I am using Eclipse 3.5.2
I have moved my app previously described at
http://www.rexcel.ca:/gems/bbb/load.home
to
http://gems-bbb.appspot.com/gems/bbb/load.home
Since it is designed to be very responsive I felt I need to understand
the spin out/spin in issue and see what immediate band-aid solutions
may be available.
hi i'm creating one desktop app...for which i want to have my wave
contacts...is there any java api to do this...
if so plz let me knw..
thanx in advance,,
--
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post to this group, send email to
- The current option of low-latency, strong consistency, and lower
availability during unexpected failures (like a power outage)
- A new option for higher availability using synchronous replication
for reads and writes, at the cost of significantly higher latency
This would be fantastic, if
Every time I try to access the Datastore Viewer for one of my AppIDs.. it
just gives me the a server error has occurred
The AppID is datastoretester
--
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post to this group, send email to
I think I forgot to mention that my app is a python app and not a java
app.
But somehow now eveything is alright, maybe it's because I haven't
used GAE for a long time.
but thanks for trying.
On 6 מרץ, 20:10, François Masurel fm2...@mably.com wrote:
You should have a look at the following
Thank you for taking the time to share all this information with us.
Props to you guys. :)
On Mar 7, 11:33 am, gwstuff gwsa...@gmail.com wrote:
- The current option of low-latency, strong consistency, and lower
availability during unexpected failures (like a power outage)
- A new option
Hi,
I have an app that works fine on my local machine including the local
datastore. I can upload the app without any problems. However, when I
try and upload the data with
appcfg.py upload_data --config_file=spectrum_loader.py --
filename=spectrum_data.csv --kind=Spectrum
http://code.google.com/status/appengine/detail/datastore/2010/03/02#ae-trust-detail-datastore-query-latency
shows the last working Query: Latency graph, but all days after then
up to now show no graph
i have debugged the non working pages with firebug to include some
information on why they
Since 3/5, a huge chunk of requests are getting timeout errors. No
changes were made to the production version of our app since 2/28.
Pages that were blazingly fast now timeout. These pages all do simple
reads from the datastore. These errors appear to coincide with the
datastore latency warnings
Hey there,
So I am generating dynamic javacscript code as follows.
There is a scripts.html template with code like:
script type=text/javascriptalert(hi);/script
When I render this template I get
script type=text/javascriptalert(hi);/scriptalert(hi);/
script
Any idea why this could be
Sorry I was a bit incomplete on the last post. Here is the code I'm
using to render the template:
dirname = os.path.dirname(__file__)
template_file = os.path.join(dirname, os.path.join('templates',
scripts.html))
output = template.render(template_file,{})
self.response.out.write(output)
If
Thank you for the open and honest post-mortem.
On Mar 8, 5:03 am, Evil Mushroom Lord evilmushrooml...@gmail.com
wrote:
Thank you for taking the time to share all this information with us.
Props to you guys. :)
On Mar 7, 11:33 am, gwstuff gwsa...@gmail.com wrote:
- The current option of
2010/3/7 Richard richar...@gmail.com
How can I get a cron job to run every 20 seconds? Run 3 identical ones
every minute?
This might help:
http://groups.google.com/group/google-appengine/browse_thread/thread/7645670d581b95f1/4b7b61c4814d6a2d?lnk=raot
--
You received this message because you
Just before it overloaded Google Charts API, it was showing latencies
over 1200ms.
On Mar 6, 9:52 pm, stephen stephenino...@gmail.com wrote:
http://code.google.com/status/appengine/detail/datastore/2010/03/02#a...
shows the last working Query: Latency graph, but all days after then
up to now
On this note, I'm not actually able to see the query latency chart. Is that
something broken for me or everybody else?
http://code.google.com/status/appengine/detail/datastore/2010/03/07#ae-trust-detail-datastore-query-latency
On Fri, Mar 5, 2010 at 11:05 AM, Ikai L (Google) ika...@google.com
51 matches
Mail list logo