[appengine-java] GuestBook tutorial app does not work on AppEngine

2009-08-23 Thread Shack
Hi, I followed all instructions for the GuestBook application (no GWT) and deployed it onto the AppEngine. I am using Ubuntu 9.04 + Eclipse 3.5 + Google AppEngine 1.2.2. The application is running perfectly on my local machine. However I have no output at http://anudemoapp.appspot.com/. When I

[appengine-java] Re: GuestBook tutorial app does not work on AppEngine

2009-08-23 Thread alaindemour
I have the exact same problem right now ... is the appengine down? note that I see the 404 errors in the app engine Logs (Main - Logs), so it looks that the HTTP request reaches something in the app engine infrastructure On Aug 22, 11:11 pm, Shack shack1...@gmail.com wrote: Hi, I followed

[appengine-java] Re: GuestBook tutorial app does not work on AppEngine

2009-08-23 Thread alaindemour
It looks like deploying the default app created by the google toolbar (before cutting and pasting anything into it) does deploy and runs correctly, so I guess now it is a matter of debugging and trying to find what part of the Guestbook example does not agree with the App Engine. On Aug 22,

[appengine-java] Re: Maven

2009-08-23 Thread jd
On Aug 23, 2:46 am, Marcel Overdijk marceloverd...@gmail.com wrote: Has anyone had a better luck with this? I gave up on the mvn-appengine-plugin as the dependancies were broken and no one seems to maintain it. I also had a crack at using the datanucleus plugin but gave up after running

[appengine-java] Inheritance in JDO

2009-08-23 Thread jd
Hi, I have a structure similar to this this: class Zoo { Animal animal; } class Zebra implements Animal { } class Donkey implements Animal { } All classes are annotated as PersistenceCapable etc and enhanced. I get this error: javax.jdo.JDOUserException: Field animal is declared as a

[appengine-java] Re: GuestBook tutorial app does not work on AppEngine

2009-08-23 Thread eshriek
Just to clarify, index.html is the default file that will be returned if you do not specify the .jsp extension. Static files take priority when there is ambiguity. If you do not specify any file (as you did,) then you should receive a page with links to each application you have available. In

[appengine-java] Re: GuestBook tutorial app does not work on AppEngine

2009-08-23 Thread eshriek
Try using the full url path to the application: http://anudemoapp.appspot.com/guestbook.jsp If you use http://anudemoapp.appspot.com/guestbook You get your index.html file. I'm not sure why this happens. It may be a serve-side bug? On Aug 23, 2:11 am, Shack shack1...@gmail.com wrote: Hi, I

[appengine-java] Re: GuestBook tutorial app does not work on AppEngine

2009-08-23 Thread alaindemour
I think there is an inconsistency in the way jetty and the app engine handle welcome files configuration, I fixed my problem by removing the front slash in the web.xml file i.e. I used welcome-file-list welcome-fileguestbook.jsp/welcome-file /welcome-file-list

[appengine-java] Re: Can't make logging work

2009-08-23 Thread rick
Did you try changing level to FINEST in your logging.properties file ? --~--~-~--~~~---~--~~ 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

[appengine-java] Re: 401 Unauthorized Must authenticate first. I can't upload my project

2009-08-23 Thread Cyrano
As I have the same problem, I take the freedon to respond wiht my details. I tred with both Eclipse and Ant. When I enter a wrong password, I get the error email and password do not match. If I enter them correctly, I get the 401 Must authenticate first error. I am definetely not behind a proxy

[appengine-java] Re: Maven

2009-08-23 Thread Philippe Marschall
On Aug 22, 8:25 pm, drone andr...@gmail.com wrote: So, has anyone actually got Maven up and running with a GAE project? (and I mean really Maven, not Maven for this and Ant for that) Yeah, but I don't use JDO or GWT. I just build with Maven and upload with the shell script. I didn't get

[appengine-java] Re: Can't make logging work

