[appengine-java] Using 2 datastores in same App?

2011-02-11 Thread dudu
Is it possible? If i configure two persistence providers in persistence.xml? I need to separte my data per software component. -- 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] Problems with MemCache, I call get(..) and the object comes with null properties

2011-02-08 Thread dudu
Te properties are not transient: I think there is some inheritance problem =\ https://gist.github.com/816246 https://gist.github.com/816248 https://gist.github.com/816250 https://gist.github.com/816252 And to save I call updateQuote() from here: https://gist.github.com/816261 -- You

[appengine-java] Problems with MemCache, I call get(..) and the object comes with null properties

2011-02-07 Thread dudu
Here is how I declare my cache: Cache cache; Map props = new HashMap(); props.put(GCacheFactory.EXPIRATION_DELTA, 60);// seconds CacheFactory cacheFactory = CacheManager.getInstance() .getCacheFactory(); cache = cacheFactory.createCache(props); I have an

Re: RE: [google-appengine] Re: URL Fetch uses a lot of CPU time, Impossible to use the quota available.

2011-02-07 Thread dudu
*Thanks all guys. The problem was solved with Appstats. * **I thougth appstats need GWT, but I just forgot to add the servlet filter in web.xml =[ I am ashamed. With appstats I discover too many JDO data calls being made unnecessary. * * When I used the Visual VM to profile the application, it

[google-appengine] URL Fetch uses a lot of CPU time, Impossible to use the quota available.

2011-02-04 Thread dudu
I have an app that have to fetch some REST urls frequently to update some data. In appengine I have 657k of URL fetch calls available, the problem is, each url fetch call, consumes a lot of CPU. See the last picture, the API method uses a lot of CPU, ending very soon my free quota =\. I

[google-appengine] Re: URL Fetch uses a lot of CPU time, Impossible to use the quota available.

2011-02-04 Thread dudu
Note that just 1174 URL Fetch calls uses 8% of my CPU. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to

Re: [google-appengine] Re: URL Fetch uses a lot of CPU time, Impossible to use the quota available.

2011-02-04 Thread dudu
I can't run the profiler, because I don't use GWT on my project. I can just use the VisualVM. Do you think the delay to download the xml content response is responsible for all this CPU usage? -- You received this message because you are subscribed to the Google Groups Google App Engine

Re: RE: [google-appengine] Re: URL Fetch uses a lot of CPU time, Impossible to use the quota available.

2011-02-04 Thread dudu
But have you called the URL fetch how much times to load all this data? My response is very short, but I need to call many times. Maybe this is a problem in Java implementation. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to

[google-appengine] Re: URL Fetch uses a lot of CPU time, Impossible to use the quota available.

2011-02-04 Thread dudu
Ok Ok Ok both are right, but I'm sorry, both are not helping me. I know that I can't use all the quota in all fields of available resources But, my question is: As I posted, My task queue(see the pics) called a URL to fetch about 1000 times(see the pics). And this already cosumed 8% of my

Re: [google-appengine] Re: How to configure a entity field to be unique?

2011-02-04 Thread dudu
Oh God...thanks folks, I used email just as example, I have other fields with this constraint problem. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe

Re: [google-appengine] Re: URL Fetch uses a lot of CPU time, Impossible to use the quota available.

2011-02-04 Thread dudu
I'll try again this appstats... i tried once but the links are not working. I thought appstats needs GWT. I'll post the result. Thanks. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to

[google-appengine] Re: How to configure a entity field to be unique?

2011-02-02 Thread dudu
No solution folks? Any idea? How do you configure your unique fields? How can I use the email property to be part of the Key. If is generated by* IDENTITY strategy*, do I need to interfere? Could someone just post some working code with a Key, and some unique fields? -- You received this

[google-appengine] Re: How to configure a entity field to be unique?

2011-02-02 Thread dudu
In Java please. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more

[google-appengine] How to configure a entity field to be unique?

2011-02-01 Thread dudu
I have configured: @Column(unique = true, nullable= false , name=email) private String email; But the error occurred: java.lang.UnsupportedOperationException: No support for uniqueness constraints What I need to do in AppEngine to this field be unique? I need a way that I can

[google-appengine] Re: Can't deploy to appengine

2010-12-09 Thread dudu
I think there are problems with your cached credentials. Try to clean it. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to

[google-appengine] When naked domain will be available again

2009-11-14 Thread dudu
Anyone knows if will naked domains be available agina on google appengine and google apps? I need short url to my app be accessable to mobile devices more easy =[ -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send

[google-appengine] Problem on GAE SDK 1.2

2009-08-08 Thread dudu
I'm trying to compile a JSP but this error is happening: [java] SEVERE: ERROR-the file '\welcome.jspx' generated the following general exception: [java] java.io.IOException: Server returned HTTP response code: 503 for URL: http://www.w3c.org/TR/xhtml1/DTD/xhtml1-strict.dtd [java]