[appengine-java] Re: Persisting java.util.TimeZone

2009-11-25 Thread aldrinm
Thanks Jason, Marking it as serialized works! ... @Persistent(serialized = true) TimeZone timeZone Cheers, Aldrin On Oct 20, 11:11 pm, Jason (Google) apija...@google.com wrote: Have you tried storing it as a serialized

[appengine-java] (JDOQL) Is this a bug? (repost)

2009-11-25 Thread Prashant
following is my JDO class: @PersistenceCapable(identityType = IdentityType.APPLICATION) public class _Contact{ @Persistent(primaryKey = true) private String EmailID; @Persistent private String Name; @Persistent private ListString Groups; } following is my test case:

Re: [appengine-java] Re: JDO preview release : child object is still null !

2009-11-25 Thread Prashant
Is there any plan to support polymorphism in relationships? I tried it with 1.2.8 pre-release, felt disappointed seeing it is not supported yet. I was expecting it to be supported in 1.2.8 release. -- You received this message because you are subscribed to the Google Groups Google App Engine

[appengine-java] XMPP Message not being received

2009-11-25 Thread Ravi Sharma
Hi, I am trying to write a XMPP Client. When i send a mesage from Client to GAE application, it always reach the server and then server reply back. When i ran the client first time it worked for 3-4 times. but then now i am not receiving any message on client side. I checked the server logs and it

[appengine-java] Re: Spring Web Flow

2009-11-25 Thread Dieter Hubau
Looks like someone has a similar problem, yet he gave better detailed information: http://forum.springsource.org/showpost.php?p=270885postcount=3 If anyone can help, respond in any of the two threads please! On 18 nov, 17:37, Dieter Hubau dhu...@gmail.com wrote: Indeed, I have created a

[appengine-java] Re: problem with using session.getAttribute()

2009-11-25 Thread addy.bhardwaj
Guys I had a similar issue when I was using JSF. What I found in my case was if I set an attribute (say dummy string key value) on every request, the other values stored in the session are maintained. If I dont do that, on every subsequent request in which nothing is saved in the session, other

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

2009-11-25 Thread Jorge
My approach is quite simpler. I keep a configuration file where I setup a different webBaseURL depending on the environment, development VS production. One could a a boolean isProduction and make webBaseURL a function of that. The thing to remember is to setup the config file before uploading to

[appengine-java] Import/export for Java

2009-11-25 Thread Marcel Overdijk
I'm wondering how the Java utility for exporting/importing data is making progress. It's already available for Python but not for Java SDK. -- 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] Re: out of memory on javax.mail.internet.MimeMultipart.getCount

2009-11-25 Thread david ruescas
I added a trace message, here's the value of javax.mail.internetMimeMessage.getContentType(): com.dr.reviewengine.MailServlet doPost: multipart content type text/plain; charset=ISO-8859-1 thankyou On 11/25/09, m seleron seler...@gmail.com wrote: Hi, I want you to teach the value of

[appengine-java] Re: Any Sample Authentication Examples using GWT-App Engine

2009-11-25 Thread leszek
http://code.google.com/p/google-web-toolkit-incubator/wiki/LoginSecurityFAQ -- 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...@googlegroups.com. To unsubscribe from this group,

[appengine-java] on switching a webapp from RDBMS to GAE/J ( jdo, join, sql )

2009-11-25 Thread K.Honsali
Hi all, If my understanding of previous discussions is correct, we can resume from: - GAE/J is not relational (not full JDO too), and hence does not support sql features such as joins, like, not in ...etc - the solution is to de-normalize your tables ... or your mind.. Now, suppose you have a

[appengine-java] Re: on switching a webapp from RDBMS to GAE/J ( jdo, join, sql )

2009-11-25 Thread K.Honsali
I would have added d) use an embedded rdbms, and do own consistency If there was a way to control running instances like in EC2 On Nov 25, 5:17 pm, K.Honsali k.hons...@gmail.com wrote: Hi all, If my understanding of previous discussions is correct, we can resume from: - GAE/J is not

[appengine-java] new comer

2009-11-25 Thread Mike
hi, i am the green hand on GAE ,i want to use it to develop some project . -- 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...@googlegroups.com. To unsubscribe from this group,

[appengine-java] Re: Problem in uploading jsp file

2009-11-25 Thread Sahil Mahajan
Hello Stephan I am new to gae. My JAVA_HOME variable has value C:\Program Files\Java \jdk1.6.0_01 I also checked build.xml, but I could not understand where I need to mention jdk instead of jre. Can you give me some more details Regards Sahil On Nov 24, 11:00 pm, Stephan Hartmann

Re: [appengine-java] Import/export for Java

2009-11-25 Thread Ikai L (Google)
In the meantime, there are a few articles about how to do this using the Python loader for your Java app: http://blog.notdot.net/2009/9/Advanced-Bulk-Loading-Part-5-Bulk-Loading-for-Java

Re: [appengine-java] Re: any plans for deferred.defer in Java?

2009-11-25 Thread Vince Bonfanti
Hi Jeff, Thanks for the suggestions and the code. David Chandler sent me a patch to support user-specified queue names (almost exactly the same as your changes), and I've committed that patch to SVN. Regarding your other changes: - I've probably make the url-pattern init parameter optional and

[appengine-java] Re: out of memory on javax.mail.internet.MimeMultipart.getCount

2009-11-25 Thread Jeremy Blythe
You might be parsing a text/plain as a multipart. I've blogged about this here http://jeremyblythe.blogspot.com/2009/11/receiving-email-in-google-app-engine.html I think this is a bug in App Engine. On Nov 25, 3:42 pm, david ruescas fastn...@gmail.com wrote: I added a trace message, here's the

Re: [appengine-java] Re: Weird results for JOD query with List item filter (List.contains(....))

2009-11-25 Thread Ikai L (Google)
Prashant, Is this happening locally? Is EmailID ever an empty value? On Tue, Nov 24, 2009 at 9:57 AM, Prashant antsh...@gmail.com wrote: Max please help me out, it is killing my app. :( On Tue, Nov 24, 2009 at 8:45 PM, Prashant antsh...@gmail.com wrote: this is surely a bug following

Re: [appengine-java] Re: Weird results for JOD query with List item filter (List.contains(....))

2009-11-25 Thread Prashant
no, I have tested it on Production Server and EmailID is a primary key so it cannot be null -- 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...@googlegroups.com. To unsubscribe

Re: [appengine-java] Re: Weird results for JOD query with List item filter (List.contains(....))

2009-11-25 Thread Ikai L (Google)
Is this something you can cause to happen in a development environment? Also, what is your application ID? On Wed, Nov 25, 2009 at 1:46 PM, Prashant antsh...@gmail.com wrote: no, I have tested it on Production Server and EmailID is a primary key so it cannot be null -- You received this

[appengine-java] Re: Import/export for Java

2009-11-25 Thread Marcel Overdijk
Thanks for info Ikai. But I'm wondering if there is any information available about the Java exporter/importer. On 25 nov, 19:44, Ikai L (Google) ika...@google.com wrote: In the meantime, there are a few articles about how to do this using the Python loader for your Java app:

Re: [appengine-java] Datastore Issues

2009-11-25 Thread Ikai L (Google)
The PM class may be an over-optimization. Can you help me understand what the purpose of this class is? There shouldn't be any significant costs associated with opening, closing and retrieving instances of PersistenceManager. On Tue, Nov 24, 2009 at 10:34 AM, Jeffrey Goetsch

Re: [appengine-java] Re: Weird results for JOD query with List item filter (List.contains(....))

2009-11-25 Thread Ikai L (Google)
The extra space likely comes from indexes. You can check your indexes in your Indexes tab. For a better understanding of how indexes work, here is a good session from Google I/O that discusses the topic: https://sites.google.com/site/io/under-the-covers-of-the-google-app-engine-datastore On

[appengine-java] Implementing Authorize.NET Integration with Custom Domain.

2009-11-25 Thread _yoko_
Hey Guys, I have some basic questions. I just started using Java-GAE and am trying to figure out if my site can be ported to GAE. How can I do the following(I have a custom domain say abc.com and an appspot domain say abcd.appspot.com): 1. Implement an SSL based login page. My site required

Re: [appengine-java] Re: on switching a webapp from RDBMS to GAE/J ( jdo, join, sql )

2009-11-25 Thread Ikai L (Google)
Your first option is what we recommend. App Engine's data model is similar to that of a federated data model based on sharded relational databases. Here's a pretty good session from Google I/O 2009 about migrating to/from RDBMS:

Re: [appengine-java] Re: out of memory on javax.mail.internet.MimeMultipart.getCount

2009-11-25 Thread david ruescas
It worked, cheers On 11/25/09, david ruescas fastn...@gmail.com wrote: Thank you Jeremy, that may indeed be it. I'll give it a try shortly Incidentally, what does your IOUtils.toString look like? Does it use an InputStreamReader combined with a StringWriter? Im using StringWriter sw = new

Re: [appengine-java] Datastore Issues

2009-11-25 Thread Jeffrey Goetsch
The purpose of the PM class is to abstract the PersistenceManager away from my logic. Because the datastore doesn't allow unowned relationships, my business logic which is located in the Persisted objects, must retrieve the objects to perform there tasks. The PM object allows me to write Unit

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

2009-11-25 Thread James H
Jason, the problem with the increment a counter on your own trick is that would be in a separate Transaction and thus, unreliably linked to the first insert Transaction right? Also, the Stats hook mentioned above is NOT realtime is it? I believe I read it is updated at least once a day. On Oct