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
If you're keeping your AJAX connections open for 25 seconds, once you get a
bit of traffic you will probably hit the max concurrent request limit of 30,
and any extra AJAX connections will either timeout or wait for other AJAX
connections to close first before connecting to your App Engine app.
I want to use the send_mail_to_admins function -- but don't want all
my admins receiving the message. Just the one(s) I want.
Right now, even if I specify a to address, it still goes to all of
them.
Any help?
--
You received this message because you are subscribed to the Google Groups
Google
Hi, guys.
Last night I checked logs of my app on GAE and met this exception:
java.io.StreamCorruptedException: invalid type code: FF.
Any idea what does it mean? This exception occurred any time
application was invoked. After some time it was gone. Currently my
app's working fine. But, I need to
While only somewhat related, I put in a request for a memcache feature
that allows data to prioritised, with higher priority data never
evicted by lower priority data. Doesn't solve the entire problem of
eviction, but at least lets you happily cache as much as you want at a
lower priority and not
If you use the (undocumented) underlying datastore API you will get
datastore objects as lists of dictionary-like objects. It is the
higher level datastore API that converts these objects into Models.
Consequently, using this API is slightly faster as well. For example
from google.appengine.api
The 100 email scenario is where Ikai's first solution works best. You
can put flags in memcache for the first 80, so you know not to send
them again. This is a pretty good solution to this problem - so if you
*want* to send multiple emails per task, then using Ikai's solution
doesn't really leave
One of the fields in my entity has its field with data type Integer.
So all the data that has been saved until now is Integer for that
field.
I need to change the data type of that field to Long. I tried it in my
local machine and App Engine did not allow me to do so. Is there a way
I can change
Hi
Something about what you have said here doesn't make sense.
Whilst objects aren't iterable lists are and so if you have a list of
datastore entities as a result of a fetch
then the code you showed will in fact work.
Assuming datelist is the result of a fetch.
Then the following will work.
Hi
Are you trying to debug on the dev server or in production. If you
are on the dev server then you should be tailing you logs
and using pdb.set_trace (I assume you are, but just though it worth
checking ;-)
T
On Apr 16, 12:50 am, rgyani ravigy...@gmail.com wrote:
I am developing gadgets and
Hi,
Just use the regular send_mail function, and specify the address of the
admin you want to email.
-Nick Johnson
On Fri, Apr 16, 2010 at 7:23 AM, prgmratlarge yossiele...@gmail.com wrote:
I want to use the send_mail_to_admins function -- but don't want all
my admins receiving the message.
Hi,
I ran across an odd problem while trying to transfer a project to a windows
machine.
In my project I use a session handler (http://gaeutilities.appspot.com/session)
it works fine on my mac but on windows I get:
Traceback (most recent call last):
File C:\Program Files
In case my original post was too long and confusing, here's the basic
question:
How can I do a query in JDO to find entities that are a child of a
given entity.
I really hope someone can help!
Thanks,
Tim
--
You received this message because you are subscribed to the Google Groups
Google App
This might be unrelated, but is it possible you're running python 2.5
on your Mac? You seem to be using python 2.6 on Windows, which isn't
supported.
On Apr 16, 8:15 am, Fredrik Bonander carl.fredrik.bonan...@gmail.com
wrote:
Hi,
I ran across an odd problem while trying to transfer a project
Hi Delzad,
As I described, the issue here is with date parsing, not with the
bulkloader. You need to try the expression with a sample date in the
interactive Python console, and tweak it until you determine what's wrong
with the dates you're trying to format.
-Nick
On Thu, Apr 15, 2010 at 11:38
Thanks for your quick reply. I'm using python 2.6.1 on my mac, and it works
there.
When you say it's not supported, do you mean that apputilis session doesn't
support python 2.6?
..fredrik
On 16 apr 2010, at 14.54, Wooble wrote:
This might be unrelated, but is it possible you're running
Hi Jairo,
On Thu, Apr 15, 2010 at 10:48 PM, Jairo Vasquez jairo.vasq...@gmail.comwrote:
Nick,
I'm getting Limited in Requests and Secure Requests Quotas. Also
pages are showing Quota error (not all times).
What do you mean by I'm getting 'limited'? What are you observing,
precisely?
I have Category class with this field:
@Persistent
private long id;
when create/save the instance i put the value 1010015800249L to the
class constructor... then it fill the id field.
then, when i query:
ListCategory cats = (ListCategory) pm.newQuery( Categoria.class,
id 10200L
App Engine Launcher / WinXP32: Is what is displayed in the Log Console
also available in a file?
The Log Console has various disadvantages:
1. Every time there is a new message, it jumps to the bottom of the
log output. That makes it hard to investigate something while the app
is running.
2. It
Hi Nick,
This is a little disconcerting - would it be fair to say that if I
were using the pattern you documented here
http://code.google.com/appengine/articles/deferred.html,
then my latencies would not be low (since I am pushing the
DeadlineExceededError on every deferred operation), and my
this is exactly what I'm seeing with the Task Queue as of yesterday.
it was ripping fast 2 days ago, I was getting close to 150 features/
second upload/index. now this has dropped considerably and there are
many timeouts on the TQ after only 10secs (startup time, not even
hitting my code).
There is a lot of stuff on the roadmap which might represent a
different approach to the problem
http://code.google.com/appengine/docs/roadmap.html
especially -
- Background servers capable of running for longer than 30s
- Support for mapping operations across datasets
and maybe these -
-
Hi Casey,
This is a proxy application. It forwards all the requests you send it to the
originating site.
Since it's not doing anything against the terms of service, there's nothing
we can do about it.
-Nick Johnson
On Thu, Apr 15, 2010 at 9:13 PM, Casey upperh...@gmail.com wrote:
Hi,
I
Hi Nick
yes..the problem is resolved...
I used the --has_header option with appcfg command
thats done for now..
by the way i have another doubt...
does the data get uploaded and stored in the same manner as it is in
the csv file and in the config file?
the reason i ask this, is because my
On Apr 16, 11:40 am, Nick Johnson (Google) nick.john...@google.com
wrote:
Hi Casey,
This is a proxy application. It forwards all the requests you send it to the
originating site.
Since it's not doing anything against the terms of service, there's nothing
we can do about it.
I think the
Hi Delzad,
Column order is not preserved in the App Engine datastore. You can access
columns in whatever fashion you like, though.
-Nick Johnson
On Fri, Apr 16, 2010 at 5:58 PM, Delzad delzad.da...@gmail.com wrote:
Hi Nick
yes..the problem is resolved...
I used the --has_header option
I would, but if I do so, the quota used is the standard quota, NOT the
admin quota...
On Apr 16, 8:06 am, Nick Johnson (Google) nick.john...@google.com
wrote:
Hi,
Just use the regular send_mail function, and specify the address of the
admin you want to email.
-Nick Johnson
On Fri, Apr
OK, let us assume that your original persistent field, and its getter
and setter methods, are something like below (using JDO):
@Persistent
private Integer iValue;
public Integer getValue()
{
return iValue;
}
public void setValue(Integer value)
{
iValue = value;
}
I had the same problem again today...
There haven't been any code changes, and not all emails are failing.
Any help is appreciated.
Greg
On Apr 15, 4:28 pm, Greg Tracy greg.tr...@att.net wrote:
Curious to know if there was a problem with the GAE email server this
afternoon. 88 (of
Acording to Nick Johnson : The simultaneous dynamic request limit
was eliminated in a recent SDK
On Apr 16, 9:22 am, Nickolas Daskalou n...@daskalou.com wrote:
If you're keeping your AJAX connections open for 25 seconds, once you get a
bit of traffic you will probably hit the max concurrent
nickmilon wrote:
Acording to Nick Johnson : The simultaneous dynamic request limit
was eliminated in a recent SDK
But afaik the average response time should be 1 second.
-Ulrich
On Apr 16, 9:22 am, Nickolas Daskalou n...@daskalou.com wrote:
If you're keeping your AJAX connections
66 matches
Mail list logo