[appengine-java] Re: GWT+servlet - how to redirect to a different page

2010-12-29 Thread l.denardo
Why don't you simply build the form panel with the specified target in the constructor? http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/user/client/ui/FormPanel.html#FormPanel%28java.lang.String%29 FormPanel uses a hidden IFrame to manage the cycle of submit/receive

[appengine-java] Persisting an empty set

2010-12-29 Thread WillSpecht
I am trying to persist an empty HashSet in App Engine. It persists fine but when I pull the the item that contains the HashSet from the data-store the HashSet is now null. What can I do to force App Engine to store an empty HashSet? Or, do I just need to check for null and create the HashSet each

[appengine-java] Re: Using entity.setProperty on one-to-many relationships

2010-12-29 Thread Didier Durand
Hi, Yes, the class Entity by Google only supports the core types defined in the Dev Guide. 1 question : it seems that you are trying to mix high-level (JDO) and low-level datastore api. Is that correct ? Why do you have to do that ? regards didier On 29 déc, 10:06, Kalyan Akella

[appengine-java] Re: Using entity.setProperty on one-to-many relationships

2010-12-29 Thread Kalyan Akella
Hi, Yes, I had to use the low level API because that code is part of another unit test I am writing against my domain. So, I had to get hold of the DataStoreService, Entity and such classes, as documented

[appengine-java] Re: Using entity.setProperty on one-to-many relationships

2010-12-29 Thread Didier Durand
Hi, Yes: why don't you only work with JDO and use its persistence manager to store your entities? The pm of jdo will handle translation between annotated pojos and datastore transparently for you and then drastically reduce your code size. N.B; I personnally switched from JDO to Objectify: much

[appengine-java] Re: Persisting an empty set

2010-12-29 Thread Didier Durand
Hi, How do you persist it: JDO ? JPA ? Low-level Datastore API ? 3rd party package like Objectify ? regards didier On 29 déc, 12:09, WillSpecht willspe...@gmail.com wrote: I am trying to persist an empty HashSet in App Engine. It persists fine but when I pull the the item that contains the

[appengine-java] Re: Instant messenger

2010-12-29 Thread pdzarkar
Hi Andy, I can't hire you because i am just a small developer and doing this for learning API's and new technology. Have you worked on XMPP or instant messenger before ? Do i need any other tool other than eclipse,GWT fro development ? On Dec 28, 10:50 pm, A. Stevko andy.ste...@gmail.com wrote:

[appengine-java] Re: GWT+servlet - how to redirect to a different page

2010-12-29 Thread dreamer
Thanks Ikai Lorenzo. I am trying page flow as in struts, server does some business logic and tells where to go next depends on some biz logic or status. I will try your suggestions. On Dec 29, 1:41 am, l.denardo lorenzo.dena...@gmail.com wrote: Why don't you simply build the form panel with

[appengine-java] GWT GAE APP as standalone app

2010-12-29 Thread dreamer
Hi, I developed a small app using eclipse plug in (GWT) and datastore. I want to roll to some users as standalone application. I guess local datastore in eclipse is just a file like derby db file. Any body tried this ? please share your experience before I burn too many hours in this direction.

[appengine-java] Update an Existing object in the datastore - Problem

2010-12-29 Thread lisandrodc
Hi! I have a problem with the persistence of an existing object Torneo (with a empty collection of objects Equipo). When I add elements to the collection and want to persist, sometimes persist and sometimes not persist in the datastore(Restarting the server of the application). The code of

[appengine-java] Re: GWT GAE APP as standalone app

2010-12-29 Thread dreamer
If any tricks to package the app will be very helpful (without eclipse etc). On Dec 29, 6:25 am, dreamer venugopal.vasire...@gmail.com wrote: Hi, I developed a small app using eclipse plug in (GWT) and datastore. I want to roll to some users as standalone application. I guess local

[appengine-java] Re: persistent and scalable global atomic counter: not possible with GAE?

2010-12-29 Thread Nichole
Hi MG, Sharded counters help solve the concurrent write contention for an entity. Time (to the accuracy of milliseconds) helps to provide a one way arrow towards a unique value. Each request itself could be associated with an identity (this is up to you, perhaps time in the request header).

[appengine-java] Re: Using entity.setProperty on one-to-many relationships

