[appengine-java] Download Blob Object from DataStore

2011-07-29 Thread Allahbaksh Asadullah
HI, I want to download the data from Datastore. Can I get link to my Blob object? If yes how do we do it in Java. Warm Regards, Allahbaksh -- 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-

Re: [appengine-java] Re: Mining logs for performance data

2011-07-29 Thread Kesava Neeli
Thanks for the pointer. I wasn't aware of the the 'download logs' tool. I will give that a try. Thanks Neeli On Thu, Jul 28, 2011 at 6:28 PM, Nichole wrote: > Or the script that's used to upload your application now offers the > ability to > download logs too: > > http://code.google.com/appengi

[appengine-java] Re: Blobstore-through-files not persistent?

2011-07-29 Thread An Hong
The strange thing is that after I restart it the development-server, I can still see the __BlobInfo__ object in the admin dev console. Its {Key, ID/Name, creation_handle} remain the same, yet opening it using FileService.openReadChannel() gets a NotFoundException! -- You received this message

Re: [appengine-java] Task queues locking

2011-07-29 Thread Ikai Lan (Google)
Eduardo, Just out of curiosity, what happens if you use the low-level API? http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/package-summary.html I'm trying to figure out if this is an issue with JDO or the datastore on a "stuck" entity. Do you have the entity

Re: [appengine-java] Running UI tests against AppServer in a CI environment

2011-07-29 Thread Ikai Lan (Google)
That sounds like an even better solution. Thanks for posting it! -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Fri, Jul 29, 2011 at 12:09 PM, Kyle Baley wrote: > Yes, it's been suggested that we switch to a Linux server already. I'm > still

[appengine-java] Re: Channel API questions

2011-07-29 Thread Moishe
On Jul 27, 12:51 pm, Ice13ill wrote: > Even though it is the same channel, when i call the create method > (let's say i hit refresh on my browser, and the channel is created at > page load) my Channel Api quota for created channels rises... > That's correct, because you're charged for creating th

Re: [appengine-java] Re: Channel Presence - HowTo ?

2011-07-29 Thread Sébastien Tromp
Thanks a lot for the help Goran, this is precisely what I was looking for :) -- Sébastien Tromp 2011/7/29 gk > Sébastien, > > you can register a servlet to handle the URL paths; this is done it > the "WEB-INF/web.xml" file: > > >handle_connect >/_ah/channel/connected >

Re: [appengine-java] Problem with AppEngine & GWT

2011-07-29 Thread Sébastien Tromp
You need to specify @Persistent(defaultFetchGroup = "true") if you want the user to be loaded along with the Customer. Cheers, -- Sébastien Tromp 2011/7/28 José Francisco > Hi , I have the following source code: > @PersistenceCapable(identityType = IdentityType.APPLICATION) > public class Cust

Re: [appengine-java] Running UI tests against AppServer in a CI environment

2011-07-29 Thread Kyle Baley
Yes, it's been suggested that we switch to a Linux server already. I'm still a recovering .NET developer so baby steps... Once we've made our first million, it'll be higher on the priority list. In any case, I have it working now using GWT DevMode. Here's what I did: - Added gwt-dev to my war/W

Re: [appengine-java] Running UI tests against AppServer in a CI environment

2011-07-29 Thread Ikai Lan (Google)
A Windows CI server? I don't know what I'd do without my arsenal of bash scripts, grep, pipe, cut, sed, wc, sort, ps, kill, netstat, etc ... I know there are Windows equivalents of some of these but they're not well known and (at least the last time I used them) far less powerful. I know what you'

Re: [appengine-java] Running UI tests against AppServer in a CI environment

2011-07-29 Thread Kyle Baley
Does anyone else run UI tests against an AppEngine app in a CI environment? We aren't particularly wedded to Cucumber and Capybara in Ruby, but because we are a small startup, the process of defining executable scenarios has been invaluable for productivity. Curious to see what other alternative

Re: [appengine-java] Running UI tests against AppServer in a CI environment

2011-07-29 Thread Kyle Baley
Yeah, that would be perfect actually. I don't care how the appserver is launched; just concerned about the UI test results. But say, hypothetically, that this was a Windows server and the administrator had no clue what &, nohup or screen are. How would you modify your instructions to launch it

Re: [appengine-java] Running UI tests against AppServer in a CI environment

2011-07-29 Thread Ikai Lan (Google)
I wouldn't know off the top of my head. I don't know how Cucumber works, but is there any way you can execute command line scripts to manage the process lifecycle instead of using Ant? That is, fire off the dev appserver in the background using &, nohup or screen and kill that process when finished

Re: [appengine-java] Running UI tests against AppServer in a CI environment

2011-07-29 Thread Kyle Baley
So that I can launch the next step in the process, which is to run our Cucumber tests. For our GWT project, the process is: Build configuration 1: Launch devmode and run UI tests - Step 1: In Ant, run gwt-compile, then run devmode. The devmode target runs fine with spawn=true so Ant finishes onc

Re: [appengine-java] Running UI tests against AppServer in a CI environment

2011-07-29 Thread Ikai Lan (Google)
Oy, I don't know if this is possible. Why does it need to outlive Ant? -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Mon, Jul 25, 2011 at 1:40 PM, Kyle Baley wrote: > Has anyone set this up? We're running UI tests against our app using > Cuc

Re: [appengine-java] How to handle SNMP traps on appengine?

2011-07-29 Thread Ikai Lan (Google)
Unless you can do SNMP stuff over HTTP, you won't be able to do this on App Engine because you can't open raw sockets or use services other than HTTP, email or XMPP to communicate with external services. -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai

Re: [appengine-java] Error: MemcacheServiceException: Memcache put: Error setting single item

2011-07-29 Thread Ikai Lan (Google)
Any chance you're using sessions here? -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Thu, Jul 28, 2011 at 8:06 AM, Yoshihito Yamanaka wrote: > Hi, > > I found MemcacheServiceException at 2011/07/28 10:57 AM(PDT). > What is this exception? > I

[appengine-java] Re: Blobstore and upload question

2011-07-29 Thread GeorgeS
I think I'm going to end up going to the Datastore after the file is uploaded. I need to store the whole file as a unit under the user id and the file name. I don't want to break it down because that will make it more difficult to read for my purposes. -- You received this message because you

[appengine-java] Local Datastore Viewer Not Showing All Properties

2011-07-29 Thread Michael Miller
The local datastore viewer only shows properties that are indexed. The same project deployed on GAE will show all properties when viewed through the datastore viewer. Is there a way for the local datastore viewer to show all properties? -- You received this message because you are subscribed

[appengine-java] Blobstore-through-files not persistent?

2011-07-29 Thread An Hong
I'm using Objectify to create persistent entities in my webapp. I use also the Blobstore to create blob sub-entities larger than 1MB. >From the Blobstore, for a blob, I get a BlobKey to store in a datastore entity. As suggested, I use http://code.google.com/appengine/docs/java/blobstore/overv

[appengine-java] Just had about 10 minutes of being unable to access my App Engine client sites

2011-07-29 Thread John V Denley
In my logs I was getting the following types of error: It kept coming up with a page which said "if this keeps happening please report it" and the link took me to this community, so can anyone give me any clues as to what was going wrong, and possibly more importantly how to stop it happening i