[appengine-java] Jetty Bug : Freemarker + Sitemsh (JSP decorators) Will not work

2010-05-23 Thread Sudhir Ramanandi
See http://code.google.com/p/googleappengine/issues/detail?id=3252 -- Sudhir Ramanandi http://www.ramanandi.org -- 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

[appengine-java] Modeling for GAE

2010-05-23 Thread Julio Faerman
I really like the fast, schema-less datastore, and i would like to have that on my model objects. So, instead of using POJOs for Model/TO, i am using HashMaps. I have extended HashMap adding key and parent properties to have a one- to-one mapping with Entity. Using this approach, i gain: -

[appengine-java] Spring Roo + GWT Demo

2010-05-23 Thread yonny
Hi all, Has the code for the roo+gwt demo at Google IO by Ben Alex and Bruce Johnson been provided for download.. I'd like to have a look at how they implemented the relationships.Any help would be gratly appreciated.Thanks -- You received this message because you are subscribed to the Google

[appengine-java] BlobstoreInputStream

2010-05-23 Thread jacek.ambroziak
BlobstoreInputStream is documented in the API but I can't find it in the jars... -- 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

Re: [appengine-java] Modeling for GAE

2010-05-23 Thread John Patterson
Java is a strongly typed language for good reason - it makes it harder to make mistakes. You should only use extension if your data model is a HashMap - probably never. For example, a Product data model is not a HashMap. You are describing building a type-safe wrapper to the datastore.

[appengine-java] How to get objects from PM with key

2010-05-23 Thread KeremPekcabuk
Hi, I'm new to App Engine.I use it with GWT I have a Persistent Class named Maclar.i saved several records in that persistent class. When i get the key values of this Maclar class with Maclar.getkey() then show them on the screen i see records like that == Maclar(1) Maclar(2) . . . Now i

[appengine-java] _ah_Sessions table is not created...

2010-05-23 Thread nearmars
I am getting started with using the GAE server side session management. From what I read in the documentation I should see a table (_ah_Sessions) created in the datastore when I call session.setAttribute(). However the table is not created. Simple session functionality works as I demonstrate with

[appengine-java] Re: _ah_Sessions table is not created...

2010-05-23 Thread nearmars
Posted prematurely, sorry. The out put from sessiontest.jsp (above) shows that the session handling works, but this is definitely only using the client side session management. When I disable cookies for localhost the session management test fails. Am I missing some steps to setting up the

[appengine-java] Re: JDO QUery to filter on List property

2010-05-23 Thread Ravi
No one know??.google guys any response? On May 23, 3:16 am, Ravi Sharma ping2r...@gmail.com wrote: Hi All JDO Experts, I am trying to write JDO query to query on List property but didnt find in documentaion on google app site. Class InterestedParty { Key id; ListKey parties; } So

[appengine-java] Problem getting list of JDO objects with List of of keys

2010-05-23 Thread Ravi
Hi, I have a list of Key and i want to get Entity for all these key using JDO. Is it possible in JDO? Having a hard time to search through internet and not finding it. Tried using pm.getObjectsById(Collection), but it says Object not found with keys present in the list. I wrote following code for

[appengine-java] How to re-order items in a collection? Items becoming 'deleted'.

