Intro:
I am an experienced embedded 'C' developer;
I have written a little C++ and C#;
I am new to both Java in general and AppEngine in particular;
I don't know Python at all.
I am trying to use the datastore, following the Book Store example
in the online docs:
GWT RPC is failing when I view my site with my custom domain, which
was successfully attached to my google app. GWT RPC succeeds when I
view my site with the myproject.appspot.com address.
Why? Is the httpxmlrequest pointing to myproject.appspot.com instead
of the the custom domain? Obviously it
It seems that I've used my own Run Configuration where I included a
wrong nucleus-appengine-something.jar in the classpath. When I added
the Jar-File by hand the enhancer didn't work anymore. I created a new
Run Configuration with the latest appengine version and it works. Are
there some
Oh, ok the reason RPC is failing is because I had the subdomain of the
custom domain set to forward to http://myproject.appspot.com on my
domain hosting service provider. I truly believe that would result in
the RPC being cross domain and thus failing. I followed the steps of
adding the subdomain
Hello Sky,
When my application launches, I create a queued task which constructs
my singleton PMF instance asynchronously.
My getPMF() method then uses this instance, and creates it at once
if it is not yet created for some reason.
This way, the creation of my PMF does not cause a delay to app
http://code.google.com/intl/nl-BE/appengine/docs/java/javadoc/
Text myText = new Text(myString);
--
Pieter Coucke
Onthoo BVBA
http://www.onthoo.com
http://www.koopjeszoeker.be
--
You received this message because you are subscribed to the Google Groups
Google App Engine for Java group.
To
Any comment on this by anyone? I am waiting too :)
thanks.
On Tue, May 25, 2010 at 1:18 PM, Ice13ill andrei.fifi...@gmail.com wrote:
I'm building an app that uses Google account auth.
The application also uses a custom persistent entity (UserProfile) for
users that are registered (so
pm.deletePersistentAll(Collection c) method gets collection as
paramether and deletes every element of the collection
pm.getExtent(Class class) gets all the images in datastore (as
iterable)
you could use getExtent to get all data, convert it to collection and
use deleteAll to remove everything.
I am curious, does it matter if I call the factory each time I need an
instance of MemcacheService? I am trying to keep the startup time to
minimum so it would be good to know. Currently I create a global
instance on startup which may or may not be used by the request.
Cheers,
Viðar
On Wed, May
How to instantiate EntityManager ?
EntityManager entityManager = EntityManagerFactory.getEntityManager();
Is that true?
Why is an null result?
--
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
http://code.google.com/intl/nl-BE/appengine/docs/java/datastore/usingjpa.html#Getting_an_EntityManager_Instance
--
Pieter Coucke
Onthoo BVBA
http://www.onthoo.com
http://www.koopjeszoeker.be
--
You received this message because you are subscribed to the Google Groups
Google App Engine for
Hello,
I have the following index definition in the datastore-indexes.xml:
datastore-index kind=TransactionEntity ancestor=false source=manual
property name=createdBy direction=asc/
property name=creationDate direction=asc/
property name=primary direction=asc/
property name=time direction=asc/
Try cleaning and rebuilding the project. I had a similar error in a
GAE + GWT project, and I think that's what solved it for me. But I'm
not sure I'm remembering right, so please report back if that or what
else solves it.
--
You received this message because you are subscribed to the Google
You can call the factory any times it doesn't matter it will return you the
same cache.
Thanks,
Rahul
--
Rahul Juneja
http://techlabs.thoughtclicks.com
2010/5/26 Viðar Svansson vidarsv...@gmail.com
I am curious, does it matter if I call
The status shows that your index updates are Queued which would
suggest that they are waiting for other users indexes to be built first.
Note that when you create the index definitions first then add the
data, the indexes are created on-the-fly as each entity is added and
the CPU time
I realize that I always get the same cache. I am just wondering if it
creates an overhead to always call the factory or not.
Viðar
On Wed, May 26, 2010 at 1:27 PM, Rahul Juneja rahul.jun...@gmail.com wrote:
You can call the factory any times it doesn't matter it will return you the
same cache.
Jut need to be careful that if you reuse the same instance you don't
depend on the namespace or error handler which are per-instance. Also
worth pointing out that although google devs have mentioned on this
list that it is OK to share MemcacheService instances, the docs do not
state that
I use the following code to update an object from servlet in Google
App Engine :
String Time_Stamp=[ 2010-05-26 ],query=select from
+Contact_Info_Entry.class.getName()+ where Contact_Id ==
'+Contact_Id+' order by Contact_Id desc;
PersistenceManager pm=null;
try
{
As far As I know, there's not jeje.
but if you use an IDE like Eclipse everything reduces to just install the
plugin for GAE and done!.
Rgds.
R
2010/5/26 poe stefan.poe...@googlemail.com
It seems that I've used my own Run Configuration where I included a
wrong nucleus-appengine-something.jar
Hi, i try to upload new version and i got this error:
...
Will check again in 64 seconds
Will check again in 128 seconds
Rolling back the update.
java.lang.RuntimeException: Version not ready.
and in log:
Unable to update:
java.lang.RuntimeException: Version not ready.
at
If U want try this solution U must change authentication options in
google app engine dashboard : Administration - Application Settings.
On May 19, 1:36 am, Drasko drasko.ko...@googlemail.com wrote:
I put some stuff onhttp://super-easy.blogspot.com... hope it helps.
On May 16, 5:13
Hi there
I am trying to get the Google tutorial for the app engine working. I
am at the end of the 'Using JSPs' page and have done everything
exactly. But after I input a greeting on the form, I get:
HTTP ERROR 404
Problem accessing /sign. Reason:
NOT_FOUND
Anyone try this solution merge with oauth to achieve hybrid protocol
(openid + oauth)? I want in one step log into my application using
gmail account and also grant access to some google services like
picasa,youtube,maps,... ;]
On 19 Maj, 01:36, Drasko drasko.ko...@googlemail.com wrote:
I put
Anyone try this solution with oauth? I want achieve one step
authorization(for log in to my application) and authentication(to
grant acces to google services: picasa,...) like in hybrid protocol
(openid + oauth). In GWT its not quite simple to implement hybrid
protocol;]
--
You received this
Hello Google,
Can you please help me to delete an error version in my app?
When I tried to delete it, the system reported
Server Error. A server error has occurred.
My app id: gaepocdemo
Error version: 3
Thanks
--
You received this message because you are subscribed to the Google Groups
This is post, not new discoussion :/ I must do something wrong. In any
event, I wanted implement hybrid protocol (openid + oauth) with built
in app engine library since 1.3.4 sdk release has openid and oauth.
Openid is very simple to implement:
Can you try rebuilding your project? Also note that changes to web.xml
require a server restart if you are working in Debug mode and hot-reloading
classes.
On Wed, May 26, 2010 at 6:51 AM, Skeniver skeni...@gmail.com wrote:
Hi there
I am trying to get the Google tutorial for the app engine
Here's the page specifically for the Text object:
http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/Text.html
As you can see in that documentation (as Pieter demonstrated) -- Text
wraps a string (String) and does so via its constructor (rather than
via some set
I'm getting this as well. I was deploying my app when I went to the
blobviewer to delete an entry.
Now I cannot delete the version that locked or delete any entries
using the blobviewer. All I get is a Server Error.
appid: storetormain
version: 2
On May 26, 1:41 pm, Chau Huynh cmhu...@gmail.com
I'm getting this as well. I was deploying my app when I went to the
blobviewer to delete an entry.
Now I cannot delete the version that locked or delete any entries
using the blobviewer. All I get is a Server Error.
appid: storetormain
version: 2
On May 25, 6:07 pm, Patrick Brown
Hi
I think this is a known issue, since I posted the question I did
some searching and found an issue documenting this happening to alot
of people
Patrick
On May 26, 2010, at 5:39 PM, Erich erich.re...@gmail.com wrote:
I'm getting this as well. I was deploying my app when I went to
So I'm trying again now...
After setting the (hopefully) proper strategy I get different
exception from the Enhancer:
--
27.5.2010 2:51:42 org.datanucleus.enhancer.DataNucleusEnhancer main
SEVERE: DataNucleus Enhancer completed with an error. Please review
the enhancer log for full details. Some
I have a memcache and not to mention it does live between different
jvm instances when new jvm instances starts, i can access the cache
but once a while i don't find any values in cache and this happened
twice in last 24 hours. Is there any default expiration which is less
then 24-48 hours which
Hi,
In the datastore viewer, there is a provision to specify the GQL
query. Can a query to delete all the entities be specified in it? If
so , can someone please give the syntax for it!
Thanks
--
You received this message because you are subscribed to the Google Groups
Google App Engine for
There is no delete keyword in standard GQL. You need to do this
programatically. However, there is a GQL third party library which
might implement delete.
On 27 May 2010, at 08:55, drift elysium wrote:
Hi,
In the datastore viewer, there is a provision to specify the GQL
query. Can a
It looks like that i have received the following error and memcache
was cleared around that time. What it looks like is memcache service
was unavailable. This kind of answers my question i guess until and
unless there is something else which i am missing.
Just for the information this happened
Thanks for the reply !
On Wed, May 26, 2010 at 9:17 PM, John Patterson jdpatter...@gmail.comwrote:
There is no delete keyword in standard GQL. You need to do this
programatically. However, there is a GQL third party library which might
implement delete.
On 27 May 2010, at 08:55, drift
37 matches
Mail list logo