[appengine-java] Error removing Entity

2012-02-21 Thread Fernando Jorge Santos
Hi all, I'm facing some problems trying to remove an entity from the database. I have an interface to abstract the AppEngine Entity from my business Object. I can easily Insert and Update, but when I try to delete I got the error: java.lang.UnsupportedOperationException: Non-owned relationships a

[appengine-java] Re: Can't see new objects in the same transaction

2012-02-02 Thread Fernando Jorge Santos
gt; in sync.  If you use refresh(), you are tossing any changes you made > to your entities > and fetching the last state from the datastore. > > On Feb 1, 2:22 am, Fernando Jorge Santos wrote: > > > > > > > > > Hi all, > > > I'm new in JPA / J

[appengine-java] Can't see new objects in the same transaction

2012-02-01 Thread Fernando Jorge Santos
Hi all, I'm new in JPA / JDO and I'm totally sure I'm doing something wrong. I don't know why I can't see children objects in the same transactions using the same PM // Here I got the DatastoreEntityManager (id=92) DAO dao =

Re: [appengine-java] Re: Problem With JPA and Google Engine

2011-05-31 Thread Jorge Cuerdo Álvarez
cribió: What is the provider you have defined in the presistence.xml? Is it org.datanucleus.store.appengine.jpa.DatastorePersistenceProvider? The missing class, ProviderUtil, is from JPA 2.0. Since Google provides JPA 1.0, it is not so surprising that the class can not be found. On May 28, 8:10 pm,

[appengine-java] Problem With JPA and Google Engine

2011-05-30 Thread Jorge Cuerdo Álvarez
Hello, i have a problem With JPA and Google Engine, i have one trial web application http://jocual.appspot.com/index.jsp and it works good with JDO but when i use JPA it report the next error: Caused by: java.lang.NoClassDefFoundError: javax/persistence/spi/ ProviderUtil at com.google.appe

Re: [appengine-java] naked domain

2010-11-23 Thread Jorge Neyra
I have done it with godaddy.com and 1and1.com On Tue, Nov 23, 2010 at 2:04 PM, pman wrote: > which domain name registrar allows naked domain forward to > www,mydomain.com (using google appengine)? > > i.e. mydomain.com -- forward to --> www,mydomain.com. > > -- > You received this message becau

[appengine-java] Re: 5 warmups required before success

2010-03-10 Thread Jorge
least in my app. That makes my app completely unreliable, worthless, so to speak. Jorge Gonzalez On Mar 10, 6:58 am, Nacho Coloma wrote: > Actually this is the one and single thing that makes my GAE experience > kind of bittersweet. I am still recommending the platform to friends

[appengine-java] Re: 5 warmups required before success

2010-03-10 Thread Jorge
my app. That makes my app completely unreliable, worthless, so to speak. Jorge Gonzalez On Mar 10, 6:58 am, Nacho Coloma wrote: > Actually this is the one and single thing that makes my GAE experience > kind of bittersweet. I am still recommending the platform to friends > and collea

[appengine-java] 5 warmups required before success

2010-03-10 Thread Jorge
erdue payments @ 08:00 GMT every day 08:00 (UTC) 2010-03-10 08:00:01 on time Success Jorge Gonzalez -- 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...@googl

[appengine-java] Re: Will a solution to the Java load latency come in Q2?

2010-02-24 Thread Jorge
goals and dates from Google. Jorge Gonzalez On Feb 23, 10:56 pm, Timofey Koolin wrote: > Hello, for fast first load applications for user I set shedule for get > main page of my application every minute. > > On Feb 23, 6:30 pm, Locke wrote: > > > I plan on going live with my

[appengine-java] Re: Using GAE Platform Outside of Google

2010-02-20 Thread Jorge
Hello Greg, A report, or simple general comments of your findings, when available, would be greatly appreciated! Thanks, Jorge Gonzalez On Feb 19, 10:35 pm, Greg Marine wrote: > Thanks Jeff! I'll have a look at this. I really appreciate it! > > Greg > > On Feb 19, 1:5

[appengine-java] Re: problem with Datastore quotas

2010-02-02 Thread Jorge
Hi Dimitar, This is an idea. Take a closer look to your _ah_SESSION kind. It is possible you are storing huge session data and it remains there after the sessions expire. If that is the case, you probably want to clean your expired sessions periodically. Jorge Gonzalez On Feb 1, 1:05 pm

[appengine-java] Re: How can I install my GAE application into other user accounts?

2010-01-30 Thread Jorge
Hi Mike, You may want to see the "Selling App Engine Apps" thread in the Google App Engine group. The 3rd post, by Brian Flood, explain his approach to your question and it is pretty cleaver. http://groups.google.com/group/google-appengine/browse_thread/thread/4ce497229c8ff0aa?hl=

[appengine-java] Re: App Engine cold starts and overly aggressive cycling

2010-01-23 Thread Jorge
Ikai, Me too I can report an improved response time and no datastote timeout exceptions the past couple of days. I have no measurements so far, but the improvement is noticeable. I'll certainly keep watching and let you know of any relevant issues. Thanks! Jorge Gonzalez On Jan 22, 9:

[appengine-java] Re: App Engine cold starts and overly aggressive cycling

2010-01-16 Thread Jorge
ed some time soon. Thanks, Jorge Gonzalez On Jan 15, 5:32 pm, Ikai Lan wrote: > Hey everybody, > > We've been seeing more and more reports of applications being cycled out > overly aggressively, resulting in some folks implementing (discouraged) > workarounds to keep their

[appengine-java] Re: After how much time of no traffic does GAE shut-down the instance

2010-01-10 Thread Jorge
owse_thread/thread/22692895421825cb/1108714f7a57280a Jorge Gonzalez On Jan 9, 3:16 pm, Locke wrote: > In my testing, apps which are hit every 2 minutes need to "boot" every > time (costing beacoup CPU cycles), whereas apps hit every 1 minute > stay loaded. > > This

[appengine-java] Re: Purge _ah_SESSION ???

2010-01-08 Thread Jorge
/_ah/sessioncleanup com.google.appengine.api.datastore.DatastoreTimeoutException: Unknown Jorge Gonzalez On Jan 8, 11:13 am, Jorge wrote: > I found another issue with the /_ah/sessioncleanup servlet. On almost > every run, a huge amount of cpu usage is reported! > > Example: > 01-08

[appengine-java] Re: Purge _ah_SESSION ???

2010-01-08 Thread Jorge
I found another issue with the /_ah/sessioncleanup servlet. On almost every run, a huge amount of cpu usage is reported! Example: 01-08 07:40AM 53.487 /_ah/sessioncleanup?clear 200 12275ms 7365cpu_ms 3845api_cpu_ms 0kb Jorge Gonzalez On Jan 7, 8:15 pm, Jorge wrote: > The /_ah/sessionclea

[appengine-java] Re: Purge _ah_SESSION ???

2010-01-07 Thread Jorge
The /_ah/sessioncleanup servlet works ok, but it cleans only 100 expired sessions at a time, so one needs to run it often enough to avoid expired sessions to accumulate and no so often that it won't have too few sessions to purge. Kind of complicated!! Someone knows of a better solution?

[appengine-java] Purge _ah_SESSION ???

2010-01-06 Thread Jorge
Is there a way to delete old _ah_SESSION entities? I found a post about deleting all sessions, both from the datastore and from memcache, but I am looking a clean way to delete past sessions and preserve the active ones. Thanks, Jorge Gonzalez -- You received this message because you are

[appengine-java] Re: why my app on GAE first access is so slow

2010-01-06 Thread Jorge
acceptable. Jorge Gonzalez On Nov 12 2009, 6:56 am, DrMorten wrote: > 1 minute works for me, I used a commercial service that tracks uptime > to check it. > Trouble is that the commercial service checks randomly from different > locations all over the world. > meaning that the applic

[appengine-java] Re: How to use Swing Code

2009-12-24 Thread Jorge
As far as I know, Swing classes won't work with GWT. That is, those classes won't compile to JavaScript. On any case, you should be checking in the GWT forum rather than in this one. Jorge Gonzalez On Dec 23, 8:59 am, Dileep wrote: > Hi All, >            I am very new to GWT .

[appengine-java] Re: Is there a recommended way to differentiate between production and dev GAE environments?

2009-12-21 Thread Jorge
ith Google App Engine Development when running in the development server..." Jorge Gonzalez On Nov 28, 7:34 am, Guillaume Laforge wrote: > Another approach I've just found is doing something like: > > ApiProxy.getCurrentEnvironment().getClass().getName().contains > ("

[appengine-java] Re: select count(*) ?

2009-12-18 Thread Jorge
I second this question. Jorge Gonzalez On Dec 2, 1:19 pm, king wrote: > Jason, do you have a timeline for when: > 1. the cursor feature will be available? > 2. the data download feature be available for JAVA (not Python). > > On Oct 21, 10:54 am, "Jason (Google)"

[appengine-java] Re: What does true do?

2009-12-15 Thread Jorge
&version=0-0-4&; 503 Service Unavailable Jorge Gonzalez On Dec 14, 11:43 am, Toby Reyelts wrote: > Please send us your app-id privately (if you don't feel comfortable posting > it publicly), and we can investigate. > > -- Forwarded message -- > From: Phili

[appengine-java] Log time offset configuration?

2009-12-13 Thread Jorge
My GAE logs are timestamped with a -0800 offset. Is there a way to control the offset? For instance, I'd prefer my logs -0600 (my local time) or - (UTC). How/Where would I configure that? Thanks, Jorge Gonzalez -- You received this message because you are subscribed to the Google G

[appengine-java] Re: Random App Engine errors

2009-12-06 Thread Jorge
EventDispatcher.java:205) at com.google.net.async.EventDispatcher.loop(EventDispatcher.java: 101) at com.google.net.rpc.RpcService.runUntilServerShutdown (RpcService.java:251) at com.google.apphosting.runtime.JavaRuntime$RpcRunnable.run (JavaRuntime.java:396) at java.lang.Thread.run(Unknown S

[appengine-java] Re: AppEngine needs an AppStore

2009-12-02 Thread Jorge
services and those products and services may be distributed in a variety of business models. > Cool idea: a marketplace like what you describe could be an App Engine app > itself ... Of course!!! Jorge Gonzalez On Dec 1, 1:08 pm, "Ikai L (Google)" wrote: > I see wha

[appengine-java] Re: How to return a file from a servlet

2009-12-01 Thread Jorge
it is better to specify the content type before sending out the content. Jorge Gonzalez On Nov 30, 11:25 am, Prashant wrote: > thanks a lot guys. > > is it necessary to use resp.setContentType("image/gif"); even if url end > with ".gif" ? -- You received this m

[appengine-java] Re: AppEngine needs an AppStore

2009-12-01 Thread Jorge
A GAE app may have nothing to do with Google Apps. I think David's idea is a good one and there should be a GAE Apps Marketplace. Jorge Gonzalez On Nov 30, 1:53 pm, "Ikai L (Google)" wrote: > David, > > We have a solutions marketplace for Google > Apps:http:

[appengine-java] Re: Is there a recommended way to differentiate between production and dev GAE environments?

2009-11-25 Thread Jorge
* @return The Web base URL */ public static String getWebBaseURL() {return webBaseURL;} } Jorge Gonzalez On Nov 24, 8:11 pm, Rusty Wright wrote: > The filesystem is read only on app engine; would trying to create a file, in > WEB-INF for example, work?  I'm wondering if

[appengine-java] Re: Installation Path

2009-11-08 Thread Jorge
Hello Collin, That is not important, as your IDE will point to the path where the SDK is and you don't need to worry about after that. This is what I used in a Win XP: C:\Program Files\Google\appengine-java-sdk-1.2.6\ Jorge Gonzalez On Nov 7, 12:51 pm, Collin wrote: > I am new t

[appengine-java] Re: Other way to verify an GAE Account? SMS doesn't work for me

2009-11-03 Thread Jorge
u too. Jorge Gonzalez On Oct 30, 6:46 pm, Nicolas Melendez wrote: > Hi, i am from argentina, and my cellphone company (which is call Claro), > doesn't recive international > SMS. i have tried for two days and a i can't verify my account. > Can someone from google help me,  

[appengine-java] Re: Need help on how to enhance the data classes with netbeans

2009-10-29 Thread Jorge
Yes, the JDO classes will be automatically enhanced at the time you start the development GAE server. BTW, I'm also used to NetBeans rather than Eclipse and I hope the GAE and GWT plugins for NetBeans will be further developed! Jorge Gonzalez On Oct 29, 7:44 am, Justin wrote: > T

[appengine-java] Re: Need help on how to enhance the data classes with netbeans

2009-10-28 Thread Jorge
than in Eclipse, but once you have a map, it is easy to follow the documentation, the hints and the discussions. Jorge Gonzalez On Oct 28, 3:01 am, leszek wrote: > I'm using NetBeans but only for GWT application. I don't know if there > is anybody who uses NetBeans for G

[appengine-java] Re: JDO/JPA Snippets That Work: Change of venue!

2009-10-21 Thread Jorge
Thanks for the lead Jason! I didn't know that page was there. Jorge Gonzalez On Oct 20, 12:25 pm, "Jason (Google)" wrote: > Hi Jorge. Have you seen the App Engine Cookbook? Users are free to post and > search for code snippets:http://appengine-cookbook.appspot.com/ > &

[appengine-java] Re: javax.jdo.JDOFatalUserException

2009-10-18 Thread Jorge
Hi Jason, I am retaking this thread because I am experiencing the same "Caused by: javax.jdo.JDOFatalUserException..." issue. I'm not using other frameworks than GAE. The IDE I'm using is NetBeans and I'm using Java. The PMF singleton is in place, just like explained in