2010-05-23 Thread Jaroslav Záruba
Hello I want to change order of objects in a collection, and then to change some fields of those items. Unfortunately the items somehow become 'deleted'. This is what I do... -- if(someCondition) { // events in the original order (mainEvent is not instance of the Event sub/class BTW)

[appengine-java] Re: How to re-order items in a collection? Items becoming 'deleted'.

2010-05-23 Thread Jaroslav Záruba
I should have mentioned that the collection-property is not in default fetch group, if it makes any difference...? -- 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

[appengine-java] Help running without a ContextPath

2010-05-23 Thread Mike!
Hey all, I'm using Spring 3 with full annotations for my controllers and can not figure out how to get rid of my context root other than using urlrewrite. The problem with urlrewrite is that I still need to maintain an xml document so I can find my controller and methods with their request path.

Re: [appengine-java] delete the entries in the datastore

2010-05-23 Thread Gaurav Munjal
Ya, you can delete all the entries through your app engine account. After logging in check the entries in the datastore, Select all and delete. On Sat, May 22, 2010 at 10:18, Chau Huynh cmhu...@gmail.com wrote: Have you tried searching the groups, this topic was discussed in detail with

[appengine-java] access denied (java.lang.RuntimePermission setFactory)

2010-05-23 Thread Thomas Riley
I was working on my App Engine project last night and it seems I must have broken something (code of a night must be a bad idea!) I have no idea what I have done, can anyone seen this error before? HTTP ERROR 500 Problem accessing /rest/v1/sendcopy. Reason: access denied

[appengine-java] Re: JDO QUery to filter on List property

2010-05-23 Thread datanucleus
So basically now i want to query all IntrestedParties where parties list contain User(1) or User(5) etc. How would you write that as a line of Java ? parties.contains(:user1) || parties.contains(:user2) -- You received this message because you are subscribed to the Google Groups Google App

[appengine-java] Re: Problem in Serializing ArrayListString - JDO- GWT - GAE/J

2010-05-23 Thread mklarm...@googlemail.com
i am having the same issue here. -- 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] Current tasks count at Task Queue

2010-05-23 Thread Igor Artamonov
Are there any ways to get count of current unfinished tasks at appengine development server? I need it for making my integration test. I found a way to get this when running it local (just in mem), as described at appengine docs[1]. But when i'm running it as a standalone server, from maven,

[appengine-java] Mysql database in App Engine datastore

2010-05-23 Thread Jitendra Gupta
How to store my Mysql database in App Engine datastore ? -- 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] How to organize your server code

2010-05-23 Thread wilberforce
If I want to organize my server code into multiple classes how do I call a method form one RemoteServiceServlet from the method of another? -- 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

[appengine-java] Re: Would Blob properties slow down my queries?

2010-05-23 Thread Jaroslav Záruba
I intended to put bytes of article.jsp output as a property on Article class, so my concern was whether it could slow the query down should I fetch tens or hundreds of Article.class entities. I have already changed my mind here though. But I guess I will run into similar situation one day again,

[appengine-java] Re: Persisting object with generic supertype

2010-05-23 Thread Jaroslav Záruba
Thank you for the reply. I'm seeing InheritanceStrategy.SUBCLASS_TABLE for the very first time, therefore most likely I didn't set up the storage strategy properly. I will get back to this approach soon, so I will definitely let you know whether it helped or not. Thanks again, regards J.

Re: [appengine-java] access denied (java.lang.RuntimePermission setFactory)

2010-05-23 Thread Toby Reyelts
This code: com.trapp.gae.dash.androidSendCopyV1.doPost appears to be calling setFollowRedirects which is a JVM-wide property you don't have permission to set on App Engine. Instead use setInstanceFollowRedirects, which you can set per http connection. On Sun, May 23, 2010 at 8:47 AM, Thomas

[appengine-java] Re: 1MB limit and multi-put in datastore bug?

2010-05-23 Thread Tristan
Ok, Unfortunately I confirmed the same error you're getting: @Inject @Unit MindashDatastoreService md; @Test public void putEntitySizeOf9MBShouldWork() { Key key = KeyFactory.createKey(kind, 1); Entity entity = new Entity(key); /* generate ~9MB buffer */ byte[] buffer

[appengine-java] Re: 1MB limit and multi-put in datastore bug?

2010-05-23 Thread Tristan
Oh, as to my claim of being able to put 2GB into the datastore... yeah, when I looked at the test it was a unit test and not an integration test, so the datastore was mocked and it just checked the correct put call sequence. Sorry for getting excited over nothing :) On May 24, 12:05 am, Tristan

[google-appengine] Re: Python optimization: One Larger or Many Small Modules

2010-05-23 Thread Stephen
On May 19, 9:23 pm, stevep prosse...@gmail.com wrote: Hopefully there is only a fractional time cost for GAE to load the larger code base module if it loads the .pyc version. If so, I would prefer to stay with the two large modules. Add the following to your app.yaml file:

