[appengine-java] Re: Error handler for 403 Forbidden error

2010-04-30 Thread seleronm
Hi, I tried a little. It seems not to operate in production though it is normal in the develop (403. Jsp displays it). If you are the same phenomenon, you might have also to do post to issue list. thanks. Hi, all I have an application, that allows only administrator to enter it, but I

[appengine-java] Data store Low-level API and filters

2010-04-30 Thread dominity
Hi, guys. Can you tell me how could I add filter to query with OR operation? I.e., if I want to fetch all entities that have a field with certain value or with another one. Best regards, Alexander. -- You received this message because you are subscribed to the Google Groups Google App Engine

[appengine-java] Re: JAXB

2010-04-30 Thread seleronm
Hi, Though it is likely already to have known I think that I can use jaxb by using memcache or datastore instead of the filesystem. The following links might be useful for marshal/unmarshal. http://stackoverflow.com/questions/1955396/whats-the-easiest-way-to-persist-java-objects Plese try.

[appengine-java] Re: Can you use cursors to go back?

2010-04-30 Thread boustanihani
Guys I think cursors are the best choice for paging ... It is also safe to send a cursor to the client and this is exactly what i am doing ... I am saving all cursors on the client in an ArrayList and using them to page forward and backward ... of coarse u have to start by page 1 and move forward

[appengine-java] slow responses for query

2010-04-30 Thread Philip Tucker
I've got a Game object that includes two PlayerGameState objects. Both are persistence-capable. My query fetches all PlayerGameState objects for a particular user, then I get the associated game and other player. The initial fetch is always fast, and the entire operation is generally lass than a

[appengine-java] Re: JDO unowned relationship

2010-04-30 Thread datanucleus
So a Person can have a favored Food. But a Food is not linked to only one Person, but can be the favored Food of more than one Person. Ok, I understand that we don’t have a Food-Object in the class Person, but instead we have the Key to the food. Ok, now I want to get the favored Food Object

Re: [appengine-java] Datastore cursor return value question - CursorHelper.getCursor(List?)

2010-04-30 Thread Chau Huynh
Thank you Ikai On Fri, Apr 30, 2010 at 4:29 AM, Ikai L (Google) ika...@google.com wrote: You'll have to do another query since we don't peek ahead to see if you're at the end of the query result or not. You can optimize this, however, by doing a keys only query so you don't have to fetch the

Re: [appengine-java] Can you use cursors to go back?

2010-04-30 Thread Chau Huynh
You can find a more detailed discussion on this here http://groups.google.com/group/google-appengine-java/browse_thread/thread/da8b96441b0ae038/667aac2bb4109097?lnk=raot On Fri, Apr 30, 2010 at 1:17 AM, korey_sed kouro...@gmail.com wrote: I wonder if the java datastore API's cursor is a forward

[appengine-java] Re: Database cursor for back cursor?

2010-04-30 Thread boustanihani
Guys I think cursors are the best choice for paging ... It is also safe to send a cursor to the client and this is exactly what i am doing ... I am saving all cursors on the client in an ArrayList and using them to page forward and backward ... of coarse u have to start by page 1 and move forward

Re: [appengine-java] Data store Low-level API and filters

2010-04-30 Thread Chau Huynh
Maybe Query.addFilter() can help you? http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/Query.html#addFilter%28java.lang.String,%20com.google.appengine.api.datastore.Query.FilterOperator,%20java.lang.Object%29 Just wonder if JPA/JDO can fit into your case:

[appengine-java] Re: Javascript source files loaded on GAE have escape '\' escaped '\\'

2010-04-30 Thread Thatcher
I'm happy to report I found the issue. If you are loading and executing Javascript files with Rhino on GAE, make sure you *do not* have yuicompressor-2.4.1.jar in you WEB-INF/lib directory. It overwrites some core portions of the rhino library and breaks the functionality this thread discussed.

Re: [appengine-java] Re: JAXB

