[appengine-java] Re: DisplayTag JSP

2009-11-16 Thread Simon
If you have any objects in that resultset which are lazily loaded, then closing the entity manager before you've looped through the resultset will produce an exception and the route to the data store to retrieve the data has been closed. You have two options: 1) Aggressively fetch the data which

[appengine-java] Won't get values of an array inside POJO

2009-11-16 Thread Zenon
Hi all, I don't know why for any kind of array (List or Object[]) inside my Pojo app engine fails to get correct values and get always null. I already check out at local dataviewer, and as a matter fact values seems to be saved succesfull. Anyone can help me? Thanks in advance -- You received

[appengine-java] Email .csv attachment in UTF-8 charset

2009-11-16 Thread rjportier
Hi all, I am trying to send an email with an attachment having Content-Type text/comma-separated-values; charset=UTF-8. The attachment is sent, but it comes out in encoding base64(US-ASCII). I do something like this: import javax.mail.Multipart; import javax.mail.internet.MimeBodyPart; import

[appengine-java] Re: Won't get values of an array inside POJO

2009-11-16 Thread datanucleus
Perhaps you don't have it in the fetch plan? as per the DataNucleus docs, or many many posts on this forum -- 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.

[appengine-java] XMPP and JID

2009-11-16 Thread sahil mahajan
Hello I am using XMPP API. It looks that JID of a google account user does not remain constant. If a user is using gmail, then his JID is mai...@gmail.com/gmail.SOME_NO and when he is using gtalk JID is mai...@gmail.com/talk.SOME_DIFF_NO. I need to have something (for example mail id) which

[appengine-java] case sensitivity

2009-11-16 Thread Kris
Is there any way to perform a JDO query on google app engine using a case insensitive string comparison? e.g. For example, Query query = pm.newQuery(User.class, userName.toLowerCase() == user password == pass); query.declareParameters(String user, String pass);

[appengine-java] Re: updating object doesn't work anymore

2009-11-16 Thread randal
Anyone? -- 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, send email to google-appengine-java+unsubscr...@googlegroups.com.

[appengine-java] Re: Email .csv attachment in UTF-8 charset

2009-11-16 Thread m seleron
Hi, As an another way. How about this technique ? 1. import import javax.mail.util.ByteArrayDataSource; import javax.activation.DataHandler; import javax.activation.DataSource; 2.modify //attachment.setContent(attachmentData, text/comma-separated-values; charset=UTF-8); ByteArrayDataSource

Re: [appengine-java] case sensitivity

2009-11-16 Thread Rusty Wright
The recommended approach is to store the userName in all lower case, as an additional field/column, and then do the toLowerCase on the incoming parameter user name when you do the query and use that field/column that was stored in lower case. Kris wrote: Is there any way to perform a JDO

[appengine-java] Embedded objects come back null in unit tests

2009-11-16 Thread Nick Bonatsakis
Hi All, I have followed the instructions on how to create the appropriate classes for JUnit testing and have a fairly simple object hierarchy. I have one class that includes a few embedded objects, they are all correctly annotated with JDO annotations (i have compared them directly to the example

[appengine-java] EntityGroup getting all children of a parent

2009-11-16 Thread Bitscorpion
Hello, I tried to do a little test and wrote two classes: @PersistenceCapable(identityType = IdentityType.APPLICATION) public class Tenant { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Key key; @Persistent private String name; public

[appengine-java] How to design data model

2009-11-16 Thread fhucho
Hi, I am developing the following app: user logs in and see list of items, e.g. list of cars. Each item has a few parameters, for car item it can be speed, color and manufacturer. User can add, edit and delete items. Most importantly, user can change the item type - so for example he can modify

[appengine-java] JDO not saved (commit) when using spring @ModelAttribute

2009-11-16 Thread Ibrahim Hamza
Dear All I use JDO with spring and when i add @ModelAttribute(countries) All things go fine except the data not saved without any exception When query from another datastore @Controller public class PortController { private static final String FORM_MODEL_KEY = ports; private static final

[appengine-java] how to find list of subscribed users for XMPP service?

2009-11-16 Thread Pratik
Can I get all contacts those subscribed to my application? -- 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, send email to

[appengine-java] Datastore: is numeric ID unique for all entities of one type?

2009-11-16 Thread elvin
Good day. As far as documentation states, The key value includes the key of the entity group parent (if any) and either the app-assigned string ID or the system-generated numeric ID. To create the object with an app- assigned string ID, you create the Key value with the ID and set the field to

[appengine-java] Re: batik

2009-11-16 Thread Dan Dubois
I would like to know the answer to this too as I can't seem to make it work. Best wishes, Dan On Nov 7, 8:53 pm, black_13 jjosb...@gmail.com wrote: Can the batik library for svg be used with the GAE java? regards, black_13 -- You received this message because you are subscribed to the

[appengine-java] Re: case sensitivity

2009-11-16 Thread Kris
I'm more concerned about the proper way to do this generically. I can't realistically store duplicates of every string based field that I may want to search for. On Nov 16, 11:36 am, Rusty Wright rwright.li...@gmail.com wrote: The recommended approach is to store the userName in all lower case,

Re: [appengine-java] Re: Delete task queue

2009-11-16 Thread Ikai L (Google)
Peter, File a bug if you can. Even though it's experimental, it's been released to the public and we can use all the help we can get when prioritizing issues. Thanks! On Mon, Nov 16, 2009 at 7:52 AM, Peter Ondruska peter.ondru...@gmail.comwrote: OK, seems like a bug to me. Does it make sense

[appengine-java] Re: EntityGroup getting all children of a parent

2009-11-16 Thread datanucleus
  Query query = pm.newQuery(Account.class); org.datanucleus.exceptions.ClassNotResolvedException: Key         at org.datanucleus.util.Imports.resolveClassDeclaration(Imports.java: As the message says ... Key is not resolved to be a class. It certainly isn't a field, but you do have a field

[appengine-java] Re: EntityGroup getting all children of a parent

2009-11-16 Thread Bitscorpion
sorry, was just a typo. of course it is query.setFilter(key == keyParam); but the error is the same On Nov 16, 10:15 pm, datanucleus andy_jeffer...@yahoo.com wrote:   Query query = pm.newQuery(Account.class); org.datanucleus.exceptions.ClassNotResolvedException: Key         at

[appengine-java] Re: Can't send mail with attachment using JavaMail API

2009-11-16 Thread mably
Hi Ikai, thanx for you help. I've copy pasted your code on my webapp (webwinewatch), I've no error but the mail isn't correctly relayed, all attachements are removed. I've just modified the sender, from and recipient lines : message.setSender(new InternetAddress(myaddress@gmail.com, Relay

Re: [appengine-java] Problems with large request/response headers

2009-11-16 Thread Ikai L (Google)
Matt, This looks like it may be a JeTTy issue: http://jira.codehaus.org/browse/JETTY-336 That being said, I'm curious as to what data you are storing in the cookie. Less than 1.5% of sites pass cookies larger than 1501 bytes, and there are performance implications for passing large amounts of

Re: [appengine-java] Querying sub objects with JDOQL in GAE/J

2009-11-16 Thread Ikai L (Google)
Can you post the queries you have attempted as well as the errors? On Tue, Nov 10, 2009 at 10:40 PM, enthusiast itzraj...@gmail.com wrote: I have a very basic question about JDOQL with GAE/J. Hope someone can shine light on this: I have modeled two persistent objects Employee and

[appengine-java] Re: jdo autorefer table

2009-11-16 Thread ale
Solved. I remove the (serialized = true) from the list and add pm.detacheCopy when I return data from the entity user. Now it's work fine. On Nov 16, 11:14 pm, ale aleee...@gmail.com wrote: Hello, I have an entity and I want to menage some contacts, so I think to include a list of contact

Re: [appengine-java] Re: case sensitivity

2009-11-16 Thread Rusty Wright
http://groups.google.com/group/google-appengine-java/search?group=google-appengine-javaq=lowercase+queryqt_g=Search+this+group Kris wrote: I'm more concerned about the proper way to do this generically. I can't realistically store duplicates of every string based field that I may want to

Re: [appengine-java] JDO not saved (commit) when using spring @ModelAttribute

2009-11-16 Thread Rusty Wright
Forgot to add; here's how I used it in my web.xml: filter filter-name OpenPersistenceManagerInViewFilter /filter-name filter-class org.springframework.orm.jdo.support.OpenPersistenceManagerInViewFilter /filter-class /filter

[appengine-java] Ancestor queries in JPQL? / Getting Key of parameter value does not have a parent

2009-11-16 Thread Todd Vierling
Test app to reproduce: http://ancestortest.latest.duh-test.appspot.com/ Source code: http://ancestortest.latest.duh-test.appspot.com/src/ancestortest/AncestorTestServlet.java http://ancestortest.latest.duh-test.appspot.com/src/ancestortest/UserAccount.java

Re: [appengine-java] 500 Internal Server Error, when update appl

2009-11-16 Thread Jackob
The problem is not fixed , i can't upload update. The happened only with my account? On Mon, Nov 16, 2009 at 11:59 PM, Ikai L (Google) ika...@google.com wrote: Have you been able to update this application? On Wed, Nov 11, 2009 at 11:53 PM, Jackroz jrozn...@gmail.com wrote: Hi Team,

[google-appengine] Python webapp framework and REST API

2009-11-16 Thread Devraj Mukherjee
Hi all, We are writing an app with Python AppEngine and Closure. I am trying to follow a few articles I found on how to write your own REST services (properly). What I have gathered from reading these documents is that when using PUT or POST I should send back formed data say in XML or JSON. I

[google-appengine] Unable to appcfg.py update to my app

2009-11-16 Thread Tom Wu
2009-11-16 17:07:09,967 ERROR appcfg.py:1235 An unexpected error occurred. Aborting. Traceback (most recent call last): File D:\gae\google\appengine\tools\appcfg.py, line 1213, in DoUpload missing_files = self.Begin() File D:\gae\google\appengine\tools\appcfg.py, line 1009, in Begin

[google-appengine] Re: How to design data model

2009-11-16 Thread fhucho
Unfortunately, I'm not using Python... is there a way to make this work in Java? On Nov 16, 5:38 am, niklasr nikla...@gmail.com wrote: On Nov 15, 5:48 pm, fhucho fhu...@gmail.com wrote: Hi, I am developing a web app, where users should be able to (in this order):     1) create their item

[google-appengine] Unable to appcfg.py update again !

2009-11-16 Thread Tom Wu
2009-11-16 20:53:09,890 ERROR appcfg.py:1235 An unexpected error occurred. Aborting. Traceback (most recent call last): File D:\gae\google\appengine\tools\appcfg.py, line 1213, in DoUpload missing_files = self.Begin() File D:\gae\google\appengine\tools\appcfg.py, line 1009, in Begin

[google-appengine] Limit on image size very low

2009-11-16 Thread Bjoern
Hi, the imaging service limitation of 1MB for the maximum image size seems very low. Most cameras create bigger images by now. Any chance of increasing that limit? It would be nice if people could upload images to my app without having to go through a photo editor first. In fact avoiding the

[google-appengine] Quota on number of entity types / kinds?

2009-11-16 Thread RyanD
A couple of quota questions: 1) Mainly: I'm looking to develop an application that has an *unbounded* number of entity types / kinds (by using the low level Java API). Is this possible, or is there some limit to the number of entity types / kinds that an application may have? 2) Any limit on

[google-appengine] ViewDoesNotExist at /join No module named atom.service

2009-11-16 Thread Cage
Hello, I have been trying to setup jaiku microblogging engine on appengine. I could successfully load the homepage. However, when I click on 'Join' button it is giving the below pasted error. I can furnish the complete stack trace if it would help. Please help me with this. Regards, Cage

[google-appengine] Naked domains: why is it not supported?

2009-11-16 Thread Bart Burkhardt
I'm so disapointed with Google at the moment. I'm about to deploy a short url service to Google App Engine and find out that naked domains are not supported. I really really want to know the reason that this decision was made, is Google listening in this discussion group? Please tell us why it's

[google-appengine] Naked domains: why is it not supported?

2009-11-16 Thread Bart Burkhardt
I'm so disapointed with Google at the moment. I'm about to deploy a short url service to Google App Engine and find out that naked domains are not supported. I really really want to know the reason that this decision was made, is Google listening in this discussion group? Please tell us why it's

[google-appengine] Can't get owned relationship working with JDO and subclass

2009-11-16 Thread Rick Horowitz
I'm trying to persist a simple class relationship using JDO. My code is listed below and here's a brief overview of what I'm trying to do: I have 3 classes: Person, Customer (extends Person), and Address (referenced from Person). If I create a Person instance and an Address instance and call

[google-appengine] Struggling to Upload a CSV file to AppEngine Datastore

2009-11-16 Thread Benjamin Mayo
Bear with me here. I have never used python at the *commandline* before. Ever. I have a .CSV file containing the database I would like to upload to my GAE datastore. I have followed the documentation provided, but the python shell keeps returning errors (syntax: update_data). Please can someone

[google-appengine] Re: Upload data to development server

2009-11-16 Thread Conchi
Next worked for me: - removing the line login:admin from app.yaml - Updating app cofig: appcfg.py update [app-id] - (Re)starting local server: appserver [app-id] - Upload data: appcfg.py upload_data --config_file=album_loader.py --filename album_data.csv --kind Album

[google-appengine] Re: Problem with SMS verification

2009-11-16 Thread Matt Passell
Hi Ikai, I added myself to the waitlist. Do you know how long it takes to hear back? I'm going to be participating in a Google Wave hackathon on Saturday (Nov. 21) and was hoping to be able to deploy at least one robot to App Engine. Thanks, Matt On Nov 11, 1:33 pm, Ikai L (Google)

[google-appengine] Re: Possible to download code once uploaded?

2009-11-16 Thread Peter Recore
You should look into Git or Subversion or Sourcesafe or CVS or some other revision control systems. On Nov 9, 3:34 am, Martin Shaw mshaw1...@googlemail.com wrote: Hi, After I have uploaded my code for my appengine, by using the appcfg.py update myapp/ command, is it then possible to download

[google-appengine] Can I be the owner-proprietary but not the person who pay?

2009-11-16 Thread frankabel
Hi all? I'm just wandering if exist a way that someone pay my the rent of the App Engine but I keep the ownership of the application. I mean, somebody pay, but I have full control so when I want change the person who is paying or pay my selft, no problem. Cheers Frank Abel -- You received this

Re: [google-appengine] Limit on image size very low

2009-11-16 Thread Eli Jones
I haven't used the Image api.. but.. do you mean the limit of 1MB for storing entities in the Datastore? Or, does it just throw errors if you try to manipulate an image in memory that is over 1MB? If you're just trying to get a 1MB image into the datastore, you could break it up into 1mb chunks

Re: [google-appengine] Python webapp framework and REST API

2009-11-16 Thread 风笑雪
POST PUT data is in request body: http://code.google.com/intl/en/appengine/docs/python/tools/webapp/requestclass.html#Request_body 2009/11/16 Devraj Mukherjee dev...@gmail.com: Hi all, We are writing an app with Python AppEngine and Closure. I am trying to follow a few articles I found on

Re: [google-appengine] Panama App Engine Developers Shut Out?

2009-11-16 Thread Ikai L (Google)
It looks like Panama is not in the list of supported carriers: http://code.google.com/appengine/kb/supported_carriers.html If you required SMS verification, please add yourself to the SMS waitlist here: https://appengine.google.com/waitlist/sms_issues. We'll go through this and enable you

[google-appengine] Re: Struggling to Upload a CSV file to AppEngine Datastore

2009-11-16 Thread Greg Tracy
what was the exact error or symptom? i'm reluctant to repeat the how- to guide. http://code.google.com/appengine/docs/python/tools/uploadingdata.html i've uploaded bulk elements via csv multiple times and the instructions worked perfectly. the sections you actually have to implement are: 1.

[google-appengine] Re: property value is not multi-line

2009-11-16 Thread Guri
On Nov 16, 9:00 am, SivaTumma sivatu...@gmail.com wrote: You need to declare the property 'url_title' in your model class like this:     url_property = db.StringProperty(multiline=True) It indicates that a multilne string ( when copied and pasted from html pages, it happens some times. )

[google-appengine] Re: Problem with SMS verification

2009-11-16 Thread Matt Passell
Hi Ikai, I'm not sure if you helped expedite the process, but I've now been manually verified. If you did help it along, thanks very much! Thanks, Matt On Nov 16, 12:08 pm, Matt Passell mpass...@grovehillsoftware.com wrote: Hi Ikai, I added myself to the waitlist.  Do you know how long it

Re: [google-appengine] ApiProxy$UnknownException

2009-11-16 Thread Ikai L (Google)
Lucian, what environment are you getting this in? I'm assuming this is on your development machine. Can you post your OS, Java and SDK versions? On Thu, Nov 12, 2009 at 6:10 AM, Lucian Baciu lucianba...@gmail.com wrote: I keep getting this error:

Re: [google-appengine] Re: Application Timeouts - More than usual

2009-11-16 Thread Ikai L (Google)
Arun, Which actions are triggering the DeadlineExceededError? What are you trying to do in these actions? On Fri, Nov 13, 2009 at 5:43 AM, Arun Shanker Prasad arunshankerpra...@gmail.com wrote: Hi Ikai, I had replied with the application id. I am still getting these errors at random, were

Re: [google-appengine] Keyword search in TextProperty

2009-11-16 Thread Ikai L (Google)
There are a few projects that do this. Here's one on Github called Whoosh: http://github.com/tallstreet/Whoosh-AppEngine There's also an open ticket for this under our issue tracker. You'll want to star this so that we can prioritize it for a future release:

Re: [google-appengine] Re: Only ancestor queries are allowed inside transactions

2009-11-16 Thread Will
Thanks Eli. Your solution solves one issue. But ideally, I want the 2nd concurrent request, after waiting, pick up the next item in queue and process, without complicating the code. After all, that's what a transaction is designed for. Reading another post, it seems one has to create a dummy

[google-appengine] Re: Is it possible to obtain list of all users or groups of Google Apps domain?

2009-11-16 Thread Spider-Men
Hi,Wooble! Thanks a lot for teaching! Sincerely. -- 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