[google-appengine] Re: SDK 1.3.4 released!

2010-05-23 Thread gops
yes same here, this sdk release is newer than the advertised release... On May 22, 2:54 pm, djidjadji djidja...@gmail.com wrote: I just started the dev_server and it came with this message. INFO     2010-05-22 09:46:54,467 appcfg.py:357] Checking for updates to the SDK.

[google-appengine] Re: Python optimization: One Larger or Many Small Modules

2010-05-23 Thread Tim Hoffman
Any pointers to some docs on this directive ? T On May 23, 6:46 pm, Stephen sdea...@gmail.com wrote: On May 19, 9:23 pm, stevep prosse...@gmail.com wrote: Hopefully there is only a fractional time cost for GAE to load the larger code base module if it loads the .pyc version. If so, I

[google-appengine] Re: Google Apps and BigTable

2010-05-23 Thread hawkett
Encryption might be the right solution for your application, but it does carry some significant limitations on your ability to use app engine and increases your app's complexity significantly. If you intend to encrypt your data, you will need to consider the following issues (and probably more

Re: [google-appengine] Re: Google Apps and BigTable

2010-05-23 Thread Keren Or Shalom
As I read your answer I may be found a solution and you might tell me what it is worth. We could for example encrypt the account number of a customer and not the transaction or the value of the transaction. This way I could send a query on the encrypted value of the customer account which

Re: [google-appengine] Re: Google Apps and BigTable

2010-05-23 Thread Robert Kluin
Keren, I think it is important to consider the data you are dealing with and what it means to make it secure. We do something like what you mention. If you can secure the account number or name or whatever perhaps it is sufficient. One of our apps is effectively a front-end to an

[google-appengine] Re: Check for datastore results fails

