[appengine-java] Re: how to save binary data in JDO

2010-03-02 Thread Jake
You're not limited to 1MB - you're just limited to using 1MB entities. The GAEVFS link I sent you implies that it's files can span multiple entities. As Mrityunjay stated, though, large storage requires payment. See the quotas for details: http://code.google.com/appengine/docs/quotas.html Jake

[appengine-java] local testing GAE storage

2010-03-02 Thread Valentino Hankypants
hello, if i save some data with JDO in the storage. Where is this data stored if i run my app locally? is there any possibility to reset this storage for testing? greatz flo -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post

[appengine-java] error deleting file in Blob Viewer

2010-03-02 Thread Houston startup coder
I tried to delete a file in Blob Viewer and every time, no matter if I'm attempting to delete one or several, I get this error: Server Error A server error has occurred. Return to Applications screen » -- You received this message because you are subscribed to the Google Groups Google App

[appengine-java] form to request being allowed to deploy the application multiple times

2010-03-02 Thread Houston startup coder
I've been Googling all over this forum and the documentation, but I can't find the form I need to submit to the GAE team. I am deploying multiple versions of my app (which are actually different apps) around the same datastore, and it has billing enabled. But I also need to deploy this stuff

Re: [appengine-java] local testing GAE storage

2010-03-02 Thread Karel Alvarez
project folder\war\WEB-INF\appengine-generated\local_db.bin contains your database, you can remove it if the dev server is stopped On Tue, Mar 2, 2010 at 9:52 AM, Valentino Hankypants f.hirs...@gmx.atwrote: hello, if i save some data with JDO in the storage. Where is this data stored if i

[appengine-java] Re: how to save binary data in JDO

2010-03-02 Thread Valentino Hankypants
hi jake, thanks for your replies. in my case i have jsp-page with a form. the user should have the possibility to select a file. i used the input type=file name=test directive from html. after the user selected a file, he clicks a button. by clicking this button the binary data of the selected

[appengine-java] Re: local testing GAE storage

2010-03-02 Thread Valentino Hankypants
thx karel, worked fine greatz flo On 2 Mrz., 16:20, Karel Alvarez kalvar...@gmail.com wrote: project folder\war\WEB-INF\appengine-generated\local_db.bin  contains your database, you can remove it if the dev server is stopped On Tue, Mar 2, 2010 at 9:52 AM, Valentino Hankypants

Re: [appengine-java] Re: datanucleus enhancer keeps running

2010-03-02 Thread Rajeev Dayal
See http://code.google.com/p/googleappengine/issues/detail?id=2115. This may be the issue that you're having. It was recently fixed, and a version of GPE with the fix is forthcoming. On Thu, Feb 25, 2010 at 1:57 PM, Steve Pritchard steve...@gmail.com wrote: On Feb 25, 6:39 am, haole

[appengine-java] Re: Expires header automatically added (bug?)

2010-03-02 Thread George Moschovitis
Yes, I am setting a cookie. The session leakage problem is interesting. I have a question though, does the Expires header have precedence over the LastModified/ETag headers? I would like to use the LastModified/ETag headers to implement conditional GET, are you sure that ETag has precedence over

[appengine-java] Re: Blobstore - delete record from apps console

2010-03-02 Thread Houston startup coder
I created a new post for this without realizing this thread existed. I also starred the issue. On Jan 13, 5:05 pm, Jason (Google) apija...@google.com wrote: Hi YONG. I'm seeing this too on my end. I see a more descriptive error message, however -- the Admin Console is basically reporting that

[appengine-java] Re: error deleting file in Blob Viewer

2010-03-02 Thread Houston startup coder
I found another thread relevant to this and it mentioned this issue: http://code.google.com/p/googleappengine/issues/detail?id=2622 So I starred that issue and left my info in a comment there. Is there no way to delete a blob from code? The documentation says this: If your app doesn't want to

[appengine-java] Multiple contains() in a query and exploding indexes

2010-03-02 Thread Karel Alvarez
Hi Some time ago, I asked how to use multiple contains in a query, and I got some responses, that was great and I thank everybody for they help. I am posting my findings and advance in hope it might be useful for somebody trying to do the same. I am trying to build a database with real state

[appengine-java] Re: JPA 2.0 Support

2010-03-02 Thread datanucleus
The obvious question is ... what particular part of JPA2 are you requiring access to ? JPA2 adds on various ORM related mapping extensions, as well as JPQL Criteria, validation, and little else really. The ORM features are of no relevance for GAE/J clearly. DataNucleus 2.0 already implements

