Thank you, thats what I needed :)
executeWithArray(), executeWithMap() all allow as many input
parameters as you want.
--
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
The Request Timer limits a request's time to 30 seconds, however in my
situation, I'd like to reduce the time, say only 5 seconds.
Is there any method to achieve this?
The reason I want to do this is because I seldom see a request cost
more than 5 seconds, however if there is one, it must be the
When I access the nickName field of the userService.getCurrentUser()
object, I don't get the nickName from Google profiles. For example, if
I go to http://www.google.com/profiles/me/editprofile for my account
(ptuc...@gmail.com) my nickName is Philip, but in AppEngine I get
ptucker.
--
You
I think you can Thread.sleep(5000) after submiting a task which
does the real job and write its start time and final result to
datastore. Your main thread can fetch the start time and result from
datastore after 5 secs.
--
You received this message because you are subscribed to the Google
Hi, I am having the same problem and I found following post very
useful
http://groups.google.com/group/google-appengine-java/browse_thread/thread/28d9c3b99df25e43/b43702a150c5aa1b?lnk=gstq=owned+one+to+many#b43702a150c5aa1b
it shows how to modify one-to-many relationships.
On Apr 15, 1:07 pm,
So I've set up appstats, and I tend to see the following picture: The
entire request took around 5 seconds, there are some RPC call bars
that add up to around 2 seconds, and the rest of the request time is
simply empty space in the timeline. Can I safely assume that all the
empty space before
So I've set up appstats, and I tend to see the following picture: The
entire request took around 5 seconds, there are some RPC call bars
that add up to around 2 seconds, and the rest of the request time is
simply empty space in the timeline. Can I safely assume that all the
empty space before
Hi,
Indeed, Owned one-to-many relationship works perfectly in my test,
the problem seems to be when attaching a new child (one object) to a
parent which has already been saved (one-to-one)
while attaching a new Collection to the same parent works fine (one-to-
many)
However, I'm also talking
hie
any advise on this please?
Thankx and Regards
Vik
Founder
www.sakshum.com
www.sakshum.blogspot.com
On Thu, Apr 15, 2010 at 10:35 PM, Vik vik@gmail.com wrote:
hie
any one on this plz?
Thankx and Regards
Vik
Founder
www.sakshum.com
www.sakshum.blogspot.com
On Thu, Apr
Hi,
I've found a way around this problem:
http://code.google.com/intl/fr-FR/appengine/docs/java/datastore/transactions.html
It says that you must assign the key of the new child by your own,
including the key of the parent.
So, before setting the child to his parent and saving it, first you
I'm very new to App Engine and have what I hope will be a simple
question.
I'm using it with GWT and doing my development in Intellij Idea. I've
set up my automated test using LocalServiceTestHelper, etc. and that
works fine. What I want to do now is continue to test my UI. For
that, I'm using
Hi Keith,
Regarding multiple/single project(s) and unit tests:
I currently have all tests included within the same single project.
The disadvantage of this however seems to me that all tests classes
(including extra jars only needed for testing (like appengine-
testing.jar)) will also be
I would report the same problem and maybe help with more details.
I change the primary key of a persisntant propertie of my class from
String to Long, and after a lot of problems with that I, decide to get
back for String type. After that my objects couldn´t be persistant
anymore.
Please help
Hi
I run Google App Engine (Java) locally with Eclipse. Following the
tutorial of Getting Started - Java, I lean it step by step and my
local server works well until the section Using JSPs. After adding
SignGuestbookServlet.java and greeting form in guestbook.jsp as well
as editing web.xml for
Hi
I would suggest you run your application in some load test tool like Apache
JMeter to see how the development environment run working as a production
environment.
Best Regards,
Alessandro
2010/4/15 Harry Monroe pablo.sole...@gmail.com
Hi,
I know this is not the point on Google App
Hi guys,
I'm creating an online game server with GAE and there's a few concerns
that I'd like to ask for advice.
One of my problem is that I need to manage a lot of information that
would not make sense to be stored in database. Like the status of each
player, the last time server seen such
I forgot mention in my post about the version of Eclipse I am using is
Galileo. I downloaded Google plugin for this version.
The link to the Tutorial where I am stuck on is:
http://code.google.com/intl/en/appengine/docs/java/gettingstarted/usingjsps.html
In Eclipse console, all log messages
Can you post the contents of your web.xml file and your appengine-web.xml
file?
On Thu, Apr 15, 2010 at 10:21 PM, bosun david.bo...@gmail.com wrote:
I forgot mention in my post about the version of Eclipse I am using is
Galileo. I downloaded Google plugin for this version.
The link to the
That sounds reasonable.
I will investigate further -- thank you very much for you help.
On 15 Apr., 19:57, Don Schwarz schwa...@google.com wrote:
My guess is that with such a large sleep time you are causing us to
load your application across more servers, and those loading requests
are
Hi Rajeev,
Thank you for helping me troubleshooting this issue.
Below is web.xml
?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;
xmlns:web=http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd;
Thomas, thanks for the response. I tried deleting all entries for
_ah_SESSION, but it didn't work. Can anyone from Google clarify whether this
should or shouldn't work?
I'll try what you said about the web.xml, if it's possible it should be much
better.
Thanks,
Esteban
On Thu, Apr 15, 2010 at
Hi Chau,
I used the code in the tutorial with a slightly change. Data is posted by
POST method in the form so SignGuestbookServlet should use doPost to handle
it.
Anothe thing I am confused is that I can't see log message in Eclipse
console if I added custom message like log.info or
Sessions are also stored in memcache so you would also need to clear
that.
BTW, I catch all exceptions thrown from my cache and simply return
null. After all, the cache is not intended to be a permanent store so
your code needs to handle this case anyway.
On 16 Apr 2010, at 23:38,
Does anybody experiencing the same issue? I was one of the first GAE
users, maybe this issue is specific to Google Apps + GAE users who
belong to the GAE pioneer cohort?
Please help, I simply cannot sign in as admin user! My app
lox.loxal.org / wlox-sns.appspot.com.
On Apr 3, 1:57 am, Alexander
Hi,
I have my gwt project hosted on app engine. This is resolving to:
http://www.myproject.com
how would I go about serving data from:
http://api.myproject.com
from the same datastore? I'd like the gwt project above to be able to
pull its data from api.myproject.com,
Thanks
--
You
Hi david:
Could you finally remove a complete session manually? Because I'm trying to
do the same. What's the key that should be used in the memcache?
Thanks,
Esteban
On Mon, Dec 28, 2009 at 1:32 AM, m seleron seler...@gmail.com wrote:
Hi,
Supplement is
As another solution,
I think
I tried deleting all the memcache by calling cache.clear(); but it didn't
work. I also noticed the solution posted here
http://groups.google.com/group/google-appengine-java/browse_thread/thread/4f0d9af1c633d39a/but
apparently only works with expired sessions. What I want to do is make
all active
When executing the app on my local workstation it works without a
problem.
However,when i deploy it to GAE it fails with this stack trace every
time.
Any ideas ?
Thanks
Note: My post data is small, only 5 contacts
SDK: SDK 1.3.1
Ticket:
Hello.
Our app is slow. I used a profilier to find the weak point.
The following query needs about 500ms on my local machine:
SELECT FROM Employee WHERE account=:mail
Account is a String field.
Why is that query so slow?
I also tried to set an index, but nothing changed:
datastore-index
I posted this in the general discussion group, but I just realized
this is probably the better group for it.
I've been struggling to translate some Datastore approaches I see
documented in Python into Java. One in particular is querying for
entities that have a given parent. Do I have to use
Have a look at Memcached:
http://code.google.com/appengine/docs/java/memcache/
http://code.google.com/appengine/docs/java/memcache/On the one hand, you
won't have easy transactions, but you get a place to store data where it
doesn't matter which application instance users are hitting.
On Thu,
From my observation, form action=/sign method=post in guestbook.jsp is
expected to trigger doPost method in SignGuestBookServlet but instead, it
invoks doGet method in GuestbookServlet as it's the first servlet defined in
web.xml. Thus, it causes the error message like HTTP method POST is not
Hi,
Though it is not a question to me
I think that the following sources might be useful for the acquisition
of the key used with memcache.
DatastoreService service =
DatastoreServiceFactory.getDatastoreService();
Query query = new Query(_ah_SESSION);
PreparedQuery pq = service.prepare(query);
Hi guys,
I'm creating an online game server with GAE and there's a few concerns
that I'd like to ask for advice.
One of my problem is that I need to manage a lot of information that
would not make sense to be stored in database. Like the status of each
player, the last time server seen such
You can store your data in memcache and in datastore. Then you read
data from memcache or (if is'n exsists in memcache) from datasrore. Or
you can use write-behind cache http://www.youtube.com/watch?v=HL5igKTuN8M
On 17 апр, 08:04, Phuong Nguyen phuongn...@gmail.com wrote:
Hi guys,
I'm creating
I need get some objects by ID from datastore, but I'm not sure exsists
every objects (some objects may was delete before my request).
PersistenceManager.getObjectsById(...) throw exception if not objects
exsists.
GQL quote 30 keys in 'IN' query.
Is exsists any other way to get objects by one
36 matches
Mail list logo