2010-05-23 Thread Evert
Thanks for the help! This is getting really weird, because: If I modify the code like this (http://appengine.pastebin.com/ gTjzcfNK), i.e. placing a print statement before the actual statement I would like to see (no results/results) it works! However, the first print 'just a string' doesn't

Re: [google-appengine] Re: Google Apps and BigTable

2010-05-23 Thread Keren Or Shalom
Seems that we are closing on the way to implement the idea. Although your model seems to fit my needs my system is more like a database of transaction on a bank account. One of the requirement being to make secure transactions through means of payment and electronic means of communications

Re: [google-appengine] Re: Python optimization: One Larger or Many Small Modules

2010-05-23 Thread djidjadji
I don't think the SDK will ever upload pyc files. It could be handcrafted to do some non-pythonic things. I looked at the code for appcfg.py and it does processes this directive. I does the precompilation by sending a '/api/appversion/precompile' command to the server. I have enabled it for a

Re: [google-appengine] Re: Check for datastore results fails

2010-05-23 Thread Robert Kluin
Evert, I suggest you use logging to be sure your code is running as expected. Also, I would do as Tim suggests and use self.response.out.write rather than print. Robert On Sun, May 23, 2010 at 12:08 PM, Evert mirabilisproj...@gmail.com wrote: Thanks for the help! This is getting

Re: [google-appengine] Re: Google Apps and BigTable

2010-05-23 Thread Robert Kluin
Our system is something like a checkbook. Checks are effectively written from it, then passed off to be paid. We do not actually make electronic payments from it. We are typically only concerned with hiding 'personally identifiable' information; if we do that, we are OK. Robert On Sun,

Re: [google-appengine] Re: Task queue can't keep up with load. Suggestions?

2010-05-23 Thread Wesley C (Google)
thanks for all your feedback on the the current task queue execution (or lack thereof). we have reported this to the engineering team, but to help other users, can one of you file a new issue at http://code.google.com/p/googleappengine/issues/entry and everyone affected star it for us? please post

Re: [google-appengine] Re: not able to update

2010-05-23 Thread Wesley C (Google)
greetings! i'm sorry to hear that you had problems uploading your applications... can you tell us if you're still seeing the same problem? thanks! -- wesley - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Core Python Programming, Prentice Hall, (c)2007,2001 Python Fundamentals,

Re: [google-appengine] Has any one noted that postings to this group don't seem to be turning up reliably?

2010-05-23 Thread Wesley C (Google)
the groups team makes periodic enhancements to their code, so this may be a result of that. when something i expect to be in the discussions list doesn't show up after a short period of time, i just search for the subject and am able to get a link to the thread. -- wesley - - - - - - - - - - - -

Re: [google-appengine] Re: Sending SMS/text message via app

2010-05-23 Thread Wesley C (Google)
mobile transaction networks or mobile commerce service providers such as mBlox, OpenMArket, and Ericsson/IPX are really just aggregators that serve as gateways between you and your customers. they maintain relationships with the telcos so you don't have to as that is another ball of wax that you

[google-appengine] Re: Has any one noted that postings to this group don't seem to be turning up reliably?

2010-05-23 Thread Tim Hoffman
Hi Wesley What I found for a period that about half of the posts I made for a couple of days didn't appear in the thread. It seems to have settled down now. T On May 24, 3:39 am, Wesley C (Google) wesc+...@google.com wrote: the groups team makes periodic enhancements to their code, so this

[google-appengine] urls.py best practice

2010-05-23 Thread Will
Hi all, We have a site with not much load. Now and then, we experience url unresolved problems, the errors are: raise Resolver404, {'tried': tried, 'path': new_path} Resolver404: {'path': u'', 'tried': [.. or sometimes: AttributeError: 'RegexURLResolver' object has no attribute 'name' The

[google-appengine] Issues with JSPs in GAE

2010-05-23 Thread Alexander
This may be a bit of an overshare, but I'm trying to figure out what I'm doing wrong here. I'm learning about HTML, JSPs, and working with the GAE. For starters, I have the following HTML page where the user enter's the employees first name. This posts to the JSP below html body

[google-appengine] 403 error - automated queries

2010-05-23 Thread mike
Hi, I have 3 gadgets that retrieve data from Google base. the gadgets are hosted on App Enginer. About a week ago, the gadgets started getting 403 errors and the gadgets are basically broken. I have not had a problem over the last year and longer. The error reads: We're sorry..but your computer

[google-appengine] Appengine JDO Query for searching in String

2010-05-23 Thread Sam
Hi All, I am looking for the following capability via the JDO interface to Java appengine datastore: I have a datastore Entity which has a String property description. I would like for users of my application to be able to search for all entities through description. For example: Entity 1:

[google-appengine] Not Quite Grokking Datastore

2010-05-23 Thread MahatmaManic
I feel kind of silly about this, but I'm having trouble wrapping my head around quite the right way to do something with the GAE datastore. I think I know how I would do it with a classic relational database, but... I've got a model for a user which has a key_name of the user's id #. One of the

[google-appengine] Re: Google Apps and BigTable

2010-05-23 Thread SivaTumma
I think the cloud is meant for open social, blogs, etc or more straight forward, it is for the ones who wish to show off. People coined an opinion saying No one who has to ensure security, would probably never use appengine or any cloud.. may be simpleDB of amazon. People who are considered of

Re: [google-appengine] Re: Google Apps and BigTable

2010-05-23 Thread Jawaad Mahmood
Dude, you clearly don't appreciate the cloud for what it is. It has nothing to do with showing off, and everything to do with keeping a company working on things it is good at. It's about efficiency, and automating a huge cost center in a company. I know a cosmetics company here in Tokyo. They

Re: [google-appengine] Hosting third party software

2010-05-23 Thread Robert Kluin
Steve, I doubt you are going to run a FileMaker package on App Engine, unless FileMaker has changed to pure Python or Java. Depending on what you are doing you may be able to re-implement (or hire someone to re-implement) your package on App Engine for you though. Robert On Sat, May 22,

Re: [google-appengine] Not Quite Grokking Datastore

2010-05-23 Thread Robert Kluin
There are three very good sources of information about how to model stuff in the data store. This group is one place, I would also suggest reading this: http://code.google.com/appengine/articles/modeling.html And watching this: