Hello,
Scenario:
I create a REST API and publish it on application-1.appspot.com.
Then, I create a web/client application (for real people) which uses
the API above and publish it on application-2.appspot.com
Is this scenario compatible with term 4.4 of the AppEngine TOS (http://
Hi,
I want to configure a cron job for running every 2 minutes from (e.g.)
1000 to 1600 hours.
Firstly, can I use something as follows? Secondly, how can I specify
how long the cron job will run?
cron
url/update/url
descriptionRepopulate data every 2 minutes from 10:00 AM/description
thanks for your detailed answer.
however, I think I won't be able to track the miss rate, since I am
not keeping information which key/value pair's I am putting in
memcache (since this would require to keep the list of keys again in
memcache). Instead, I would like to fetch the data using the
Thanks for the reply!
I actually already considered what he suggested but had two reason's not to
do so:
1. Security - to me it feels like having a html located on a server which
hold's trigger commands to an extension is a risky option and might lead
to code injection vulnerabilities (of course
Hi Johan,
try this code
try{
cn2.getTransaction().begin();
cn2.persist(e);
cn2.getTransaction().commit();
response.getWriter().write(ok);
} catch(Exception e){
cn2.getTransaction().rollback();
JDO Sequences work, we just haven't publicized them.
Max, you mean value-strategy of SEQUENCE ? I was referring to
pm.getSequence(), which maps across to
your implementation of StoreManager.getNucleusSequence(). i.e a stand-
alone way of having sequences available to the user
--
You received
If you do not have the source then you need to create it yourself...
or use a library that has already done that like Objectify. Look into
super source for how you use your own source code.
On 10 Feb 2010, at 16:38, watch wrote:
If this is true, and I have no reason to doubt you then none
Hello Max,
thanks.
I think sequential ids will be a must in my case. It does not have to be for
a PK, but for non-pk is also fine.
I am creating a small multi-tenancy Accounting/HR application and when I
create employees, I am thinking of giving an employeeID for the employee.
In addition, I want
Hi,
Maybe the following thread may help
http://groups.google.co.uk/group/google-appengine/browse_thread/thread/3d64511a517cffc1/64fe290597597511
Hope this helps,
The bucket size and rate seem to have no effect when running my
application in eclipse. The tasks added to my queue are processed
How much data are you storing in your session? Currently, the serialized
representation of a sessions contents must be the 1MB entity limit.
On Tue, Feb 9, 2010 at 12:46 PM, Jake jbrooko...@cast.org wrote:
Hello,
I'm getting the following error:
java.lang.IllegalArgumentException: string
Nobody knows the answer to this?
On Feb 7, 2:34 pm, hsjawanda hsjawa...@gmail.com wrote:
Should the PersistenceManager be closed after every query?
I have a utility class that handles querying the datastore. This class
then returns results which are used by JSP pages to show output.
AFAIK,
Both value-strategy of SEQUENCE and the standalone sequences work. See
http://code.google.com/p/datanucleus-appengine/source/browse/trunk/tests/org/datanucleus/test/SequenceExamplesJDO.java
and
Not sure if this helps or not but you cannot use the Spring
context:annotation-config /
markup in your GAE Spring applications ...
This will of course work locally but because the
CommonAnnotationBeanPostProcessor attempts to load
javax.annotation.Resource (and fails) then no annotation
Hi,
I was experiencing the same trouble and your advice solved it. Thank
you for that.
But it's not the last problem integrating Spring + Tiles on GAE.
My stacktrace now shows :
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'tilesConfigurer' defined in
I found the class
com.google.appengine.tools.development.ApiProxyLocalImpl is not
public,but before 1.3.1 it's public!
In the JUnit document:
import java.io.File;
import com.google.appengine.tools.development.ApiProxyLocalImpl;
import com.google.apphosting.api.ApiProxy;
ApiProxy.setDelegate(new
Thanks everything is working now. Now attachment is working.
Flex base video to image capture application hosted on google app
engine
http://clickpicture.appspot.com/Video.html
On Feb 5, 7:59 am, m seleron seler...@gmail.com wrote:
Hi.
I'm sorry for being not able to explain well.
Please
You can also collect memcache stats with the API, but this currently can't
be reset, so you'd have to work around this limitation to get useful data
over time.
On Wed, Feb 10, 2010 at 10:56 AM, Ikai L (Google) ika...@google.com wrote:
It actually is possible to track the miss rate: track how
It actually is possible to track the miss rate: track how many GETs return
null for keys you know must exist versus all GETs. You can either do this
using memcache's INCR, or using sharded datastore counters.
On Wed, Feb 10, 2010 at 1:24 AM, a.maza andr.m...@gmail.com wrote:
thanks for your
Maybe, as there are other custom protocols we may wish to support on
Android/Apple App Store/iTunes, etc. Can you file a feature request in our
issue tracker?
http://code.google.com/p/googleappengine/issues/list
On Wed, Feb 10, 2010 at 1:49 AM, Shai Levy levys...@gmail.com wrote:
Thanks for
I've discovered my issue - Apache Wicket. Wicket has it's own Session
that stores data in an ISessionStore. Normally, this is backed by a
Disk, but can be backed with an HttpSession if set properly. The
trick is that it stores a lot of state with each page, which I can
change now that I know
Larry,
Check out https://jira.springsource.org/browse/SPR-6679 and please
vote.
On Feb 10, 7:11 pm, Larry Cable larry.ca...@gmail.com wrote:
Not sure if this helps or not but you cannot use the Spring
context:annotation-config /
markup in your GAE Spring applications ...
This will of
On Wed, Feb 10, 2010 at 1:30 PM, Jake jbrooko...@cast.org wrote:
I've discovered my issue - Apache Wicket. Wicket has it's own Session
that stores data in an ISessionStore. Normally, this is backed by a
Disk, but can be backed with an HttpSession if set properly. The
trick is that it
I assume you're going by this standard:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.htmlThe length that is
being set if the full body were returned. This is likely being overridden
somewhere downstream in our serving stack. I'll file
Sorry, my last email was worded poorly. What I meant was, I assume what you
meant by your original email is that we have a mismatch from the w3 standard
for content length and HEAD requests. I've updated your issue in the
tracker.
On Wed, Feb 10, 2010 at 11:59 AM, Ikai L (Google)
Thanks!
On Feb 10, 12:03 pm, Ikai L (Google) ika...@google.com wrote:
Sorry, my last email was worded poorly. What I meant was, I assume what you
meant by your original email is that we have a mismatch from the w3 standard
for content length and HEAD requests. I've updated your issue in the
Filed a request:
http://code.google.com/p/googleappengine/issues/detail?id=2753
On Feb 10, 8:59 pm, Ikai L (Google) ika...@google.com wrote:
Maybe, as there are other custom protocols we may wish to support on
Android/Apple App Store/iTunes, etc. Can you file a feature request in our
issue
I get a deadlock on the development server. It happens about once
every 4 times I startup my app. It happens at PMF.clinit:11 the
first time I access my PMF class, which is just a copy paste of the
example PMF class from
http://code.google.com/appengine/docs/java/datastore/overview.html.
Deeper
I actually only need 2 of my 8 columns of those 1000 posts. (the rest
is lazily loaded with ajax when clicked)
My line of thinking is that in a relational database, getting 2 vs 8
columns won't really matter. The database does the same query and
would just dump the extra 6 rows on the table
On Wed, Feb 10, 2010 at 3:09 PM, Spines kwste...@gmail.com wrote:
I get a deadlock on the development server. It happens about once
every 4 times I startup my app. It happens at PMF.clinit:11 the
first time I access my PMF class, which is just a copy paste of the
example PMF class from
This is really up to you, though I would avoid detaching unless absolutely
necessary. Opening and closing a PersistenceManager should be extremely
cheap (it's instantiating a PersistenceManagerFactory that's expensive).
You've got a few options here, and what you do really just depends on what
Great! I can definitely initialize synchronously. I was just worried
that there may be an issue with my code that would only show up
sporadically on the production app engine.
On Feb 10, 1:35 pm, Don Schwarz schwa...@google.com wrote:
On Wed, Feb 10, 2010 at 3:09 PM, Spines kwste...@gmail.com
I'm a bit surprised all the XHR requests are going in parallel, since most
browsers limit the amount of XHR calls you can make simultaneously. At any
rate, they don't have to be synchronous, so to speak - you can just chain
the callbacks so it doesn't block your UI loading. Hooray for languages
Check it out!
http://googleappengine.blogspot.com/2010/02/app-engine-sdk-131-including-major.html
http://googleappengine.blogspot.com/2010/02/app-engine-sdk-131-including-major.htmlHere's
the post:
App Engine SDK 1.3.1, Including Major Improvements to
Today we released version 2.0 of Objectify-Appengine. Objectify is a
mid-level persistence API for the Appengine datastore - much simpler
than JDO, much more sophisticated than the Low-Level API, much easier
to use than either!
http://code.google.com/p/objectify-appengine/
If you are unfamiliar
We've got a more simple interface for you now. Take a look:
http://code.google.com/appengine/docs/java/tools/localunittesting.html
2010/2/10 时空之蕊 skzr@gmail.com
I found the class
com.google.appengine.tools.development.ApiProxyLocalImpl is not
public,but before 1.3.1 it's public!
In the
Thanks for your help, Alan. I won't have a chance to try again for a
while, so it'll remain a mystery until then. I'll be sure to post my
results back here then.
Thanks again!
Riley
On Feb 9, 8:05 am, Alan Kennedy alan.kennedy.n...@gmail.com wrote:
[Riley]
Thanks for your response. I'm
App Engine now automatically retries all datastore calls (with the
exception of transaction commits) when your applications encounters a
datastore error caused by being unable to reach Bigtable
Is the datastore retry logic at the base API level or at the JPA/JDO
level? A lot of people are using
Very cool! Can't wait to replace my paging code with Cursors
Was Async Url Fetch for Java included in this release?
On 11 Feb 2010, at 06:15, Ikai L (Google) wrote:
Check it out!
http://googleappengine.blogspot.com/2010/02/app-engine-sdk-131-including-major.html
Here's the post:
App
i got a problem when i use sdk1.3.1 with compass2.3.0:
Nested in org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'compass' defined in ServletContext resource
[/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested
exception is
Yes, it is implemented in the low-level API, so it affects all datastore
accesses regardless of the API used.
On Wed, Feb 10, 2010 at 8:18 PM, Peter Liu tinyee...@gmail.com wrote:
App Engine now automatically retries all datastore calls (with the
exception of transaction commits) when your
Hi,
I have a question on detachment ... I have my PM in a DAO and I open and
close pre / post query. The problem was that the objects returned are null
once the PM was closed unless I set them to be detachable.
Is there an alternative instead of detach in this case? Should I:
1. make DTO of
Hi,
I want to configure a cron job for running every 2 minutes from (e.g.)
1000 to 1600 hours.
Firstly, can I use something as follows? Secondly, how can I specify
how long the cron job will run?
cron
url/update/url
descriptionRepopulate data every 2 minutes from 10:00 AM/
description
Hello,
I am having too many of these java.io.IOException: Timeout while
fetching errors from my outbound URL.openstream() calls. When tested
in my Firefox browser, the HTTP request to the non-appengine site
usually takes less than 3 seconds. But the appengine log on the same
request shows
Ok!
But when I'm using transactions I'm getting:
java.lang.NullPointerException: No API environment is registered for
this thread.
at
com.google.appengine.api.datastore.DatastoreApiHelper.getCurrentAppId(DatastoreApiHelper.java:
67)
at
Is it a bug on JDO of SDK 1.3.1?
--
PersistentManager pm = PMF.get().getPersistenceManager();;
ClassA classA = pm.getObjectById(ClassA.class, id);
ClassB classB = new ClassB();
Transaction tx = pm.currentTransaction();
tx.begin();
pm.makePersistent(classB);
tx.commit(); // It throws
I am receiving the error below when receiving an email from Hotmail to
an App Engine email Servlet. The same code works fine when receiving
emails from Gmail and my cell for instance.
gui.EMailReceiverServlet doPost: Truncated quoted printable data
java.io.IOException: Truncated quoted printable
it exists on sdk1.3.0 too.
On Thu, Feb 11, 2010 at 11:49 AM, vori vori...@gmail.com wrote:
Is it a bug on JDO of SDK 1.3.1?
--
PersistentManager pm = PMF.get().getPersistenceManager();;
ClassA classA = pm.getObjectById(ClassA.class, id);
ClassB classB = new ClassB();
Transaction tx
47 matches
Mail list logo