2009-08-23 Thread David Given
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 rick wrote: Did you try changing level to FINEST in your logging.properties file ? Yes, that did it. Thanks very much! (And it would be dead handy if the App Engine documentation could mention this --- it is the only form of debugging

[appengine-java] Re: Maven

2009-08-23 Thread alain demour
K Sent from my iPhone On Aug 23, 2009, at 9:39 AM, Philippe Marschall philippe.marsch...@gmail.com wrote: On Aug 22, 8:25 pm, drone andr...@gmail.com wrote: So, has anyone actually got Maven up and running with a GAE project? (and I mean really Maven, not Maven for this and Ant for

[appengine-java] Re: GuestBook tutorial app does not work on AppEngine

2009-08-23 Thread Shack
Thank you. It works by using the guestbook.jsp as you have said. Cheers. --Shack On Aug 23, 11:39 pm, eshriek eshr...@gmail.com wrote: Just to clarify, index.html is the default file that will be returned if you do not specify the .jsp extension. Static files take priority when there is

[google-appengine] Help with storage quota reading

2009-08-23 Thread Jesse Grosjean
Dumb question, but just want to make sure that I'm getting this right. In my dashboard I see: Stored Data, $0.005/GByte-day, 0%, 0.07 of 201.00 GBytes, $0.00 / $1.00 Am I correct in interpurting this to say that I've used 0.07 GBytes (~72 MBytes) of storage so far? Thanks, Jesse

[google-appengine] Re: Google App Engine and Dedicated IP

2009-08-23 Thread Barry Hunter
No this is not possible, for many reasons. A static IP would lose much of the advantage of AppEngine. You could if you want proxy the site though the server with the static IP, but seems kinda silly. On 23/08/2009, yaoye yaoye...@gmail.com wrote: Hi, guys, Would it be possible to bind a

[google-appengine] How Many References Allowed?

2009-08-23 Thread Devel63
Is there a limit to the number of entities that can reference a given entity? For example, class Class1(db.Model): prop1 : db.IntegerProperty() class Class2(db.Model): ref_prop: db.ReferenceProperty(Class1, collection=my_references) Is there a limit to the number of class2

[google-appengine] How Many References Allowed?

2009-08-23 Thread Devel63
Is there a limit to the number of entities that can reference a given entity? For example, class Class1(db.Model): prop1 : db.IntegerProperty() class Class2(db.Model): ref_prop: db.ReferenceProperty(Class1, collection=my_references) Is there a limit to the number of class2

[google-appengine] Simple App Engine Recipe?

2009-08-23 Thread Devel63
I'd like to be able to find all Articles that contain certain words and have been tagged by a given user. Is there a good App Engine way to do this? I started down this path: - Articles are db.Searchable entities - Each user tag creates a new UserTag entity userID : db.UserProperty

[google-appengine] keys_only does not work with Searchable

2009-08-23 Thread Devel63
It seems that the keys_only flag in the Kind.all(keys_only=True) does not work/compile for the search.Searchable model. I get an 'unexpected keyword' error msg. [Tried to post this a few days ago, but it's not findable] --~--~-~--~~~---~--~~ You received this

[google-appengine] Re: Combining Python and Java

2009-08-23 Thread Radu Grigore
On Aug 23, 6:05 am, Thomas Wiradikusuma wiradikus...@gmail.com wrote: E.g. Python in the backend and GWT in the frontend. It is possible but I didn't investigate thoroughly the support you get for RPC. In my case I have very few types of calls that are performance sensitive so I don't mind

[google-appengine] Re: Relation indexing using a single list property - proposal

2009-08-23 Thread Juraj Vitko
hi, this is unrelated to getting around the 1000 query results limit - this is to get around the composite indexes limit. re 4 filters: I would say you need to store permutations, so that you don't have to do the post processing steps you mentioned, ie. if there is filterA and filterB, let's say

[google-appengine] Question on increasing performance..

2009-08-23 Thread bvelasquez
http://pastie.org/592489 If you can help me answer this question, I would appreciate it. The above code takes the following ~ time: 1370ms 1725cpu_ms 670api_cpu_ms. Changing the query to return the Actions bumps it up to : 2311ms 3050cpu_ms 1018api_cpu_ms Changing the Action.get() to use the

[google-appengine] Re: Question on increasing performance..

2009-08-23 Thread djidjadji
Your query will probably fetch more then 25 Action objects. Fetching all those Keys is fast. Fetching all the complete objects is slow, you fetch a lot more then you need. If you iterate over the GQL query, no fetch, that requests full Action objects (SELECT * FROM ACTION...), the objects

[google-appengine] Re: Question on increasing performance..

2009-08-23 Thread djidjadji
Every a.project statement results in a db.get() operation. Try to batch get() the project_key cache misses, and then set_multi() these in memcache. Put/Copy the project.active and project.deleted booleans in the Action object. Then you can use them in the query and just fetch 25 Action objects

[google-appengine] NEED HELP about _ah/admin

2009-08-23 Thread Allen
As we know we can use http://localhost/_ah/admin; to go through the local database before upload to GAE. And we can not directly use http://www.mydomain.com/_ah/admin; to visit the online database after appcfg.py to GAE. My question is: how can I achieve the same as online database? How to