2010-12-29 Thread Kalyan Akella
Hi Didier, Thank you for pointing out the easier approach of using JDO PersistenceManager APIs to do unit testing. I missed the point that the same benefits provided by these high-level APIs are equally applicable for unit testing as well. I wrote that code basing purely on the official

[appengine-java] passing multiple parameters to JDOQL

2010-12-29 Thread Vik
Hie I am trying to pass multiple parameters as follows Query query = pm.newQuery(PocVacationSchedule.class); query.setFilter(pocId == bind_pocId startDate == bind_startDate endDate == bind_endDate); query.declareParameters(Long bind_pocId);

[appengine-java] Re: persistent and scalable global atomic counter: not possible with GAE?

2010-12-29 Thread dreamer
It may be possible to simulate oracle sequence triggers, write some service on app engine that returns next number in sequence and every body else calls this service. On Dec 29, 6:30 am, Nichole nichole.k...@gmail.com wrote: Hi MG,    Sharded counters help solve the concurrent write

[appengine-java] Re: Concurrency issue when dealing with datastore

2010-12-29 Thread cghersi
Thank you Didier, I had to strongly synchronize my app using Java options (locka, synchrnized objects, and so on...). I think it is quite unbelievable that a huge giant like BigTable is so weak in concurrency issues... Perhaps my approach is geared from my experience in relational DBs, but I'm

[appengine-java] Re: How to completely erase the datastore of an app

2010-12-29 Thread Didier Durand
Hi, You can very easily empty your datastore using the Datastore viewer of the admin console: you can select and delete all entities from the viewer screen. regards didier On Dec 29, 4:52 pm, cghersi cristiano.ghe...@gmail.com wrote: Hi, I've got an app on GAE with 4 versions, up to now.

Re: [appengine-java] passing multiple parameters to JDOQL

2010-12-29 Thread Stephen Johnson
You need to do it like this: query.declareParameters(Long bind_pocId, Date bind_startDate, Date bind_endDate); However, unless you've normalized your dates on midnight or something I don't think this will work they way you want since date objects have millisecond precision. On Wed, Dec 29,

Re: [appengine-java] passing multiple parameters to JDOQL

2010-12-29 Thread Vik
yeah thanks.. I will try it this way... Yes I am manually setting time component part to 0 before storing the data. Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com On Wed, Dec 29, 2010 at 9:52 PM, Stephen Johnson onepagewo...@gmail.comwrote: You need to do it like

[appengine-java] Re: slf4j debug messages not in admin console

2010-12-29 Thread nacho
I tryied to log messages in DEBUG level following the instructions of this page http://code.google.com/intl/es-AR/appengine/docs/java/runtime.html and i can't log any DEBUG message. If I use other higher levels works fine like @Tomas sayid. Is this an appengine restriction? On 28 dic, 05:19,

Re: [appengine-java] Re: persistent and scalable global atomic counter: not possible with GAE?

2010-12-29 Thread Ikai Lan (Google)
What are you building? With distributed systems, it can be tricky to do some things. A single, scalable, atomic counter is an implementation for a solution, not a solution to a problem. There may be an alternate implementation that'll make your life easier but solve the problem at hand. -- Ikai

Re: [appengine-java] Lightweight Best performing MVC framework - Recommendation

2010-12-29 Thread Ikai Lan (Google)
Um ... those are like the opposite of lightweight. Here are some I like: Play Framework: probably the most underrated Java framework I've ever see http://www.playframework.org/ Slim3: built for App Engine. Cons: kind of needs deep Eclipse integration http://sites.google.com/site/slim3appengine/

[appengine-java] Re: persistent and scalable global atomic counter: not possible with GAE?

2010-12-29 Thread MG
Ikai, you are right - I don't need a counter, a sequence of unique and growing numbers will do. And I think I can make a scalable numeric sequence by combining a sharded counter with a memcache counter (and an occasional transaction). I'll post my solution when it's done. MG On Dec 29, 1:48 pm,

Re: [appengine-java] Re: persistent and scalable global atomic counter: not possible with GAE?

2010-12-29 Thread Ikai Lan (Google)
Sweet. Remember that Memcache's INCR operation IS atomic. Waiting to see your solution ... as well as what you are using it for =). -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter:

Re: [appengine-java] Re: Instant messenger

