[appengine-java] Re: How to make GWT + App Engine application crawlable?

2010-09-24 Thread PhilBeaudoin
I've been working on this problem for a long time within the gwt- platform project: http://code.google.com/p/gwt-platform/issues/detail?id=1 I've gotten very far (i.e. I can make it work in development mode) but I ran into a very annoying issue with the urlfetch API of AppEngine: http://code.googl

[appengine-java] what if tx.commit() fails ?

2010-09-24 Thread Prashant
Hi, I have a small doubt with transactions. Suppose I am trying to update an entity using transaction and before I commit my transaction, someone else updates the entity. Now what will happen ? Any exception will be thrown on tx.commit() call ? -- Prashant www.claymus.com -- You received this

[appengine-java] Updating multiple entities (in different entity groups) with transaction

2010-09-24 Thread Prashant
Hi, I want to update 2 different entities of same type but in different entity groups with transaction i.e. either both entities should get updated or none. Can we make 2 transaction instances (tx), one for each entity, update each entity separately, if one transaction fails, rollback the other o

[appengine-java] Re: JSF2

2010-09-24 Thread Daniel
seems to be solved by removing primefaces-2.2.M1.jar weird??? but works now... On Sep 24, 7:56 pm, Daniel wrote: > I tried this too... but its the same.. does not work :/ > > On Sep 24, 6:15 pm, "Chris (Google Employee)" > wrote: > > > Hi Daniel, > > > For a possible workaround, have you trie

Re: [appengine-java] How to make GWT + App Engine application crawlable?

2010-09-24 Thread hezjing
I'm still not able to retrieve the query string from my servlet filter. For example after application is deployed to Google App Engine, and then browse X.appspot.com/X.html?a=b. The query string is null. Can you help me on this, please? On Thu, Sep 23, 2010 at 1:21 PM, hezjing wrote: > Proba

[appengine-java] Java Adwords API not compatible with AppEngine

2010-09-24 Thread Shaun
I just heard back from the AdWords team: "Currently the Java client library is not supported on AppEngine. The classes that the library uses are blacklisted by the AppEngine runtime (so while it may work locally, it will not work when your run it). We are hoping to look at official AppEngine supp

[appengine-java] Re: PayPal Payflow Pro Connection Error

2010-09-24 Thread Shaun
I am using Java, are you talking PayPalX? Doesn't that only support paypal accounts, i.e. not credit cards? If your code does work with credit cards can you post a basic example of your pay method? Thanks for the help! On Sep 23, 10:13 pm, nischalshetty wrote: > Are you on Python or Java? > > I h

[appengine-java] Question about logging rates

2010-09-24 Thread tomkarren
I have an application that writes a lot of log entries at the INFO level. The application has a lot of requests to very quickly operating servlets. Is it possible that the logging can get behind the requests, or cause my application to suffer performance degradation? Should I be worried about cu

[appengine-java] simultaneous user request failures

2010-09-24 Thread tomkarren
Hi, I have an application which normally responds to user requests in the 100 -200 ms range with nominal API/CPU utilization, but occasionally will have a request simply time out. (infrequently and randomly). Even more interesting, I have noticed in testing simulating 9-10 simultaneous users maki

[appengine-java] Re: Sharded Counters in Java not using Transactions?

2010-09-24 Thread Doug Daniels
I posted the question on Stackoverflow and the consensus is that it should be wrapped in a transaction. http://stackoverflow.com/questions/3782296/java-google-appengine-sharded-counters-without-transactions I also opened an Appengine issue (is this the right way to report issues in documentation?)

Re: [appengine-java] Problem with persist a child class

2010-09-24 Thread andy stevko
I've managed to make class inheritance work for me using JDO. The only difference I see between my annotations and yours is I'm using @Inheritance(customStrategy = "complete-table") InheritanceStrategy

[appengine-java] Re: Problem with persist a child class

2010-09-24 Thread lisandrodc
Yes Fernando, but if I delete the @PrimaryKey in RegFechaUsuario, the exception is Problem accessing /Prode/JugarFecha.action. Reason: java.lang.Long cannot be cast to java.lang.String Caused by: java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.String The child class

[appengine-java] Re: Channel api / Dance dance robot: what is ApplicationError: 2:

2010-09-24 Thread Shlomi
Hello, I tried following your technique (on AppEngine 1.3.7), but it does not seem to help... if i view the source of the page, i do see that it attempts to load the jsapi file, but i still get SEVERE: Failed to push the message com.google.appengine.demos.dda.shared.dancebeginmess...@145d7f2 to c

[appengine-java] Re: JSF2

2010-09-24 Thread Daniel
I tried this too... but its the same.. does not work :/ On Sep 24, 6:15 pm, "Chris (Google Employee)" wrote: > Hi Daniel, > > For a possible workaround, have you tried manually coding the > JavaScript for the Ajax request call? > > For example, instead of: > >   > > > ... manually coding the J

[appengine-java] Re: JSF2

2010-09-24 Thread Daniel
I tried this too... but its the same.. does not work :/ On Sep 24, 6:15 pm, "Chris (Google Employee)" wrote: > Hi Daniel, > > For a possible workaround, have you tried manually coding the > JavaScript for the Ajax request call? > > For example, instead of: > >   > > > ... manually coding the J

[appengine-java] Re: JSF2

2010-09-24 Thread Daniel
I tried this too... but its the same.. does not work :/ On Sep 24, 6:15 pm, "Chris (Google Employee)" wrote: > Hi Daniel, > > For a possible workaround, have you tried manually coding the > JavaScript for the Ajax request call? > > For example, instead of: > >   > > > ... manually coding the J

[appengine-java] Re: JSF2

2010-09-24 Thread Chris (Google Employee)
Hi Daniel, For a possible workaround, have you tried manually coding the JavaScript for the Ajax request call? For example, instead of: ... manually coding the JavaScript for the Ajax request call would be: This was taken from: http://andyschwartz.wordpress.com/2009/07/31/whats-new-in-js

[appengine-java] Re: Creating indexes on List of String elements

2010-09-24 Thread Ice13ill
Well, that is what i'm using :) FTS with self merged join (if that is what you're refering to) The problem here is with the build-in indexes (it should be able to serve those queries that matches a text on a singe list property, for a large number of entities right ?). As i understand, the FTS in

[appengine-java] Re: JSF2

2010-09-24 Thread Daniel
I tried also mojarra-2.0.3-FCS-binary.zip but without any luck also.. no ajax for me :/ On Sep 23, 9:22 pm, Daniel wrote: > Hi > this does not help... same behavior... > > i got my jsf jars from here > :http://javadocs.wordpress.com/2009/10/17/mojarra-jsf-2-0-rc2-and-goog... > and followed the s

Re: [appengine-java] Re: Creating indexes on List of String elements

2010-09-24 Thread Cyrille Vincey
I am afraid you will have to change your data model. By the way, I remember that someone shared so times ago his code for a full text search implementation in GAE. Maybe you should check this out. On 24/09/10 17:01, "Ice13ill" wrote: >Hmm... i understand the problem. But, if i want to query usi

[appengine-java] org.datanucleus.jdo.exceptions.ClassNotPersistenceCapableException

2010-09-24 Thread karunakar mamidi
i am trying to make a persistent class stored in the datastore...i got this exception..amnew to app engine ppls reply Uncaught exception from servlet org.datanucleus.jdo.exceptions.ClassNotPersistenceCapableException: The class "The class "hare.krishna.LoginBean" is not persistable. This mea

[appengine-java] Re: Creating indexes on List of String elements

2010-09-24 Thread Ice13ill
Hmm... i understand the problem. But, if i want to query using a text with multiple words and NO sorting order, i use the build-in index supplied default right ? So, what do i do for 90.000 entities ?? because it seams that the build-in index is not powerful enough ! "The built-in indices are not

[appengine-java] Re: Problem with indexes on List of String elements

2010-09-24 Thread Ice13ill
Sorry about the multiple posting. I tried for about an hour to post this message :( On Sep 24, 4:03 pm, Ice13ill wrote: > I'm trying to implement a search based on a list of keywords (string). > The list is created based on the content of the objects' fields and i > use it when matching against a

[appengine-java] Re: Namespace design issues

2010-09-24 Thread Robert Lancer
What about the ability to move an entity to a namespace? On Sep 23, 10:57 pm, John Patterson wrote: > On 24 Sep 2010, at 02:55, Mouseclicker wrote: > > > API. The need to set and later reset a global setting is dangerous and > > error-prone. Probably that's what Guillaume mentions with "The fear

Re: [appengine-java] Creating indexes on List of String elements

2010-09-24 Thread Cyrille Vincey
You're facing the exploding indexes problem. You should never put more than 1 list properties in one composite index. This problem is described in the GAE doc. http://code.google.com/intl/fr-FR/appengine/docs/python/datastore/queriesan dindexes.html#Big_Entities_and_Exploding_Indexes On 24/09/10

[appengine-java] Problem with indexes on List of String elements

2010-09-24 Thread Ice13ill
I'm trying to implement a search based on a list of keywords (string). The list is created based on the content of the objects' fields and i use it when matching against a query text. The problem is that i can't create indexes on App engine (i get Error after about 30 mins, and i have to delete it)

[appengine-java] Problem with indexes on List

2010-09-24 Thread Ice13ill
I'm trying to implement a search based on a list of keywords (string). The list is created based on the content of the objects' fields and i use it when matching against a query text. The problem is that i can't create indexes on App engine (i get Error after about 30 mins, and i have to delete it)

[appengine-java] Problem with indexes on List

2010-09-24 Thread Ice13ill
I'm trying to implement a search based on a list of keywords (string). The list is created based on the content of the objects' fields and i use it when matching against a query text. The problem is that i can't create indexes on App engine (i get Error after about 30 mins, and i have to delete it)

[appengine-java] Creating indexes on List of String elements

2010-09-24 Thread Ice13ill
I'm trying to implement a search based on a list of keywords (string). The list is created based on the content of the objects' fields and i use it when matching against a query text. The problem is that i can't create indexes on App engine (i get Error after about 30 mins, and i have to delete it)

Re: [appengine-java] Re: Problem with persist a child class

2010-09-24 Thread Fernando O.
you don't need an aditional key your problem is that you already have a @PrimaryKey in Fecha so you don't need it in RegFechaUsuario. Cheers, Fernando On Thu, Sep 23, 2010 at 8:30 PM, lisandrodc wrote: > Hi!Cyrille I add a primary key in my child class: > > @PersistenceCapable(identityType = >

[appengine-java] javax.naming.InitialContext is a restricted class

2010-09-24 Thread Bhanwar Gupta
Hi, I am trying to deploy a sample JSF 2.0 application using the following guide http://java.dzone.com/news/jsf2-configuration-google-app But on deploy getting this error in the logs : http://javadocs.wordpress.com/2009/10/17/mojarra-jsf-2-0-rc2-and-google-app-engine-sdk-1-2-6/ WARNING: Error

Re: [appengine-java] Re: Problem with persist a child class

2010-09-24 Thread Cyrille Vincey
Sorry, I did not see that your child class was inherited from another class. I tried using inheritance with JDO some times ago. Unsuccessfully : this is not supported by JDO yet. See http://code.google.com/intl/fr-FR/appengine/docs/java/datastore/dataclasses. html#Inheritance On 24/09/10 01:3