2010-04-30 Thread Duong BaTien
This may be the one you are looking for. It works with JAXB 2.2, Jersey and GAE http://tugdualgrall.blogspot.com/ Duong BaTien DBGROUPS and BudhNet On Fri, 2010-04-30 at 15:38 +0430, Łukasz Woźniczka wrote: This link is useful.

[appengine-java] Re: Querying child objects based on parent key

2010-04-30 Thread ailinykh
JDO is a thin layer which gives you some kind of automation and restriction. But it exists only an run time. I mean you have to instantiate objects first. In other words Company c = getCompany(); for(Person p:c.getPersons()){ if(p.isDeleted()) continue; //do what ever you want to do }

Re: [appengine-java] Re: Querying child objects based on parent key

2010-04-30 Thread Chau Huynh
I think korey_sed wanted to share knowledge base on his hand on experience, his example should work... The point in his example is querying with key, whether it's in child on parent or child class http://gae-java-persistence.blogspot.com/2010/01/querying-with-key-parameters.html Obviously loading

[appengine-java] Re: SDK 1.3.3 / JUnit 4 : DatastorePb$QueryExplanation

2010-04-30 Thread Korzenowski
Yep, thanks. -- 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

Re: [appengine-java] Re: JAXB

2010-04-30 Thread Duong BaTien
Please share your example if you can. We will share our solution at the right time for using: (1) GAE, Guice, Objectify, Jersey REST and JAXB at server side, (2) Jersey REST client, JSONP in GWT 2. Thanks. BaTien On Fri, 2010-04-30 at 22:41 +0900, seleronm wrote: Hi, That's great information

[appengine-java] Non-Serializable and Memcache

2010-04-30 Thread jreilly
I understand that there are limitations on Memcache vis a vis Non- Serializable objects. Is there a way to tell what's Non- Serializable? I've been searching but maybe its too rudimentary a question :) Is my class below Non-Serializable? GAE is giving me error messages so I'm guessing it is.

[appengine-java] Re: Non-Serializable and Memcache

2010-04-30 Thread datanucleus
Does it implements Serializable ? No. -- 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] Has anyone got actually got tag files to work?

2010-04-30 Thread Nello
Hi, I'm a fairly longtime Java developer, but a real novice with App Engine, and I have been trying for the last day to get even the simplest tag file to work with a new Java App Engine project. The last mention I have seen of this issue in these forums is over a year ago - did everyone just

[appengine-java] GWT with spring security not working on live.

2010-04-30 Thread bns
Hi, I configured spring security on my gwt project that runs fine on app engine environment on local but does not work on live environment when i deploy to appspot. Here is my configuration file. --- web.xml --- ?xml version=1.0 encoding=UTF-8? !DOCTYPE web-app PUBLIC

[appengine-java] Inequality Filters Are Allowed On One Property Only

2010-04-30 Thread Romesh
I have been trying to find a workaround for this limitation and spent 2 days and read almost all blogs, discussion groups., but can not find a solution to it. Has any one able to find a way to handle this limitation? (The List property solution doesn't work.) -- You received

[appengine-java] Unowned relationships using aliases

2010-04-30 Thread Sudhir Ramanandi
I tried to implement unowned one to many relationship using column alias as explained here http://gae-java-persistence.blogspot.com/2010/02/truth-about-joins.html Here's my code @Entity public class User extends BaseEntity implements UserDetails { @Basic private SetString _roles = new

Re: [appengine-java] Has anyone got actually got tag files to work?

2010-04-30 Thread seleronm
Hi, How about this example? taglib taglib-uri/WEB-INF/tags/taglib-uri taglib-location/WEB-INF/xxx.tld/taglib-location /taglib Hope some of this helps. Please try. thanks. Hi, I'm a fairly longtime Java developer, but a real novice with App Engine, and I have been trying

[appengine-java] Is the MemcacheService LRU?

2010-04-30 Thread keyurva
Can someone confirm or refute if the MemcacheService is LRU or not? I'm looking to implement a sliding expiration within the memcache service but if it is already an LRU then I don't need to bother. Thanks, Keyur -- You received this message because you are subscribed to the Google Groups

RE : [appengine-java] Is the MemcacheService LRU?

2010-04-30 Thread Romain Pelisse
Computer science is full of acromym, that are sometimes badly translated. If were you i'elle explain what you are thinking of by LRU. Le 30 avr. 2010 20:02, keyurva keyu...@gmail.com a écrit : Can someone confirm or refute if the MemcacheService is LRU or not? I'm looking to implement a sliding

Re: [appengine-java] How to find ip -address from recieved/incoming mail

2010-04-30 Thread sreenidhi b.s
Can i atleast approximate the sender's location by using gmail's mailserver ip? is that possible.i am not looking for very accurate location. On Fri, Apr 30, 2010 at 2:27 AM, Ikai L (Google) ika...@google.com wrote: From this page:

[appengine-java] Re: Non-Serializable and Memcache

2010-04-30 Thread jreilly
Meaning: @PersistenceCapable(identityType = IdentityType.APPLICATION) public class Location implements Serializable { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Long id; @Persistent private Long deptId; So simply adding

[appengine-java] Re: Data store Low-level API and filters

2010-04-30 Thread dominity
Thanx for reply. But, how do you propose to implement OR operation with Query#addFilter()? As I understand several filters are executed with AND operation. OR operation with JDO/JPA is trivial and I'm not interested in JDO/JPA implementation, thanx. Best regards, Alexander. -- You received

[appengine-java] Can I create web services in Google App Engine?

2010-04-30 Thread Nokia Goose
Hi, can I create web services in Google App Engine? -- 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

Re: [appengine-java] Has anyone got actually got tag files to work?

2010-04-30 Thread Pieter Coucke
There was an issue ( http://groups.google.com/group/google-appengine-java/msg/81ce8ba928761e73?pli=1) with tag files that is fixed in Appengine SDK 1.3.3 ( http://code.google.com/p/googleappengine/wiki/SdkForJavaReleaseNotes). Could this be the problem? -- You received this message because you

Re: [appengine-java] Can I create web services in Google App Engine?

2010-04-30 Thread Ikai L (Google)
Yes, most certainly, as long as the classes you want to use are on the whitelist. Ikai Lan Developer Relations, Google App Engine Twitter: http://twitter.com/ikai Delicious: http://delicious.com/ikailan Google App Engine links: Blog: http://googleappengine.blogspot.com Twitter:

Re: RE : [appengine-java] Is the MemcacheService LRU?

2010-04-30 Thread Ikai L (Google)
Yes, Memcache uses LRU to expire elements: http://en.wikipedia.org/wiki/Memcached Romain, this stands for Least Recently Used and refers to Memcache automatically throwing items out of the cache if they have not been written/read and the space is needed. What this essentially means is that you

[appengine-java] About Version of Google Plugin for Eclipse

2010-04-30 Thread lycnsc
Hello I installed Google Plugin for Eclipse 3.5 by http://dl.google.com/eclipse/plugin/3.5. but when I created a new project, eclipse give me a message: The selected App Engine SDK is not valid: SDK directory 'C: \Development\Eclipse\plugins\com.google.appengine.eclipse.sdkbundle.

[appengine-java] Re: Has anyone got actually got tag files to work?

2010-04-30 Thread Nello
Hi, thanks for posting but no, that's not my issue. I had read those posts, but my tag files don't work even in Eclipse! I'm nowhere near hitting all the problems associated with trying to deploy. Has ANYONE ever got JSP fragment tag files to work? I can't see any evidence that they have, yet

[appengine-java] Re: Has anyone got actually got tag files to work?

2010-04-30 Thread Nello
The example posted by seleronm is indeed the way you set up the web.xml for compiled Java tags referenced by a TLD, but that's quite a bit different. I realise the nomenclature is confusing, but I am asking about JSP .tag files - not Java - that live in a tags directory referenced by a %@ taglib

Re: [appengine-java] Re: Data store Low-level API and filters

2010-04-30 Thread Chau Huynh
Hi, Query.addFilter() help to add filter, but not with OR operation as your need (sorry for my bad reading). http://gae-java-persistence.blogspot.com/2009/12/queries-with-and-in-filters.html This post explained that JPA/JDO (datanucleus-appengine) in fact break the query into multiple ones. If

[appengine-java] Re: Has anyone got actually got tag files to work?

2010-04-30 Thread Thomas
My tag files worked very well in dev server without any problem. When uploading to gae/j, I encountered the problem describe in the above mentioned issue and I could fix it according to the workaround guidelines provided in that issue. My environment: WinXP SP2 Eclipse version 3.4 GAE/J SDK 1.3.1

[google-appengine] Re: How to take your Gmail ID as AppEngine ID?

2010-04-30 Thread Luigi
Thank you Barry! Now I know what the problem is. When I registered this Gmail account I was in Germany, where there are legal issues between Google and one guy over the Gmail name. So, if you want to register a Gmail account from a German IP address, Google gives you an email with @googlemail.com

[google-appengine] downloading state of datastore

2010-04-30 Thread Richard
I want to allow users to download the current state of my app data. There will be around 17MB of data over ~200K+ records, which makes me concerned about timeouts. What strategy do you suggest for making the data available for download? Cache it periodically in multiple blob objects? Thanks,

[google-appengine] Re: Google Apps for Domain Account issue: Dashboard/Permission is missing Invite for new devs

2010-04-30 Thread Tino
I can confirm this. I was able to invite my Google Account into a Google Apps For Domain appID using my Google Apps for Domain user. Thanks, Google! -Tino On 29 Apr., 09:43, Pieter Coucke pieter.cou...@onthoo.com wrote: Jey, the invite button is back! -- You received this message because

Re: [google-appengine] Re: How to take your Gmail ID as AppEngine ID?

2010-04-30 Thread Barry Hunter
There is http://code.google.com/p/googleappengine/issues/list I thought it was listed there, but a quick search now cant find it :( On 30 April 2010 09:45, Luigi arru...@gmail.com wrote: Thank you Barry! Now I know what the problem is. When I registered this Gmail account I was in Germany,

[google-appengine] AES encryption available on GAE java VM?

2010-04-30 Thread haole
Are the AES libraries included in the stardard JDK available under the GAE java VM? -- 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

[google-appengine] Re: Mixed authenticated and unauthenticated content?

2010-04-30 Thread Chau
Please take a look into http://code.google.com/appengine/docs/java/config/webxml.html#Security_and_Authentication if it helps. Most often, the answer from the groups for custom authenticate / authorization (particular set of users in your post) is to build your own one. Thanks On Apr 30, 1:41 

Re: [google-appengine] Re: Entities stuck as read-only after scheduled maintenance

2010-04-30 Thread takeru sasaki
Problem is fixed for me. Thank you. 2010/4/30 Ikai L (Google) ika...@google.com: Hey everybody, We've fixed all entities that were locked in this state. Can you guys let us know if further issues persist? On Wed, Apr 28, 2010 at 11:16 PM, stephane stephane.philipa...@gmail.com wrote:

Re: [google-appengine] Server failed to serve the requests.

2010-04-30 Thread Robert Kluin
So you are not getting any actual error messages? Do you see requests showing up in the request log when expected? When you tell your app to do something does a request show up? Are you sure you do not have a front-end issue? Robert On Wed, Apr 28, 2010 at 11:44 PM, WeShine Tech

[google-appengine] Re: How to take your Gmail ID as AppEngine ID?

2010-04-30 Thread Luigi
Thanks Barry! Just open a new issue here: http://code.google.com/p/googleappengine/issues/detail?id=3176 All who are suffering from this issue, please vote for it. Greets On Apr 30, 12:45 pm, Barry Hunter barrybhun...@googlemail.com wrote: There

[google-appengine] Transfer of appengine application data from dev mode to production server and vice versa

2010-04-30 Thread apurva
Hi, I have just uploaded my java(GWT 2.0) application to google production server. Now, I am looking for the solution to transfer my data from dev mode to the production server at Google. I am using Eclipse for the development in Java. I have found some solution at code.google.com in python.

[google-appengine] [Billing rates] Billing is not feasible enough

2010-04-30 Thread Kaan Soral
I develop Facebook applications, I would really like to use AppEngine for future but I think billing should be more feasible. I have 4 million users, If I decide to email users every day, for an abridged summary, It would cost me 200$'s and I could only email 2 million users. According to my

Re: [google-appengine] downloading state of datastore

2010-04-30 Thread Jawaad Mahmood
Just out of curiousity - wouldnt it be easier to create a script to generate the file and host it elsewhere (shared hosting or st just for these files)? It seems a lot simpler than dealing with the inevitable issues surrounding large file downloads... Sent from my iPhone On 2010/04/30,

[google-appengine] Removal of IP from Black List

2010-04-30 Thread Nitin
Hello I simply want to know how do I remove my IP address from Google Black List. This is not allowing me to deploy my site on app engine. Please help me on this. Thanks Nitin -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to

Re: [google-appengine] Re: Mixed authenticated and unauthenticated content?

2010-04-30 Thread Craig Berry
Thanks. Looks like I misunderstood GAE authentication. As I now understand matters, if I enable Google authentication for my app, then it's *available*, but not enforced unless I explicitly code something up using the Auth API, or set up a security constraint in web.xml. Which is perfect. On Fri,

[google-appengine] Guest Google account?

2010-04-30 Thread Nikolay Artamonov
I use Google Accounts to identificate users of my service. But not all users have registered google accounts. What can I do if I want to allow these users to sign-in to my site with 'guest' account, for example gu...@gmail.com. Should I register such account myself? May be Google have some special

[google-appengine] Re: [Billing rates] Billing is not feasible enough

2010-04-30 Thread Darien Caldwell
It would probably be more cost effective to have a page people can visit to get the daily summary, rather than using email. I would also wonder why your pricing structure can't afford 3 cents a month per user to cover the email expense. But without knowing what the application is, I can't really

Re: [google-appengine] Re: Can an app access the Program Files on the host machine

2010-04-30 Thread djidjadji
I don't think that Google runs Windows-XP-Vista-7 on there servers. 2010/4/27 Wooble geoffsp...@gmail.com: On Apr 26, 7:11 pm, Hanh mercury24...@gmail.com wrote: I'm trying to create an app on the cloud, and it needs to launch a program from the Program Files on the host machine. I tried it

[google-appengine] Database Security

2010-04-30 Thread Patrick Twohig
I just read this article, and I was curious what/if there was anything that GAE does (or is capable of doing) to comply with this sort of law.. http://www.darkreading.com/database_security/security/app-security/showArticle.jhtml?articleID=223200019cid=RSSfeed_DR_News -- Patrick H. Twohig.

[google-appengine] Re: Idempotence multiple task execution

2010-04-30 Thread hawkett
My use case is as follows - 1. tasks which do not support idempotence inherently (such as deletes, and some puts) carry a unique identifier, which is written as a receipt in an attribute of an entity that is updated in the transaction. 2. When a task arrives carrying a receipt, I check that it

[google-appengine] Re: @Google: Can't delete two old versions of my app

2010-04-30 Thread esilver
Google? Can you please help me, or let me know you have filed a bug? On Mar 31, 11:36 pm, esilver ericsilverb...@gmail.com wrote: Hi - This is the same issue as: http://groups.google.com/group/google-appengine/browse_thread/thread/... For my app, version v1-03 and v1-10