[appengine-java] Re: Not sending email with Javamail and no error

2010-12-23 Thread captain
Hi all, My code was working two weeks ago and now I found myself in the same situation of the original post Hard to tell what is going on with the java mail service. Definitely something changed. Claudio Of On Dec 18, 7:29 am, "@bh!jiT" wrote: > Ok few things when dealing with mail API >

Re: [appengine-java] Dashboard not showing Avg cpu and /favicon.ico -> This URI uses a high amount of CPU and should be optimized.??

2010-12-23 Thread Gal Dolber
I have always on enabled. When I get into each request it shows the avg cpu. /favicon.ico is not there, but even if it where, it is a static resource and cannot produce a new instance. It looks like a bug on the dashboard On Thu, Dec 23, 2010 at 6:48 PM, A. Stevko wrote: > I suggest clicking thr

Re: [appengine-java] Dashboard not showing Avg cpu and /favicon.ico -> This URI uses a high amount of CPU and should be optimized.??

2010-12-23 Thread A. Stevko
I suggest clicking thru that link and seeing what is logged. Likely the .ico hit is causing an instance to be warmed up. On Thu, Dec 23, 2010 at 1:22 PM, Gal Dolber wrote: > *Current Load [image: > help] > * URI Requestslast 13 h

Re: [appengine-java] GWT and GAE debugging problem

2010-12-23 Thread A. Stevko
Are you trying to transport a query result set from GAE to GWT? Sorry but JDO/JPA persistent objects are not serializable (just like EntityBeans). You will need to do something to make the objects portable. I suggest checking out Objectify or creating your own Data Transfer Objects. http://code.goo

Re: [appengine-java] Re: What sort of indexes does GAE use for queries that use only equality and ancestor filters?

2010-12-23 Thread Gal Dolber
This is what you want: http://www.youtube.com/watch?v=ofhEyDBpngM I also waiting for it! 2010/12/23 ss.require > But I can't figure out what index(any other mechanism) GAE uses for > query with only one ancestor filter? I want to know what is efficient > for one-many relationship: store a refere

[appengine-java] Dashboard not showing Avg cpu and /favicon.ico -> This URI uses a high amount of CPU and should be optimized.??

2010-12-23 Thread Gal Dolber
*Current Load [image: help] * URI Requestslast 13 hrs Avg CPU (API)last hr % CPUlast 13 hrs /favicon.ico

[appengine-java] Relationship modeling for a Post and a Comment: which option will perform best in GAE

2010-12-23 Thread Michael Green
2 Classes: a Post and a Comment; there is a one to many relationship with one Post having many Comments I’m thinking of a couple of options Option 1: The Post contains a list of keys to a Comment (and the Comment does not know directly about which Post it pertains to) Option 2: The Comment

[appengine-java] Re: What sort of indexes does GAE use for queries that use only equality and ancestor filters?

2010-12-23 Thread ss.require
But I can't figure out what index(any other mechanism) GAE uses for query with only one ancestor filter? I want to know what is efficient for one-many relationship: store a reference to an opposite object as a simple reference property(Key object) or store one in the primary key as the parent key?

[appengine-java] maven-gae-plugin

2010-12-23 Thread Patrick Twohig
Hi, I was having difficulty debugging my application using Maven plugin for App Engine. As soon as I connect the debugger the process stops. Is anybody else experiencing this issue? Or, alternatively, is there any other means to get maven+gae+eclipse and the debugger working? Thanks, Patrick.

[appengine-java] Re: Processing large xml-files with JAXB in app engine

2010-12-23 Thread crllvnc
I've been using JAXB for xml file unmarshalling in an upload servlet. As far as I remember, the only size limit I have faced is related to the 30s timeout. Here are my imports : import javax.xml.bind.JAXBContext; import javax.xml.bind.JAXBElement; import javax.xml.bind.JAXBException; import javax.

[appengine-java] Re: Upload to blobstore without form

2010-12-23 Thread crllvnc
Helpful indeed ! Thanks Tim. -- 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 google-appengine-java+unsubscr

[appengine-java] Transaction locking with grandparent -> parent -> grandchild

2010-12-23 Thread Michael Green
I have a relationship model with one-to-many relationships between a grandparent, multiple parents each with multiple children. If I model these as owned, will wrapping an update to one of the grandchildren inside a transaction lock the entire entity group for all descendants of a single gra

[appengine-java] Re: What sort of indexes does GAE use for queries that use only equality and ancestor filters?

2010-12-23 Thread ss.require
I've already found the answer by myself. The answer is here: http://www.google.com/intl/uk-UA/events/io/2009/sessions/BuildingScalableComplexApps.html. Just few words. For queries with multiple equality filters GAE uses merge-join. GAE scans single indexes for every equality filter in the query and

[appengine-java] Re: low-lewel put method outside of a transaction

2010-12-23 Thread ss.require
Thanks very much. That is exactly what I need. On 22 Грд, 23:49, Stephen Johnson wrote: > You might want to take a look at CommittedButStillApplyingException > > > > On Tue, Dec 21, 2010 at 1:08 PM, ss.require wrote: > > Please, help! > > According to this: > >http://code.google.com/intl/uk-UA/a

[appengine-java] Persist a child object of an existing Parent class

2010-12-23 Thread lisandrodc
Hi! I have a problem when add a class "Equipo"(child) one "Torneo"(parent existing class). The code: Transaction tx = pm.currentTransaction(); try { tx.begin(); unTorneo.agregarEquipo(unEquipo); //pm.makePersist

[appengine-java] Queue task problem

2010-12-23 Thread BOB
Hi this is BOB trying to use queue task but its giving a lot of problems: 1. How to send parameters or set parameters for a POST method? 2.the is not recognized in queue.xml please reply asap thnx-BOB :) -- You received this message because you are subscribed to the Google Groups "Google Ap

[appengine-java] Queue problems

2010-12-23 Thread BOB
Hi this is BOB trying to use queue task but its giving a lot of problems: 1. How to send parameters or set parameters for a POST method? 2.the is not recognized in queue.xml please reply asap thnx-BOB :) -- You received this message because you are subscribed to the Google Groups "Google Ap

[appengine-java] Re: Persist child - Problem

2010-12-23 Thread lisandrodc
Hi! The parent class "Partido" has the annotation: @Persistent( defaultFetchGroup = "true") private List equiposPartido; Regards! Lisandro On Dec 21, 6:50 pm, andrew wrote: > can you show the parent class, with the field for for the Equipo > child? > > It will no doubt have @Persistence annotat

Re: [appengine-java] GWT and GAE debugging problem

2010-12-23 Thread Cesar Ruiz
Yest, its fixed!. But another real important question appeared. When trying to retrieve the list of objects "Book", an exception is thrown, sayin: GRAVE: javax.servlet.ServletContext log: Exception while dispatching incoming RPC call com.google.gwt.user.client. rpc.SerializationException: Type 'o

[appengine-java] 2 bi-directional one-to-many relationships using jdo?

2010-12-23 Thread Sumi
Hello, Is it possible to have 2 bi-directional one-to-many relationships:?When I added the 2nd bi-directional one-to-many relationship it is failing..any examples of how to handle this? Example: User.java - @Persistent(mappedBy = "userA") //bi-directional relationship @Element(

[appengine-java] Re: Understanding gwt-dispatch and Singletons/member variables

2010-12-23 Thread l.denardo
I don't fully understand your problem (maybe a few lines of code will help). Anyway: *Member variables in action handlers are usually created as they should, empty, for my experience *Memcache is shared across all application instances, so if you populate your map using the memcache value and then

[appengine-java] Re: Users and UserService: fetch userID without login

2010-12-23 Thread l.denardo
Thanks Ikai, from documentation it seems an ID is not provided. I'll revert to something like this: *Retrieve domain's users from the Google Data api *Store a temporary list of users with associated roles and their email as an identifier *When the user logs in, check for a temporary record and set

[appengine-java] Re: Sending email from Java dev server

2010-12-23 Thread Ian Marshall
The documentation at http://code.google.com/appengine/docs/java/mail/overview.html#Development_Server states that the GAE/J app dev server does not send E-mails. On Dec 22, 8:21 pm, Thomas Oldervoll wrote: > Is there a way to enable email sending for the AppEngine Java dev server? > I've fo