Re: [appengine-java] Multiple contains() in a query and exploding indexes

2010-03-02 Thread John Patterson
Hi Karel, Keep in mind that each time you modify a list and put it in memcache the whole list is serialized which is why you see it is expensive. There is an efficient approach to merging queries that does not need memcahe that Bret Slatkin called the zig zag method:

Re: [appengine-java] Multiple contains() in a query and exploding indexes

2010-03-02 Thread John Patterson
The zig zag method will help you with the AND part of your problem but the IN (OR) queries would need to be merged and ordered. If each query is ordered by __key_ - java.util.PriorityQueue could efficiently merge the parts of your IN query without needing to load them all into memory.

[appengine-java] App upload failed

2010-03-02 Thread ast
Trying upload app: ./appcfg.sh update ../../../projects/appengine/myapp/www/ Reading application configuration data... Encountered a problem: null Please see the logs [/tmp/appcfgx2i014.log] for further information. an...@ast:/mnt/sda1/projects/appengine/myapp$ cat /tmp/ appcfgx2i014.log

[appengine-java] Google App Engine - ZK Modal Window Freezes

2010-03-02 Thread Norberto108
Hello, I am creating a search window with this code, everything works fine in eclipse, but when i put it online Window pesquisa = (Window) Executions.createComponents(/principal/ comum/pesquisa.zul,winMain, map);

[appengine-java] Difficulty querying webserver through POSTing XML text

2010-03-02 Thread Joa
I am having difficulty POSTing and reading from a web server from GAE. I can authenticate but the webserver does not accept the XML file I am POSTing (which includes a query). I am not running the webserver in question, so I have no insight into what might be wrong at that end (or set it up

[appengine-java] Datastore Error: No Source Attachment

2010-03-02 Thread ahawesome
Hello, I've been working on an app which uses the datastore, and this is the first time I've tested it out. When I attempted to add data, it didn't seem to work. So, once I use Eclipse to debug the app, it gives me an error saying that the source could not be found for a particular file (no

Re: [appengine-java] Datastore Error: No Source Attachment

2010-03-02 Thread John Patterson
Hi Alex, this is not an error so to speak - its just Eclipse telling you that it cannot show you the source code for internal app engine libraries because they are not available. On 2 Mar 2010, at 12:47, ahawesome wrote: Hello, I've been working on an app which uses the datastore, and

[appengine-java] Re: Request was aborted after waiting too long to attempt to service your request.

2010-03-02 Thread Kroc
Hello, I'm developping an App (fullmetalgalaxy.com) with GWT/AppEngine and I've got the same error in production server: “Request was aborted after waiting too long to attempt to service your request. Most likely, this indicates that you have reached your simultaneous dynamic request limit. This

[appengine-java] Re: error deleting file in Blob Viewer

2010-03-02 Thread Houston startup coder
If we cannot delete blobs, will we have to pay for them? On Mar 2, 10:15 am, Houston startup coder stephenh...@gmail.com wrote: I found another thread relevant to this and it mentioned this issue:http://code.google.com/p/googleappengine/issues/detail?id=2622 So I starred that issue and

Re: [appengine-java] Re: Request was aborted after waiting too long to attempt to service your request.

2010-03-02 Thread John Patterson
On 3 Mar 2010, at 00:22, Kroc wrote: Hello, I'm developping an App (fullmetalgalaxy.com) with GWT/AppEngine and I've got the same error in production server: “Request was aborted after waiting too long to attempt to service your request. Most likely, this indicates that you have reached your

[appengine-java] Re: form to request being allowed to deploy the application multiple times

2010-03-02 Thread Houston startup coder
I finally found it in an old thread about multi tenant architecture not generally being allowed on GAE: http://groups.google.com/group/google-appengine-java/browse_thread/thread/6ae2e6737cbb4b40/f47f015099538467?lnk=gstq=multiple+site#f47f015099538467 This is the exception request form:

Re: [appengine-java] Why is java.security.AccessController on the whitelist?

2010-03-02 Thread Toby Reyelts
The purpose of AccessController is to perform an operation requiring escalated permissions on behalf of code that doesn't have that permission. For example, maybe you need to implement an authenticate(String user, String password) function that needs to read from a password file that calling code

Re: [appengine-java] App upload failed

2010-03-02 Thread Toby Reyelts
It looks like you're using gcj. Can you use a different JVM, such as OpenJDK or Sun's JDK? On Tue, Mar 2, 2010 at 3:44 AM, ast anton.star...@gmail.com wrote: Trying upload app: ./appcfg.sh update ../../../projects/appengine/myapp/www/ Reading application configuration data... Encountered a

Re: [appengine-java] Re: Eclipse hangs at startup, Ubuntu

2010-03-02 Thread Jeff Schnitzer
The projects that cause the problem started life as Subclipse projects but I were converted to Subversive with the detach, share process. My eclipse install is a new one with Subversive installed but not Subclipse. However, the conversion to Subversive happened quite a while before the OS

[appengine-java] Re: lost sub entity

2010-03-02 Thread Gunnar
I've uploaded my app to google with the same result, so it's not a problem with Eclipse or sdk version. Gunnar On 1 mar, 20:59, John Patterson jdpatter...@gmail.com wrote: http://lmgtfy.com/?q=appengine+jdo+%22default+fetch+group%22 On 2 Mar 2010, at 02:50, Gunnar wrote: I don't jnow what

[appengine-java] number of tasks in queue

2010-03-02 Thread Nichole
Hello, In the near future will there be an API method to get the current number of tasks in a queue? Thanks for your time, Nichole -- 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] (Java) App Engine (Servlet) - Google Buzz

