You can call one servlet from another using URL Fetch API, however I
wouldn't recommend have a servlet call itself. It sounds like you
should look at the Task API...
http://code.google.com/intl/en/appengine/docs/java/taskqueue/overview.html
This will allow you to perform time consuming
Hi everybody,
I build a RESTfull Grails application using grails-1.1.1, appengine-
java-sdk-1.3.0, grails-app-engine-0.8.5 and grails-gorm-jpa-0.6.
This application contains a simple domain class Document with two
properties.
In my UrlMappings file, I have the following mapping :
class
Hi All,
I need a hint. I'm running JUnit tests on a local datastore. I have
multiple tests that pass when run by themselves and fail when run with
the other tests. The specific failure is a DataStoreFailureException
with detail message: ApplicationError: 3: handle 14 not found.
The stacktrace is
The local datastore does not get deployed to the app engine servers.
That would be a cool feature though!
But deploying an app will not modify your local datastore. However, I
have occasionally had my local datastore just reset itself without
warning. Basically the local sdk is for
Ah yes, you can get these if you are debugging for some time and then
resume your app. I have also had this when I am working with a lot of
data - but usually more than the live servers could handle in 30
seconds anyway. The local datastore seems to reclaim objects too
quickly sometimes.
Thanks John and Jeff for sharing the knowledge.
I've just quickly scanned your project home, and I have a novice question
that needs your help:
Is twig or Objectify direct replacement to JDO / JPA on GAE? I just need to
use your framework alone, or should use in combination with JDO / JPA
support?
Hi Chau, yes both Objectify and Twig replace JDO/JPA. I think that
Google would not release a non-standard datastore user-level API
because they could then be accused by many of vendor lock-in. When
App Engine was launched there was a lot of concern about this.
On 26 Jan 2010, at 16:59,
Yes, thanks -- that's it!
On Jan 26, 1:40 am, Ian Marshall ianmarshall...@gmail.com wrote:
Does datanucleus-appengine Issue 89 (assigning new value to child
field does not delete the old child entity) at
http://code.google.com/p/datanucleus-appengine/issues/detail?id=89
describe your
sorry for this maybe thumb question, but I just want to make sure:
both frameworks are making the needs for open session in view (as
almost required when using jdo/jpa in web applications) obsolete,
or?
regards,
andr
On 26 Jan., 12:18, John Patterson jdpatter...@gmail.com wrote:
Hi Chau, yes
Hi ,
Thanks for seeing to this. Is there any messaging facility in google
AppEngine for Java. Is it possible to send a message to a mobile from
a servlet in our application deployed here. Pls reply . Thx too.
--
You received this message because you are subscribed to the Google Groups
Google
I would also suggest putting the code in another class, which bother
servlets use, but it's easy enough to do it like this:
RequestDispatcher dispatcher = getServletContext().getRequestDispatcher
(pathToOtherServlet);
dispatcher.forward(req, resp);
On Jan 25, 11:07 pm, edarroyo
Hello,
My app-id is vs-accounting.
I login into appengine.google.com. I choose the above application. Then I
click on the datastore viewer.
I get the error
Server Error
A server error has occurred.
Return to Applications screen » https://appengine.google.com/
-Aswath
--
You received this
When running in non-tx mode objects will be put in the L1 cache, yes,
since you are in non-tx mode. All other DN supported datastores don't
have any issue with objects being reused, so that is a problem for GAE/
J. If you wanted to remove them from the L1 cache (to attempt to get
around their
how do i get list of all keys for memcache?
Thanks
--
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
Hi,
I tried quota service.
http://code.google.com/intl/ja/appengine/docs/java/javadoc/com/google/appengine/api/quota/QuotaService.html
CODE(jruby):
def current_quotas
qs = com.google.appengine.api.quota.QuotaServiceFactory.getQuotaService
cpu_cycles = qs.getCpuTimeInMegaCycles
cpu_sec
Any information regarding HtmlUnit and HttpUnit (or any other Java
library for web sites DOM loading?)
Thanks
--
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
You can't. You put things in and can _maybe_ take them out again
later as long as you know the key. Thats pretty much it.
On 26 Jan 2010, at 23:28, Andrei wrote:
how do i get list of all keys for memcache?
Thanks
--
You received this message because you are subscribed to the Google
This will be fixed in the next release.
On Tue, Jan 26, 2010 at 10:08 AM, takeru sasaki sasaki.tak...@gmail.comwrote:
Hi,
I tried quota service.
http://code.google.com/intl/ja/appengine/docs/java/javadoc/com/google/appengine/api/quota/QuotaService.html
CODE(jruby):
def current_quotas
qs
You can try the getTail(int) method but I don't think that will do
what you want. It is a destructive operation and will cost you
bandwidth and time.
http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/memcache/MemcacheService.html
On Tue, Jan 26, 2010 at 9:01 AM, John
Thank you. Google folks, anything has changed since then?
On Tue, Jan 26, 2010 at 12:22 AM, John Patterson jdpatter...@gmail.com wrote:
No. I asked the same question on this list several months ago.
On 26 Jan 2010, at 14:55, Dmitry Anipko wrote:
Hi GAE team,
sorry if this was discussed -
thanks, then I guess something else is causing GAE VFS to fail ...
bummer :(
On Jan 25, 1:53 pm, Toby Reyelts to...@google.com wrote:
Yeshttp://www.google.com/codesearch/p?hl=en#YXcrkXezIpQ/trunk/src/com/go...
.
On Mon, Jan 25, 2010 at 4:38 PM, Larry Cable larry.ca...@gmail.com wrote:
are
You could try using Boolean instead of boolean.
On 27 Jan 2010, at 00:48, Andrei wrote:
I have entity that is already stored in db
I added boolean field that i do not want to store in db, so it's not
marked as @Persistent
When retrieve existing entity from db i get exception
On Mon, Jan 25, 2010 at 12:04 PM, Greg Donald gdon...@gmail.com wrote:
When I create and attempt to run a new Google App Engine project
(Java) I get this error:
GWT Code Server Disconnected
Most likely, you closed GWT development mode. Or you might have lost
network connectivity. To fix
Thanks, i'll try
What i do not understand, this value is not stored in db
On Jan 26, 1:06 pm, John Patterson jdpatter...@gmail.com wrote:
You could try using Boolean instead of boolean.
On 27 Jan 2010, at 00:48, Andrei wrote:
I have entity that is already stored in db
I added boolean
Thanks Andy for your quick response. I'm using JPA (as mentioned in
the title) so I used the equivalent of pm.evictAll in JPA which I
think is entityManager.clear and it did the trick. The entities were
removed from the level 1 cache and the following transaction had no
problems.
Thanks,
Len
Ok, i forgot to put
@NotPersistent
On Jan 26, 1:15 pm, Andrei gml...@gmail.com wrote:
Thanks, i'll try
What i do not understand, this value is not stored in db
On Jan 26, 1:06 pm, John Patterson jdpatter...@gmail.com wrote:
You could try using Boolean instead of boolean.
On 27 Jan 2010,
Hello!! i've the problem of the screen of the attach I need to situate
the progressbar in the left and slightly higher. Anone can help me?
I'm using:
final Timer t = new Timer() {
float i;
There aren't current plans to create yet another API for datastore
operations. That's why we created the datastore API - so folks could build
convenience functions as needed.
I don't see anything wrong with mixing JDO/JPA with another tool for
datastore access, other than adding unnecessary
This actually looks like a Google Web Toolkit question. You'll probably get
better help in that group:
https://groups.google.com/group/Google-Web-Toolkit?pli=1
2010/1/26 Andrés Cerezo acerezoguil...@gmail.com
Hello!! i've the problem of the screen of the attach I need to situate
the
Todd,
I think there's actually a misunderstanding here - we don't guarantee
uniqueness of a key name. A String key is encoded into a datastore Key. The
datastore is, at its lowest layer, a key-value store. Uniqueness is
guaranteed because if you save an entity using a Key that is already used in
This shouldn't cause an exploding index. Under the hood, we are embedding
Account's key information into the keys of the Child and creating index
entries for each of the Child classes. Now, creating massive entity groups
may certainly have some performance implications, but that's why we
recommend
It should. What behavior are you seeing in your tests?
On Thu, Jan 21, 2010 at 8:02 PM, Houston startup coder
stephenh...@gmail.com wrote:
The first sentence here is very clear about how calling makePersistent
on an object with relationships automatically saves all the new or
modified
On Tue, Jan 26, 2010 at 5:50 AM, a.maza andr.m...@gmail.com wrote:
sorry for this maybe thumb question, but I just want to make sure:
both frameworks are making the needs for open session in view (as
almost required when using jdo/jpa in web applications) obsolete,
or?
Neither Twig nor
This should be working. There was an issue with application updates around
this time.
Let us know if you're still having this problem.
On Sat, Jan 23, 2010 at 11:35 PM, Thomas Wiradikusuma
wiradikus...@gmail.com wrote:
Hi all,
I created a new project, tested it in localhost, everything was
I wanted to try out Clojure in GAE, so I downloaded the Java SDK, but
I can't run the demo apps: I get this error.
~/src/JavaGae$ ./appengine-java-sdk-1.3.0/bin/dev_appserver.sh
appengine-java-sdk-1.3.0/demos/guestbook/war/
26-Jan-2010 19:00:50 com.google.apphosting.utils.jetty.JettyLogger
warn
You you like a really fast start with GAE ? Less then 5 min .. and
have a running application ?
you can read here :
http://dmakariev.blogspot.com/2010/01/jsf-20-with-spring-3-and-spring.html
or try this steps:
1. mvn archetype:generate -DarchetypeCatalog=http://
Hi all,
I am also experiencing this problem on GAE 1.3.0.
Using multipleRelationsOfSameTypeAreErrors helps not in all cases,
when I am trying to read such entities I get mentioned exception.
Are the any solution for the 1.3.0 ?
Thanks,
Michael
On Jan 21, 9:20 am, cowper iamco...@gmail.com
Does 127.0.0.1 not resolve to localhost on your box? If not, try passing
-a hostname to dev_appserver.sh.
Can you ping appengine.google.com? If not you may need to specify a proxy
with --proxy when deploying.
On Tue, Jan 26, 2010 at 2:58 PM, Tordek ked...@gmail.com wrote:
I wanted to try out
I'm wondering if this was a momentary outage or something to do with the way
appengine-web.xml is configured. Can you post this file?
On Thu, Jan 21, 2010 at 1:41 PM, jamie jwb.pub...@gmail.com wrote:
hi! I am having problems similar to
Does this issue just occur on the first request coming into your application
or on every request?
This looks like a DeadlineExceededError, which will sometimes occur on a
loading request due to the fact that initializing the Groovy interpreter as
well as Grails can sometimes take many seconds.
On Mon, Jan 25, 2010 at 11:52 PM, John Patterson jdpatter...@gmail.com wrote:
This is why you configure what type of relationship is used using: @Embed,
@Entity(PARENT), @Entity(CHILD) or @Entity(INDEPENDENT)
So you have the flexibility to choose configuration _without_ rewriting your
code.
Be gentle with me. I'm a C# developer looking to broaden his horizons.
Was wondering if anyone had tips on managing an app's deployment with
a continuous integration application (in this case, TeamCity). I have
a CI task that will update a specific version of the app every evening
to App Engine.
Hi Ikai, thanks for responding...
On Jan 26, 2:28 pm, Ikai L (Google) ika...@google.com wrote:
I think there's actually a misunderstanding here - we don't guarantee
uniqueness of a key name. A String key is encoded into a datastore Key. The
datastore is, at its lowest layer, a key-value store.
Don Schwarz wrote:
Does 127.0.0.1 not resolve to localhost on your box? If not, try
passing -a hostname to dev_appserver.sh.
Yes, it does; Apache runs fine in :80. I've also been unable to
change the port it listens to by editing ant-macros.xml.
Can you ping appengine.google.com
Here's an example on using transactions:
http://code.google.com/appengine/docs/java/datastore/transactions.html
http://code.google.com/appengine/docs/java/datastore/transactions.htmlIf
you scroll down, there's an example for a transactional get and save:
// PersistenceManager pm = ...;
Hi Jeff:
I am here again and have put sometime in Objectify. Thanks for taking
pain at different design patterns. Please let the list known your effort
in the good idea #2, especially in the social graph set intersections
and union.
Duong BaTien
DBGROUPS and BudhNet
On Tue, 2010-01-26 at 14:19
The query returns no result.
ApiProxy.setEnvironmentForCurrentThread(new TestEnvironment
());
ApiProxy.setDelegate(new ApiProxyLocalImpl(new File(.))
{
});
A a = new A(A);
B b = new B(B);
a.getBs().add(b);
Here's the Objectify version of what's described in the video, capable
of a photo-equivalent of million user fanout:
class Album {
@Id Long id;
String name;
}
class PhotoIndex {
@Id Long id;
@Parent OKeyAlbum album;
SetOKeyPhoto photos;
}
class Photo {
@Id Long id;
String
Michael,
In your jdoconfig.xml file add this entry:
property
name=datanucleus.appengine.allowMultipleRelationsOfSameType
value=true/
Thanks
On Jan 26, 3:12 pm, Michael Shtelma mshte...@gmail.com wrote:
Hi all,
I am also experiencing this problem on GAE 1.3.0.
Using
A simple servlet which reads some data from a table - and query
analytics service and store data in another table. When i run this
servlet from browser it works (always). I have scheduled this servlet
to run as cron job and it is not working at all. And i see the below
exception in App engine
DatastoreService dataSvc =...;
Query query = new Query(MessageRecipients)
.addFilter(recipients), FilterOperator.EQUAL,userid)
.addSort(date, SortDirection.DESCENDING)
.setKeysOnly(); // -- Only fetch keys!
//*** from the presentation , mentioned the above can only be done
using low
Can someone help? Or am I asking in the wrong place?
Thanks,
Brian
On Fri, Jan 22, 2010 at 11:43 PM, Brian Hayward bhayw...@gmail.com wrote:
I would like to use appcfg.py download_data to export my entities in
csv format and maintain the owned relationships between entities
(one-to-many in
Hi,
I responded directly to your email with out app-id. Any ideas?
Thanks!
david
On Dec 28 2009, 10:39 pm, Ikai L (Google) ika...@google.com wrote:
What is your application ID?
On Tue, Dec 22, 2009 at 2:18 PM, David Fuelling sappe...@gmail.com wrote:
Hello,
I am getting an error
Hi all,
I'm playing around with the Appengine and thought about using it as an
integration platform with Camel in the middle. However, one thing
concerns me.
If I'm right, my integration flow will need to be finished during this
30s that's mentioned or be killed off?
30s might not be enough if
Hello GAE team,
Further observations made while testing the app. I am not able to write
entities to the datastore. Upon examining the logs, I found the following
error.
com.veersoft.action.CreateTenantAction doCreate:
com.google.appengine.api.datastore.DatastoreNeedIndexException:
no matching
It looks like the exception is thrown when the socket calls bind().
Isn't that you have the port 8080 already in use?
On 01/26/2010 09:58 PM, Tordek wrote:
I wanted to try out Clojure in GAE, so I downloaded the Java SDK, but
I can't run the demo apps: I get this error.
~/src/JavaGae$
serve them 500 response code
2010/1/26 dreadjr drea...@gmail.com:
yeah i tried redirecting them, but it looks like they don't follow
redirects. Any other suggestions?
On Jan 25, 1:26 pm, Stephen sdea...@gmail.com wrote:
On Jan 23, 7:42 pm, Joshua Smith joshuaesm...@charter.net wrote:
How
On Jan 25, 11:50 am, olex13 olexandr.kundire...@gmail.com wrote:
I'm not an expert in all this DNS/CNAME/etc things, so I afraid that
once I'll configure subdomain on appengine app,
root domain will not work on my PHP hosting
But if you say this is possible to configure - I'll try. Thanks.
Thanks for the Sample Programs.
On Jan 25, 6:08 pm, Dan Sanderson dan.sander...@gmail.com wrote:
Greetings App Engine developers -
The book *Programming Google App Engine*, written by yours truly and
published by O'Reilly Media, is now available in bookstores everywhere. The
book covers
Looks like we're all at it ;-)
http://blog.dantup.com/2009/12/microsoft-windows-azure-vs-google-app.html
Though mine probably wasn't entirely unbiased. I wanted to use Azure
and discovered it was a ripoff for small (low traffic) projects. I'm
a .NET developer by trade, so it made sense. Google's
On Jan 25, 11:50 am, olex13 olexandr.kundire...@gmail.com wrote:
I'm not an expert in all this DNS/CNAME/etc things, so I afraid that
once I'll configure subdomain on appengine app,
root domain will not work on my PHP hosting
There's nothing to worry about, it won't break. When you set up
If you mean fetching it server-side, then that won't work. I can't
think of any nice way to do what you want, though there is a tickbox
that says Keep me signed in. If the user ticks this, surely that's
what they want?
On Jan 25, 2:05 pm, Alex Nemoy nemo1...@gmail.com wrote:
Can a user be logged
On Jan 25, 1:35 am, Spines kwste...@gmail.com wrote:
As long as there is at least one app instance running will that
guarantee another user won't get a loading request? My loading
requests take like 10 seconds to initialize Spring, Spring Security,
and JDO. I don't want any of my users to
What is it you're trying to do? Deliberately causing your requests to
block each other doesn't sound very scalable. Also, sleeping for only
1 millisecond will likely eat a ton of CPU while it spins waiting for
the lock.
It's hard to comment without knowing what you're trying to do. Maybe
if you
I found this on the App Store for the iPhone:
http://itunes.apple.com/gb/app/programming-google-app-engine/id345352599?mt=8
I'm not sure how anybody is making money when they're selling this at
£2.99, unless they're assuming most people will buy a hardcopy too!
On Jan 26, 1:08 am, Dan
The idea of a cache is that at any time it could be out of date.
Trying to synchronize wouldn't be the intended purpose of a cache I
don't think.
--
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post to this group, send email to
On Tue, Jan 26, 2010 at 7:45 PM, Danny Tuppeny da...@tuppeny.com wrote:
If you mean fetching it server-side, then that won't work. I can't
think of any nice way to do what you want, though there is a tickbox
that says Keep me signed in. If the user ticks this, surely that's
what they want?
Glad you got it sorted :-)
I thought you were trying to log the user out if they just left/closed their
browser, which would be a little trickier!
2010/1/26 Alex Nemoy nemo1...@gmail.com
On Tue, Jan 26, 2010 at 7:45 PM, Danny Tuppeny da...@tuppeny.com wrote:
If you mean fetching it
Hi, I'm working to export the datastore entities to csv, something too
simple like that take me a long of time, and I still can't solve it.
My app it's developed with GAE/J , but I follow a few posts and google
documentation to deploy an python app to run the script.
Finally I got the script
Thanks for reply Wesley.
We still would find GEA very useful for general medical procedural and
diagnostic information of encyclopedic nature
best regards,
Ralph
On Jan 25, 6:38 pm, Wesley C (Google) wesc+...@google.com wrote:
greetings again everyone,
App Engine is currently not HIPAA- nor
Yes, you're right. As a new instance is being spun up, there will be some
user that will have to deal with a loading request.
On Sun, Jan 24, 2010 at 3:50 PM, Spines kwste...@gmail.com wrote:
If I could get a definitive answer on this that would be great.
I know that when your Google App
Our application error log for the 26th showed around 160 failed http
requests due to timeouts. That's 160 users being forced to hit the
refresh button on their browser to get a normal response. A more
typical day has 20 to 60 timeouts. We have been waiting over a year
for this bug to get fixed
Have you used the retry recipe? It has made about 99.9% of my timeouts go
away.
On Jan 26, 2010, at 5:30 PM, phtq wrote:
Our application error log for the 26th showed around 160 failed http
requests due to timeouts. That's 160 users being forced to hit the
refresh button on their browser
There is an article series about the datastore. It explains that the
Timeouts are inevitable. It gives the reason for the timeouts. They
will always be part of Bigtable and the Datastore of GAE.
The only solution is a retry on EVERY read. The get by id/key and the queries.
If you do that then
it looks like you have some issue with your app.yaml file. please make
sure it's of a format similar to the following:
application: sandbox-getsense-it
version: 1
runtime: python
api_version: 1
handlers:
- url: /.*
script: main.py
also, here are two recent threads about creating CSV files:
all, i can let you know that Google does recognize this as an
important problem, and that the engineering team is working on it.
however, to make for a stronger case, can you all star the current
issue that documents this problem? also add your own story or use case
in the comments section as
Thanks Robert. The basic techniques I'm aware of for paging with a
query object are either:
1) Order by key name (not useful for me since the order looks quasi-
random; also you need to represent the starting key for the next page
somehow, and it looks ugly in an url).
2) Sort by an indexed
On Sun, Jan 24, 2010 at 5:35 PM, Spines kwste...@gmail.com wrote:
What about when there is a surge in traffic and a second instance is
going online, will that cause a loading request for a user?
It would take a googler to answer this authoritatively, but it appears
the answer is yes, the user
Hi there,
I'm a newbie with GAE, I'm using JPA to access datastore and I'm
having a problem querying datastore.
I have successfully inserted a few record into datastore using JPA but
I can not read them back from datastore.
Following is my code to query datastore.
Maybe it is useful for people in countries where Twitter is blocked.
If so, best tell people so they're not caught unawares.
--
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 don't know if this helps, but at work we sometimes use NHibernate, which
has incredibly bad startup times when there are lots of XML config files.
I creatd a static HTML file that displayed a We're just loading the
application page and used javascript to redirect to the first aspx page
(passing
hi amit,
apologies for the late reply. another user had a similar issue, and my
recommendation is the same. please follow the advice i give there:
http://groups.google.com/group/google-appengine-java/browse_thread/thread/68c98191e1d3679b
best regards,
-- wesley
- - - - - - - - - - - - - - - - -
Great Indian Developer Summit 2010 – Gold Standard for India's IT
Professional Ecosystem
Bangalore, January 22, 2010: The introduction of the Java Persistence
API signaled the beginning of the end of using proprietary Hibernate
or TopLink mapping files and session APIs to persist your business
83 matches
Mail list logo