2010-12-29 Thread A. Stevko
Have you worked on XMPP or instant messenger before ? No, I haven't had the opportunity yet to work with the IM libraries although they do seem to be straight forward. Do i need any other tool other than eclipse,GWT fro development ? Besides using nearly every kind of browser (with the gwt

Re: [appengine-java] Instant messenger

2010-12-29 Thread Sumi
Why do you say not many successful oAuth integrations?I have tried using them but with so success...is there anyone from google who can comment on this... i did everything mentioned in gdata oauth integrations but still no luck.. On Tue, Dec 28, 2010 at 9:50 AM, A. Stevko andy.ste...@gmail.com

[appengine-java] google oauth - Help needed

2010-12-29 Thread Sumi
I spent the past few days implementing google oauth for gdata API s integration with no success... I followed the steps mentioned in http://code.google.com/apis/accounts/docs/OAuth.html#prepServiceCall Is there anyone from google who can confirm that google aouth is not broken and its

Re: [appengine-java] Instant messenger

2010-12-29 Thread A. Stevko
A couple of other resources Piyusk are: The issue ticket base at http://code.google.com/p/googleappengine/issues/listhttp://code.google.com/p/googleappengine/issues/list?can=2q=oauthcolspec=ID+Type+Component+Status+Stars+Summary+Language+Priority+Owner+Logcells=tiles#

Re: [appengine-java] Instant messenger

2010-12-29 Thread A. Stevko
Sumi - I personally have not seen lots of successful examples of oauth deployed although it seems to be the right direction. I suggest you start another thread with your experiences and details... On Wed, Dec 29, 2010 at 6:03 PM, A. Stevko andy.ste...@gmail.com wrote: A couple of other

[appengine-java] Re: Lightweight Best performing MVC framework - Recommendation

2010-12-29 Thread nischalshetty
That was Struts 2, made a mistake in the spelling -N On Dec 30, 10:08 am, nischalshetty nischalshett...@gmail.com wrote: Strust 2 , just the default one, without putting in anything unwanted into it. I use it for m apphttp://justunfollow.comand seems to work well. -N On Dec 30, 12:02 am,

[appengine-java] google eclipse plugin开发gae,wa r目录不能同步

2010-12-29 Thread EtuO
参照http://googlewebtoolkit.blogspot.com/2010/08/how-to-use-google- plugin-for-eclipse.html的官方博客。将一个maven工程改成eclipse热部署。 现在的状态是启动都是ok的,工作目录是:src/main/webapp,启动的目录是:target/your-project-name,访问正 常。 问题是工作目录的文件修改时不能同步到启动目录中去。 例如我在工作目录下修改一个jsp文件,用浏览器访问不能生效,因为启动目录里面文件还没有改变。 那位碰到过这个问题的,指教下。 -- You

[appengine-java] Re: Instant messenger

2010-12-29 Thread pdzarkar
Hi Andy, I visited ninuku.com.I found its an interesting website. The idea behind application is awesome. I think you were working there ? And again thanks for valuable suggestions. Regards, Piyush On Dec 30, 3:22 am, A. Stevko andy.ste...@gmail.com wrote: Have you worked on XMPP or instant

[appengine-java] Re: Instant messenger

2010-12-29 Thread pdzarkar
Hi Sumi, I am starting working on oauth integration soon. If there any success,i will help you on this issue. Regards, Piyush On Dec 30, 3:45 am, Sumi sumi...@gmail.com wrote: Why do you say not many successful oAuth integrations?I have tried using them but with so success...is there anyone

[google-appengine] Re: Channel API from mobile

2010-12-29 Thread David
Thomas, On Android, do you mean you are using the Channel API in the Android web browser? Or did you create a java client for the channel api? If the latter, can you share your java client code? I'm definitely interested in using the Channel API in my Android application (not through javascript

Re: [google-appengine] Cannot access to Datastore Admin

2010-12-29 Thread Wesley C (Google)
greetings, are you using Safari on a Mac? if so, see the ticket below. if not, please add your OS/browser+version pair to this ticket: http://code.google.com/p/googleappengine/issues/detail?id=4021 -- wesley - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Core Python Programming,

[google-appengine] Double billed for Dec 18th

2010-12-29 Thread Kenneth
Hi, I was billed twice for usage on Dec 18th. How do I get this fixed? Thanks, Kenneth -- 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,

[google-appengine] Temporary data more than 1mega