2010-03-02 Thread Ikai L (Google)
The Buzz API is documented here: http://code.google.com/apis/buzz/ http://code.google.com/apis/buzz/Just so you know - no write access yet. On Tue, Mar 2, 2010 at 12:52 PM, Perry Dykes pdy...@gmail.com wrote: I would like to augment my app engine java servlet application to write status

[appengine-java] App Engine Code sending emails from Our Domain not from google.com or How to avoid Spoofing

2010-03-02 Thread Kris
Using the Google App Engine settings panel we have registered a new domain (e.g. OurDomain.com).The web of our application is now reachable directly from that domain however emails sent from our App Engine code are coming from Google.com instead of OurDomain.com. This then results in email

[appengine-java] Re: Google Accounts are killing my application!....

2010-03-02 Thread Toby
Hello Ikai, I guess many of us have the same problem. It would be good to have some general advice on that. Unfortunatly GAE only offers build in authentication for the admin users or for users within a apps domain. So what I did is a simple table with the users gmail addresses that are allowed

Re: [appengine-java] Re: Google Accounts are killing my application!....

2010-03-02 Thread Ikai L (Google)
It'll have to work similar to how OAuth works with a window redirect. The issue with domains is that Users will be giving their credentials to a potentially untrustworthy site, and this isn't something we want our users to do. We can certainly do more with authentication. For instance, if you are

[appengine-java] Re: Flash arcade game GAE based

2010-03-02 Thread kazunori_279
Tim, But isn't it so expensive to use the AMF/HTTP comet technique on the appengine? CPU usage can be extremely high. Or you have to use AMF/ HTTP polling which is not so responsive for gaming. Thanks, Kaz On Mar 2, 7:43 pm, tsp...@green20now.com tsp...@green20now.com wrote: Take a look at

[appengine-java] Re: Flash arcade game GAE based

2010-03-02 Thread kazunori_279
FYI, I always use another messaging server along with appengine, on EC2 or something, which runs a socket relay server or Tornado (Python based long polling server). And I think WebSockets is the way to go for us in future ultimately :) Thanks, Kaz On Mar 3, 7:51 am, kazunori_279

[appengine-java] GCacheException: Policy prevented put operation

2010-03-02 Thread Andrei
I got few of those today Isn't it only for maintenance mode? com.google.appengine.api.memcache.stdimpl.GCacheException: Policy prevented put operation -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send

[appengine-java] Re: Request was aborted after waiting too long to attempt to service your request.

2010-03-02 Thread Kroc
I have found I usually get this error when my app is loading and takes   more than 10 seconds while another request come in.  Does your app   take longer than 10 seconds to load? Hum yes it may be this... But I don't know how to measure the loading time and how to reduce it. If a remove some

[appengine-java] Re: App Engine cold starts and overly aggressive cycling

2010-03-02 Thread David Peters
Hi.. I apologize for reviving this post, but this problem is really hitting me hard. I have an interactive fiction site (www.friedfiction.com) that has been experiencing some terrible response times over the past month. After investigating, it appears that my app is cold starting almost every

[appengine-java] Sporadic problems with very high response times

2010-03-02 Thread Michael
Looking at my App Engine logs, I see troubling results when viewing the response times for requests. In my current log set, the first 80 requests all complete in under 100 ms with less than 100 ms of cpu or api time. Then, oddly, the 83rd request, from the exact same client with the exact same

[appengine-java] Re: How to use junit test in the newest SDK1.3.1

2010-03-02 Thread Ed Murphy
Thanks for starting this thread. I have my Junit tests working, including my datastore tests, but I have a question regarding project setup. I suppose this is more of an Eclipse question than anything else, but perhaps you can help. I've worked in NetBeans prior, and I can setup a 'test' folder

[appengine-java] 「sdc_internet_routing : NO_MATCHI NG_RESOURCE」 when trying to fetch URL via SDC

2010-03-02 Thread smile laugh
hello everyone I cannot fetch intranet resource via sdc. The following are my setting, Could someone kindly help me out: my localConfig.xml: entity sdcServerHostapps-secure-data-connector.google.com/sdcServerHost sdcServerPort443/sdcServerPort domainmydomain.com/domain

Re: [appengine-java] Re: Flash arcade game GAE based

2010-03-02 Thread tspear
Kaz, Not sure about the CPU (we are still at the proof of concept stage for using GAE). We are using the polling aspect since our business requires updates with 5-15 minutes. Its not very time intensive like a game would be. Good luck, Tim Tim, But isn't it so expensive to use the

[appengine-java] Re: How to get testing working with anything other than the default queue

2010-03-02 Thread David Chandler
I'm using the workaround above and it's reading my queue.xml correctly; however, when I call runTask() I am getting a connection refused exception. Does the AppEngine test environment provide a servlet container or mock thereof for running the task servlet? The task servlet is configured in my

Re: [appengine-java] Re: Flash arcade game GAE based

2010-03-02 Thread nicolas melendez
I want to do the same. Is there any good XMPP Java framework to include in my Applet? recomendations? Thanks NM On Tue, Mar 2, 2010 at 11:31 PM, tsp...@green20now.com wrote: Kaz, Not sure about the CPU (we are still at the proof of concept stage for using GAE). We are using the polling

[appengine-java] Re: Difficulty querying webserver through POSTing XML text

2010-03-02 Thread Joa
Any takers? I've carried the code over to a regular Java Application and it runs through without a hitch. Hmm, looks I am stuck with a GAE bug? On Mar 2, 6:54 am, Joa joachim.pfeif...@gmail.com wrote: I am having difficulty POSTing and reading from a web server from GAE. I can authenticate

[appengine-java] Re: Difficulty querying webserver through POSTing XML text

2010-03-02 Thread Joa
OK, please disregard. Issue resolved. org.apache.commons.codec.binary.Base64().encode() adds control characters \r\n to the end of the authorization string. Although this should keep the response code add 401, it doesn't, so I was looking at the wrong spot last night. Hope this helps somebody

[appengine-java] Re: App upload failed

2010-03-02 Thread ast
I removed gcj from the system, and now everything works, thanks! But, I can't understand why appengine chose GCJ rather than Sun's JDK. On 2 мар, 22:13, Toby Reyelts to...@google.com wrote: It looks like you're usinggcj gcj. Can you use a different JVM, such as OpenJDK or Sun's JDK? On

[appengine-java] How do you transfer a ListJdoObject from server to client?

2010-03-02 Thread Stephen Wills
Hello, I have been wanting to know how to do this for a while now, but don't know where to find information on how to do this. I simply want to know how to setup my project so I can have a JDO object in the server package (so I can use classes like com.google.appengine.api.datastore.Key and

[appengine-java] Re: multiple inserts/update/delete problem

2010-03-02 Thread legendlink
thanks! On Mar 2, 12:28 pm, Chau Huynh cmhu...@gmail.com wrote: You can try searching the error in the group, it was QA many times, and explained in detail cant operate on multiple entity groups in a single transaction site:groups.google.comhttp://tinyurl.com/yeto4to On Tue, Mar 2, 2010

[appengine-java] elegant way of implementing sequence generator

2010-03-02 Thread legendlink
hi, i wanted to have a sequence generator that increments by x value everytime it generates a value. if i would create the sequence generator by using the datastore, it is likely that data contention would occurr if there is high access times. i have looked into the sample code of max ross in the