[appengine-java] Re: GAE down? Response Error 500

2009-09-03 Thread Hani Naguib
I am also getting many error 500 pages. This is happening since the issue I mentioned here: http://groups.google.com/group/google-appengine-java/browse_thread/thread/5368cc59ffc3b26b/50cc3ee1cf45c8d8#50cc3ee1cf45c8d8 --~--~-~--~~~---~--~~ You received this message

[appengine-java] HttpSession handling question

2009-09-03 Thread Marton Papp
Hi! I am using HttpSession to store some information as session attributes. When I am testing the application locally, it works fine. But when I upload it to production, it seems that any session attributes that I retrieve from the session and modify it are not persisted back to the session

[appengine-java] querying using ANCESTOR IS

2009-09-03 Thread Clay Lenhart
I'm getting an error when trying to filter on ANCESTOR IS locally in Eclipse. Anyone know what might be the problem? Does anyone have a working example? Am I forced to use the Low-Level API? The code is: PersistenceManager pm = PMF.get().getPersistenceManager();

[appengine-java] Re: HttpSession handling question

2009-09-03 Thread leszek
Have you enabled session ? By default it is read-only. WEB-INF/appengine-web.xml. sessions-enabledtrue/sessions-enabled http://code.google.com/appengine/docs/java/config/appconfig.html --- Enabling Sessions App Engine includes an implementation of sessions, using the servlet session

[appengine-java] Re: querying using ANCESTOR IS

2009-09-03 Thread datanucleus
Any suggestions on what I should do to query using the ancestor? Why not define what you expect it to return (with an example), cos I haven't got a clue what it is supposed to be :-) --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[appengine-java] jsp.error.beans.property.conversion

2009-09-03 Thread Piotrek
Hello, I was trying to run JSF (Mojarra implementation) with google apps engine. I tried both 1.2 and 2.0 versions. My test page was simple, just: f:view h:outputText value=tralala/ /f:view Whenever I tried to view this page (under developer appserver) I received such error: HTTP ERROR: 500

[appengine-java] Re: Snow Leopard Trouble

2009-09-03 Thread objectuser
And everything worked fine before the upgrade? I'm not using GWT, but upgraded to Snow Leopard with no resulting issues for GAE. On Aug 31, 1:51 am, yasuyuki eyasuy...@gmail.com wrote: Hi. I use Eclipse 3.4.2 and GAE/J Plugin. I update my Mac to Mac OS 10.6 Snow Leopard, I caught an error

[appengine-java] How to make a isKeysOnly() query in JDO?

2009-09-03 Thread Cornel
Hello! I've read that a keys only query is much faster than a normal query, so I want to use this for pagination. But the setKeysOnly() is only applicable to com.google.appengine.api.datastore.Query, not also javax.jdo.Query. I've been using JDO so far, so is there a way to tell JDO you're

[appengine-java] Re: When create a multiple module entry in a project?

2009-09-03 Thread Xavier Pegenaute
Ooops, yes you are right, I was talking about a GWT Entry module, sorry for the off-topic. Xavi. On 3 sep, 09:10, leszek leszek.ptokar...@gmail.com wrote: Do you mean GWT entry module ? But you did better asking this question here:http://groups.google.com/group/Google-Web-Toolkit?pli=1

[appengine-java] Re: GAE down? Response Error 500

2009-09-03 Thread Traveler1980
Datastore GET error rate is still 100%. Any ETA on when this will be resolved? Regards, JS On Sep 3, 3:41 am, Hani Naguib haninag...@gmail.com wrote: I am also getting many error 500 pages. This is happening since the issue I mentioned

[appengine-java] Re: A matter in local time

2009-09-03 Thread Aron
I guess problem is that after deploying to GAE, any try will retrieve the time zone information *on the Google Servers*! Google can't find out what timezone your local developer box is located in. Aron On Sep 2, 1:08 pm, le anh leanhduc1...@gmail.com wrote: On Sep 2, 2:24 pm, leszek

[appengine-java] Re: How to make a isKeysOnly() query in JDO?

2009-09-03 Thread leszek
But how do you want to accomplish it ? There is no query like give me the next no more than 1000 keys using filter key lastkey. Also there is no query like give me the least key using filter key lastkey. --~--~-~--~~~---~--~~ You received this message because

[appengine-java] Re: Snow Leopard Trouble

2009-09-03 Thread Rajeev Dayal
This is an issue in GWT that we're currently working on. It does not affect GAE-only projects; only those that use GWT. For now, if you want to work around this issue, you have two options: 1) Use OOPHM, which is part of GWT Trunk. When you use OOPHM, you no longer use the hosted browser; you

[appengine-java] Re: Unowned relationships

2009-09-03 Thread funkforce
Jason: good point and yes the code did work Leszek: good point! Thanks all for the help. On Sep 3, 9:27 am, leszek leszek.ptokar...@gmail.com wrote: Keep also in mind that it is not enough to convert 'Child' to 'Key' while persisting 'Parent'. You should also set key to Parent in Child,

[appengine-java] DataNucleus is looking at UI classes

2009-09-03 Thread Joe Toth
Using 1.2.2 This is kind of weird... I was developing my application and then all of a sudden I get this error. Everything was working fine, then datanucleus says it can't find the Cow class. The class is in WEB-INF/ classes. But it looks like datanucleus' classloader is trying to load it, not

[appengine-java] Re: jsp.error.beans.property.conversion

2009-09-03 Thread objectuser
I think one difference might be your use of JSPs. I'm using JSF 2.0 but with XHTML. But that's just a guess. Did you follow the instructions here?

[appengine-java] Re: jsp.error.beans.property.conversion

2009-09-03 Thread Piotrek
Yes, I followed that instructions. objectuser wrote: I think one difference might be your use of JSPs. I'm using JSF 2.0 but with XHTML. But that's just a guess. Did you follow the instructions here?

[appengine-java] Re: issues with compass for GAE apps

2009-09-03 Thread Vik
Hie Thankx for taking time... I just adding the static block u mentioned in point 1 just after the static block i have (in the above mail) I am sorry I did not get your point 2. Right now what I do is: every time a request goes to a particular servlet depending upon application flow and i call

[appengine-java] Re: querying using ANCESTOR IS

2009-09-03 Thread Clay Lenhart
I got this working using the low-level API. Actually, I'm not sure what JDO gives you over this. I wrap the low- level Entity with my class and give it getters and setters. It doesn't feel any more or less verbose. --~--~-~--~~~---~--~~ You received this

[appengine-java] Re: JPA support for enum's

2009-09-03 Thread Larry Cable
public class Address { public static enum State { // define all 2 letter states here ... } // protected State state; // would'nt it be nice if this worked ... } public class Company { // ... @Embedded protected EINein; // IRS tax id @Embedded

[appengine-java] Re: GAE takes 28 sec to read just 200 records

2009-09-03 Thread datanucleus
   17.  I09-03 09:46AM 31.994    vik.sakshum.sakshumweb.jsp.model.jdo.PMF clinit: Loading PMF in com.google.apphosting.runtime.security.userclassloa...@8fcc7b    18.  I09-03 09:46AM 41.622 Don't you think it's a strange way to benchmark things by including known one-off operations like

[appengine-java] Re: GAE takes 28 sec to read just 200 records

2009-09-03 Thread Vik
Hie Strange to hear that if it is creating PMF again Should it do it just once when i logged in? In the logging process I do get an instance of PMF. So, why it is doing that again? Any advise what may be going wrong here? Thankx and Regards Vik Founder www.sakshum.com

[appengine-java] GAE takes 28 sec to read just 200 records

2009-09-03 Thread Vik
Hie I just put time to see how much time is eaten up in fetching my 200 recs from GAE store and found 28 secs. Can anybody please look at this stack trace and tell me how to fix this stuff 1. 09-03 09:46AM 13.302 /ui/page/p_getSubscriberInfo.jsp 500 28724ms 38361cpu_ms 22028api_cpu_ms

[appengine-java] Long load time for getPersistenceManager

2009-09-03 Thread Kurposkano
I am new to the Google Application Engine and have just started doing some testing with a simple version of my client and server up and running. In making my requests to the server, I have noticed a very long wait time. So I decided to do some logging of the some of the operations being done in

[appengine-java] JasperReports on GAE

2009-09-03 Thread Grzegorz Borkowski
Is it possible to use JasperReports on GAE? We are considering porting our application to GAE, but one of the core features of this application is reporting implemented with aid of JasperReports. From what I understand, JasperReporst depend on iText, which is not GAE- compatible. Also, some

[appengine-java] Re: Inheritance in JDO

2009-09-03 Thread bgood
Does anyone know if this was fixed in the 1.2.5 SDK release announced today ? (based on the status of the datanucleus-appengine/issues/list I would guess no.) I'd really like to start using JDO inheritance when it comes available. --~--~-~--~~~---~--~~ You

[appengine-java] Re: JasperReports on GAE

2009-09-03 Thread bgood
We had the same problem but ended up hosting the report generator on a separate server. If you figure it out, please post here about how to do it! Its really the only critical piece of our code that we can't move into this particular cloud. Its the only reason we are considering alternative

[appengine-java] Re: I got error: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! access denied (java.lang.RuntimePermission getClassLoader)

2009-09-03 Thread Toby Reyelts
It looks like ajax4jsf is making a call to ClassLoader.getSystemClassLoader, which is not allowed by GAE. A reasonable alternative is for it to fall back to another ClassLoader such as the thread context ClassLoader, it's own ClassLoader, or the caller's ClassLoader. at

[appengine-java] ExceptionInInitializerError being thrown after renaming model classes.

2009-09-03 Thread Abe Parvand
Hi, I renamed three of my entity classes using Eclipse's refactoring functionality, and the console said it was able to enhance all 9 of my entities just fine. In addition, I changed the war/WEB-INF/classes/META-INF/ persistence.xml file to now have the update list of my entities. For reference,

[appengine-java] Bulk writes to datastore

2009-09-03 Thread Nicholas Albion
Is it possible to overcome the datastore's 10 writes/second limit by batching them? I've got a table containing just over one million records (in CSV format). Does a batched write (of around 1MB of data and, say 1000 records) count as one write, or 1000 writes?

[appengine-java] Re: How to make a isKeysOnly() query in JDO?

2009-09-03 Thread Max Ross
You can do a keys-only query in JDO by only selecting the primary key field in your query: select id from whatever. Max On Thu, Sep 3, 2009 at 7:07 AM, Corneliu Paul Lupulet corneliu.lupu...@gmail.com wrote: There is! (check out this post about pagination: