Re: [appengine-java] Re: JDO and XG transactions - Performance

2011-10-18 Thread Max Ross (Google)
We debated this quite a bit internally. To paraphrase the argument that carried the day: XG transactions are awesome but they are not true global transactions. You're limited to 5 entity groups, you're more likely to see partially applied transactions in global query results, you can get a

[appengine-java] Re: Can't get log4j working

2011-10-18 Thread Sudhakar Abraham
Copy and paste the log4j.properties file into WEB-INF/Classes directory. Specify the properties file in appengine-web.xml file. S. Abraham www.DataStoreGwt.com Persist objects directly in Google App Engine appengine-web.xml system-properties property name=log4j.configuration

Re: [appengine-java] Re: JDO and XG transactions - Performance

2011-10-18 Thread Jeff Schnitzer
Ugh. Is this a correct further paraphrase? * You wanted users to get exceptions which would force them to go to the manual to figure out why they are getting exceptions. There are less intrusive ways to force users into reading the manual! I really hate software like this; it's a bozo bit that

[appengine-java] Strange behavior with OpenID

2011-10-18 Thread Miguel
I don't understand if it is a bug or I am doing something wrong .. I am using the federated login: when I logout from Google I still remain logged in my web-application. I do the authentication in that way .. Is it wrong? UserService userService = UserServiceFactory.getUserService(); User

[appengine-java] Re: OneToOne bidirectional relation JPA: When retreiving a child object, a parent attribute is being retrieved with its attributes in null.

2011-10-18 Thread Jean-Marc Truillet
Hello, Why do you set the @Basic annotation though the employee is not a basic type? I suggest you to remove it and add fetch=FetchType.EAGER to the @OneToOne annotation, to retrieve the employee and the contact in the same time. Personally, I try to avoid bidirectionnal one to one relation.

[appengine-java] multiple GAE apps under one Google Apps domain

2011-10-18 Thread Eliot Stock
Hi there, I'd like to create subdomains for various environments under my domain.com as follows: dev.domain.com would map to the app ID dev-domain-com test.domain.com - app ID: test-domain-com prod.domain.com - app ID: prod-domain-com www.domain.com - app ID: prod-domain-com Is this possible?

[appengine-java] Re: long running jobs

2011-10-18 Thread Gerald Tan
Sure, you can use Backend Instances, for a limited time per day. 4.5 hours per day on the default B2 instance I believe. If you need it to run for more than that per day you'll have to pay. Alternatively you can break your job down into smaller pieces and run them through cronjobs and/or task

Re: [appengine-java] GeoPt vs. two floats

2011-10-18 Thread Brandon Donnelson
Someone can do there own own GeoPoint Indexing using a hash for the geopoint. I've used the java lib below and it works good. http://code.google.com/p/geomodel/ - python lib http://code.google.com/p/javageomodel/ - java lib http://code.google.com/apis/maps/articles/geospatial.html - another

[appengine-java] Re: multiple GAE apps under one Google Apps domain

2011-10-18 Thread MasterGaurav
Yes. The combo is possible... multiple domains pointing to the same App ID. I have a couple of apps already doing stuff... just ensure that you've got the domain mappings done correctly. -- Happy Hacking, Gaurav Vaish http://www.mastergaurav.com On Oct 18, 4:30 pm, Eliot Stock

[appengine-java] Re: multiple GAE apps under one Google Apps domain

2011-10-18 Thread Eliot Stock
Thanks, but having multiple domains pointing to one app (eg. prod-domain-com in my example) isn't really the important thing. The important thing for me is getting all three apps running under one Google Apps domain (domain.com in my example) each with its own subdomain. -- You received this

[appengine-java] Re: Erro em Arquivo JSP

2011-10-18 Thread Fernando Varella Lopes
Para compilar as JSPs, é necessário o javac, que está incluso no JDK (Java Developer Kit). No eclipse, verifique se você possui a JDK instalada em Preferences Java Installed JREs. Se não tiver, você pode baixar do link a seguir

Re: [appengine-java] OneToOne bidirectional relation JPA: When retreiving a child object, a parent attribute is being retrieved with its attributes in null.

2011-10-18 Thread Juan Pablo Gardella
Try replace the query by: SELECT ci FROM ContactInfo ci join fetch ci.employee WHERE ... Juan 2011/10/17 kidowell crui...@gmail.com Dear All. I need a help here. I may be misunderstanding something. I have 2 classes Employee and ContactInfo. in a bidirectional OneToOne relation. Being

[appengine-java] Greetings - continuous integration with Google Eclipse plugin

2011-10-18 Thread fkhan
Greeting, as part of a class project that is using GAE and GWT via the Google Eclipse plugin I would like to add a continuous integration system like CruiseControl or Teamcity to regression test the application. Both these regression applications however seem to rely on the build having an ANT

[appengine-java] Re: JDO and XG transactions - Performance

2011-10-18 Thread David Gay (Google)
On Oct 17, 11:05 pm, Max Ross (Google) max.r...@gmail.com wrote: We debated this quite a bit internally.  To paraphrase the argument that carried the day: XG transactions are awesome but they are not true global transactions.  You're limited to 5 entity groups, you're more likely to see

[appengine-java] Re: OneToOne bidirectional relation JPA: When retreiving a child object, a parent attribute is being retrieved with its attributes in null.

2011-10-18 Thread kidowell
Hey Jean. I did what you said, with no success. But I saw that en employee attribute retrieved by contactInfo has all its element in null but its Id. Any clue why GAE does this. Why when fetching a child object, I can retreive its parent's Id only and not the rest of its attributes. Regards.

[appengine-java] Always on - control number of always on instances

2011-10-18 Thread WillSpecht
For the new billing, are we able to control how many instances are always on? Will I be able to only have one or two instances always on? -- 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

Re: [appengine-java] Always on - control number of always on instances

2011-10-18 Thread Bruno Fuster
Yes! If you disable always on, you can define the Min Idle Instances. On Tue, Oct 18, 2011 at 6:16 PM, WillSpecht willspe...@gmail.com wrote: For the new billing, are we able to control how many instances are always on? Will I be able to only have one or two instances always on? -- You

Re: [appengine-java] Re: JDO and XG transactions - Performance

2011-10-18 Thread Jeff Schnitzer
On Tue, Oct 18, 2011 at 9:07 AM, David Gay (Google) d...@google.com wrote: One other consideration: XG transactions do not work on master/slave. While the default could be different depending on whether HRD is used, that definitely has drawbacks. How can I detect if running on HRD vs M/S? I

Re: [appengine-java] Re: JDO and XG transactions - Performance

2011-10-18 Thread Alfred Fuller
This will tell you what type of datastore you are running against, but I don't think it will help you in the development env: http://code.google.com/p/googleappengine/source/browse/trunk/java/src/main/com/google/appengine/api/datastore/DatastoreService.java#388 On Tue, Oct 18, 2011 at 2:02 PM,

Re: [appengine-java] Greetings - continuous integration with Google Eclipse plugin

2011-10-18 Thread Matthew Jaggard
The Netbeans plugin provides an Ant script. On 18 October 2011 01:25, fkhan fazlesk...@gmail.com wrote: Greeting,  as part of a class project that is using GAE and GWT via the Google Eclipse plugin I would like to add a continuous integration system like CruiseControl or Teamcity to regression

Re: [appengine-java] Re: JDO and XG transactions - Performance

2011-10-18 Thread Jeff Schnitzer
Yeah, unfortunately it seems permanently stuck at MASTER_SLAVE in development mode. However, between this method for production and manually trying to commit a transaction in development mode it looks like I have a complete (but hacky) solution. Thanks Alfred! Jeff On Tue, Oct 18, 2011 at 2:19

[appengine-java] Re: OneToOne bidirectional relation JPA: When retreiving a child object, a parent attribute is being retrieved with its attributes in null.

2011-10-18 Thread Jean-Marc Truillet
Hi Kido, Sorry, I just have a very limited experience with JPA on GAE. Have a look at this article, it is explained how to execute join queries in GAE (from 1.3.1): http://gae-java-persistence.blogspot.com/2010/03/executing-simple-joins-across-owned.html I haven't tested it, but it would be

[appengine-java] Re: Infinite loop of redirection related to 404

2011-10-18 Thread Ronoaldo José de Lana Pereira
I'm experiencing the same behavior in my app. I got the 404 infinite redirect loop when my app has a jsp-config in web.xml. This only happens on production, so I guess is this a production bug? The only thing that seem to fix this issue is by removing any jsp-config you have in web.xml. This

[appengine-java] JDOCursorHelper.getCursor always returns NULL

2011-10-18 Thread hendrix.jason
When I execute: Cursor newCursor = JDOCursorHelper.getCursor(results variable); newCursor is always null even though there are valid results returned and there are more in the datastore that fit the query. Since I am filtering multiple times on the same property, is this query getting treated as

[appengine-java] Re: Infinite loop of redirection related to 404

2011-10-18 Thread gk
You have probably configured some form of authentication / security. When your application tries to acces the page, it wants to redirect you to the login url (like /myLoginForm.html or /ah_login/... for App Engine login). Now the login url is not accessible (probably due to authentication /