2010-12-29 Thread Sahid Orentino Ferdjaoui
Hello Community! I need to store in a temporary time an image uploaded by user. This image can it modified by the user in a real time. (I don't want resize the uploaded image to less than 1mega before record in a temporary because if the user make a zoom, i want use the full image size.)

[google-appengine] Update an Existing object in the datastore - Problem

2010-12-29 Thread lisandro
lisandrodc View profile More options Dec 29, 11:26 am Hi! I have a problem with the persistence of an existing object Torneo (with a empty collection of objects Equipo). When I add elements to the collection and want to persist, sometimes persist and sometimes not persist in the

[google-appengine] Re: Cloud2db for Cassandra and MongoDb

2010-12-29 Thread lisandro
Hi Sandeep! Excelent... But: I do not find in the site any example of code of Cloud2db that works with GAE, specially with Hibernate. Can they offer someone? Then, Cloud2db ... is it totally functional and free with GAE? Regards! Lisandro On Dec 28, 5:03 pm, Sandeep Sathaye

Re: [google-appengine] Double billed for Dec 18th

2010-12-29 Thread Robert Kluin
Hi Kenneth, You might want to use the billing support form: http://code.google.com/support/bin/request.py?contact_type=AppEngineBillingSupport http://code.google.com/appengine/kb/billing.html#morehelp Robert On Wed, Dec 29, 2010 at 08:30, Kenneth goo...@kmacleod.ie wrote:

Re: [google-appengine] Doubts about receiving mail with Java.

2010-12-29 Thread Robert Kluin
Hey Nacho, Yes, setup m...@gmail.com to forward to whate...@yourapp.appspotmail.com. If your app is in the BCC list, maybe. Otherwise the BCC field is probably stripped by the server. Note, I've not tested to this, but that is what I would expect. Robert On Wed, Dec 29, 2010 at

[google-appengine] Qauth vs OpenID

2010-12-29 Thread yuvi
Hi, I'm developing a Gadget to Java App Engine . In some cases I use GAE build-in OAuth: OAuthService oauth = OAuthServiceFactory.getOAuthService(); user = oauth.getCurrentUser(); In one case openid: UserService userService = UserServiceFactory.getUserService(); I have noticed in both cases

Re: [google-appengine] Re: Channel API from mobile

2010-12-29 Thread Ikai Lan (Google)
He's referring to Channel API in the Android browser. With Android, you probably want to use the Push APIs: http://code.google.com/android/c2dm/ -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine

Re: [google-appengine] Re: Deleting Data Really Expensive!

2010-12-29 Thread Ikai Lan (Google)
One more tip: only index the properties you need. When you delete an entity, we also have to delete all the associated indexes. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter:

Re: [google-appengine] must i install Visual Studio for python ssl module?

2010-12-29 Thread PhistucK
I have Visual C++ 2005 Express and Visual C++ 2008 Express installed and I still get that message. Did anyone here successfully built and integrated the SSL module into Python for Google App Engine? -- You received this message because you are subscribed to the Google Groups Google App Engine

[google-appengine] The request to API call urlfetch.Fetch() was too large but, didn't the limit was changed from 1MB to 32MB?

2010-12-29 Thread jdlforce
If this is true: Increased API Call Size Limits - A new API architecture has allowed us to start lifting the 1MB size limits on many of the App Engine APIs. To start, the following APIs have been changed: * Response size limits for URLFetch have been raised from 1MB to 32MB. Why am I

Re: [google-appengine] Update an Existing object in the datastore - Problem

2010-12-29 Thread Ikai Lan (Google)
Objects are re-persisted if there are any fields that are marked dirty. Sometimes, when you add objects to a collection property, since the property reference may not be marked dirty, it will not be repersisted when the PersistenceManager is closed. You can either: 1. Call

[google-appengine] Re: must i install Visual Studio for python ssl module?

2010-12-29 Thread Darien Caldwell
I once asked and received a compiled copy. But I have to confess I haven't tried it. There is always a risk that someone could have added in some vulnerability to a pre-compiled copy. Google used to distribute a compiled copy at this link:

[google-appengine] Re: The request to API call urlfetch.Fetch() was too large but, didn't the limit was changed from 1MB to 32MB?

2010-12-29 Thread Geoffrey Spear
The request was too large would seem to me to say you're sending too much data, not that you're trying to fetch too much. On Dec 29, 2:44 pm, jdlforce jocsan.d...@gmail.com wrote: If this is true: Increased API Call Size Limits - A new API architecture has allowed us to start lifting the 1MB

Re: [google-appengine] Support for SSL on different domains

2010-12-29 Thread Tom Fishman
I'm pretty satisfied with the current support: Browsers with support for TLS server name indication:[6]http://en.wikipedia.org/wiki/Server_Name_Indication#cite_note-5 - Internet Explorer 7 http://en.wikipedia.org/wiki/Internet_Explorer_7 (Vista or higher, not XP) or later - Mozilla

[google-appengine] add minutes to stored date field within query

2010-12-29 Thread pieceovcake
how can i do this, add 30 minutes to the stored date field then do a comparison. query.setFilter(lastDate = anotherDateTimeParam); Looking to do something like this query.setFilter(lastDate + 30minutes = anotherDateTimeParam ); -- You received this message because you are subscribed to the

Re: [google-appengine] add minutes to stored date field within query

2010-12-29 Thread Ikai Lan (Google)
1. Create a new date object from the old date object and add 30 minutes to it 2. Construct the query using this object -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter:

[google-appengine] get_serving_url fails with unspecified error

2010-12-29 Thread Philip
Hi, a get_serving_url call for a 9.7mb image fails with a Error() exception. Maybe you can take a look into this issue. The blob key is:

[google-appengine] Re: add minutes to stored date field within query

2010-12-29 Thread Geoffrey Spear
On Dec 29, 4:57 pm, pieceovcake bira...@gmail.com wrote: how can i do this, add 30 minutes to the stored date field then do a comparison. query.setFilter(lastDate = anotherDateTimeParam); Looking to do something like this query.setFilter(lastDate + 30minutes = anotherDateTimeParam );

[google-appengine] !! Tasks execution delayed by over a minute

2010-12-29 Thread vlad
Since 12/28 I am seeing huge delays on some tasks. See below is an except from admin console. Note the last task is 43s late and still hasn't fired. Is Anyone else seeing this? ‹ Prev 10 * * Next 10 › Order by: *Task Name* | Task

[google-appengine] Re: !! Tasks execution delayed by over a minute

2010-12-29 Thread vlad
After playing with it a bit: Appears to affect only tasks scheduled with small delay of 0-3 sec. Tasks with 5+ sec delay appear to fire on time. -- 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-appengine] GQL Bad argument error

