[appengine-java] I don't understand Relationships managed by JDO and Datanucleus in GAE

2009-08-23 Thread MArtin Schumacher
Hi there, I am trying to handle some really simple Relationships with JDO and Datanucleus. I read one thread about a similar Problem. But the developer in that thread handles the keys by himself. He generates the keys with a KeyFactory and stores just Keys instead of the dependent Object. Do I h

[appengine-java] Re: Model to Optimize Queries

2009-08-23 Thread Sam Walker
Also, I get this error: *Can only filter by properties of a sub-object if the sub-object is embedded.* when I tried to access article while setting a fitler: query.setFilter("reviewer == reviewerParam && article.status = articleStatusParam"); What am I missing? On Sat, Aug 22, 2009 at 6:02 PM, S

[appengine-java] Re: Maven

2009-08-23 Thread Alexei Vidmich
I managed to setup maven descriptor so that I can build and enhance classes. I execute "mvn clean package" when I want to build it and it works just fine. I add the following pieces to my pom.xml file at the appropriate locations: 1.2.2 [path-to-appengine-SDK]

[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 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 ambiguity. If you

[appengine-java] Fw: Failed to do filtered query - Exception says field does not exist or is not persistent....

2009-08-23 Thread Zhi Le Zou
Since the "productID" attribute is defined in the parent class, do I need to declare the inheritance relationship somewhere? thanks. -- Forwarded message -- From: Zhi Le Zou Date: 2009/8/22 Subject: Failed to do filtered query To: google-appengine-java@googlegroups.com Hi there,

[appengine-java] Null Pointer Exception with Persistence Manager

2009-08-23 Thread Frusty
Hi, I am having a big problem with my GAE Project. I want to store some Contact data and that worked perfectly. Since i do not like the way GAE generates the keys, I am now using the String ID to define my own key. Worked also. To have running numbers, created a table that holds some counters

[appengine-java] Re: AppEngine no longer shows any content

2009-08-23 Thread DrMorten
www.cuttime.se Any url on the site failed with the message. But as I wrote earlier, it seems to be intermediate. since it "fixed it self". /M On Aug 21, 4:45 pm, Don Schwarz wrote: > Do you have a sample URL I could try?  I'm not aware of anything that would > cause us to return a 200 in res

[appengine-java] Re: Object manager has been closed (GAE with Spring)

2009-08-23 Thread objectuser
Do you get it when you're trying to walk the graph on an object? If you add that property to the defaultFetchGroup does it fix it? On Aug 22, 11:37 pm, randal wrote: > Hello. > > I'm using Spring's JDO support. My data access classes are > JdoDaoSupport classes. I've encountered the exception t

[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 wrote: > > > > On Aug 22, 8:25 pm, drone 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 G

[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 availabl

[appengine-java] Re: Maven

2009-08-23 Thread Philippe Marschall
On Aug 22, 8:25 pm, drone 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 unit testing [1] r

[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 pro

[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 google-appengine-java@g

[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 guestbook.jsp instead of /guestbook.jsp

[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 your

[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 wrote: > Hi, > > I followed all inst

[appengine-java] Re: Inheritance in JDO

2009-08-23 Thread David Given
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 jd wrote: [...] > I have a structure similar to this this: [...] > class Zoo > class Zebra implements Animal > class Donkey implements Animal [...] > javax.jdo.JDOUserException: Field "animal" is declared as a reference > type (interface/Object) but n

[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 r

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

2009-08-23 Thread David Given
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 rick wrote: >> but nothing ever shows up in the 'Logging' section of the Administration >> console. > Are you looking in the "Main" part of the dashboard. Click on "Logs" > and select "Debug" in dropdown menu. Yup, I'm looking there --- the only en

[appengine-java] Re: Maven

2009-08-23 Thread jd
On Aug 23, 2:46 am, Marcel Overdijk 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 into some problems with d