2010-12-29 Thread rahul jain
I am getting this error when executing this sql db.GqlQuery(select * from kind_name WHERE propert_name_x != :val ORDER BY property_name_y DESC LIMIT 5 , val=blah) BadArgumentError: First ordering property must be the same as inequality filter property, I know this is because of two diff.

[google-appengine] AddAppVersion failed: DEADLINE_EXCEEDED

2010-12-29 Thread Nicky
I am getting a error when visiting my app (Java based) occasionally and only on the first visit. Has anyone else had this problem or have insight on what is going on? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group,

Re: [google-appengine] GQL Bad argument error

2010-12-29 Thread Robert Kluin
Hi Rahul, 1) Restructure your model so that you can query using only equality filters and the order. 2) If your data allows it, don't filter based on property_x in the query, do it in your code. You might need to fetch 10 entities, and possibly even re-fetch once or twice, but that will

[google-appengine] ImagesService Down?

2010-12-29 Thread Peter Liu
Having failed 2000 times in past few hours. com.pekca.main.utility.Utility critical: com.google.appengine.api.images.ImagesServiceFailureException: Unknown # W 12-29 09:28PM 21.728 [vikispot/0-4-16.347267200973382122].stderr: com.google.appengine.api.images.ImagesServiceFailureException:

[google-appengine] Re: ImagesService Down?

2010-12-29 Thread Peter Liu
Seems it's failing over the same image with blobkey: AMIfv9453wGAckSs1JFCjM8acSN_assBA1KEux8Dy26Q3EgRrCvJOvmHAD7X6l_VMatfyT5JGlsDk5Pvp5rPT8- tnT2ptqudSo2- r7g6xQGBVHYjqTCQiZE1iyd5FKUTmN9WtRzfgwR4eXaJyqbok20K56lnQukO_A app name: vikispot On Dec 29, 9:32 pm, Peter Liu tinyee...@gmail.com wrote: