[appengine-java] Re: Datastore server error

2012-03-22 Thread Mike Lawrence
Switch to HR datastore On Mar 21, 9:28 am, Aswath Satrasala wrote: > I have been have the same Datastore Viewer error with my appid > 'vs-accounting'.  It is configure as M/S. > I am having this trouble for over 1.5 days.  This application is in > production.  I don't know what to do now  :( > >

[appengine-java] Re: Presentation: Developing WordPong.com on Google App Engine

2012-03-21 Thread Mike Lawrence
st. > > You've referenced many websites, but how about books you found helpful. > > Thanks again. > > > > On Tuesday, March 20, 2012 7:35:03 AM UTC-4, Mike Lawrence wrote: > > > Presenting this slide deck at DevNexus 2012 this week: > >http://goo.g

[appengine-java] Presentation: Developing WordPong.com on Google App Engine

2012-03-20 Thread Mike Lawrence
Presenting this slide deck at DevNexus 2012 this week: http://goo.gl/RspSm It details my experiences developing http://WordPong.com, a web-based social game, on GAE. Mike Lawrence -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java&q

[appengine-java] Re: publishing html files

2012-03-01 Thread Mike Lawrence
How about a public google doc? https://support.google.com/docs/bin/answer.py?hl=en&answer=184006 On Feb 26, 2:28 pm, Vik wrote: > Hie > > I am generated html documents using a google text doc as template (reading > it using gdata apis and then doing some text manipulation). > Now, I want to publ

[appengine-java] Re: Increased Average HTTP Response Times since Feb 12th 2012

2012-03-01 Thread Mike Lawrence
App Engine Console https://appengine.google.com/settings Application Settings Idle Instances move slider On Feb 29, 12:42 am, ravi kumar wrote: > Hi Mike how do you change the instance? > > > > > > > > On Saturday, 18 February 2012 19:20:34 UTC+5:30, Mike Lawrence wrot

[appengine-java] Re: Slow cold starts

2012-02-26 Thread Mike Lawrence
I noticed similar behavior. I think the auto setting for minimum number of instances changed from two to zero active instances. I changed from auto to one, and my app is much more responsive. setting minimum instances higher will co$t you more On Feb 25, 9:36 am, Anders wrote: > In the recent we

[appengine-java] Re: GAE High Replication datastore (HRD) with transaction

2012-02-20 Thread Mike Lawrence
since hrd is eventually consistent, you need to restructure your app to not immediately query the newly commited data after a transaction. welcome to nosql my app builds its own result page that assumes the committed data is there. by the time the user refreshes the page the data is there and que

[appengine-java] Re: Increased Average HTTP Response Times since Feb 12th 2012

2012-02-18 Thread Mike Lawrence
I changed instaces settings in console from auto to a minimum of two and the response times are again about a second On Feb 16, 2:07 pm, Matthias Friedrich wrote: > hi mike, > i can confirm that. The responsetime is getting higher and higher, > meanwhile some are above 90 seconds

[appengine-java] Increased Average HTTP Response Times since Feb 12th 2012

2012-02-16 Thread Mike Lawrence
Average HTTP Response times have gone from sub-second to about 10secs. http://montools.com/stats/11770 I've not changed any admin settings or code. Anyone else seeing this? Looks like the scheduler now causes more cold starts. Since me requests include memcache and database updates, not sure if

Re: [appengine-java] Abridged summary of google-appengine-java@googlegroups.com - 10 Messages in 5 Topics

2012-02-15 Thread Mike Lawrence
ded. Sincerely,  Mike Lawrence Blessed are the flexible, for they will never get bent out of shape -- 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-java@googlegroups.com.

[appengine-java] AppEngineFile typo

2012-02-12 Thread Mike Lawrence
On page: http://code.google.com/appengine/docs/java/googlestorage/overview.html writableFile = new AppEngine(path); should be writableFile = new AppEngineFile(path); -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to thi

[appengine-java] Re: Abridged summary of google-appengine-java@googlegroups.com - 8 Messages in 5 Topics

2012-01-14 Thread Mike Lawrence
and link to the documentation on that subject. > > > -- > > Ikai Lan > > Developer Programs Engineer, Google App Engine > > plus.ikailan.com | twitter.com/ikai > > > On Fri, Jan 13, 2012 at 11:12 AM, Mike Lawrence > > wrote: > > >> Ikai, > >>

Re: [appengine-java] Abridged summary of google-appengine-java@googlegroups.com - 8 Messages in 5 Topics

2012-01-13 Thread Mike Lawrence
the High Replication Datastore, which allow you to perform transactions across multiple entity groups. http://code.google.com/appengine/docs/java/datastore/transactions.html Sincerely,  Mike Lawrence On Thu, Jan 12, 2012 at 12:23 AM, wrote: >   Today's Topic Summary > &g

[appengine-java] reading html stream

2011-12-11 Thread mike
Hi, I am trying to make some application for google app engine. I am trying to get data from this url http://streamerapi.finance.yahoo.com/s treamer/1.0? s=EURUSD=X&k=l10,t10,g00,h00,v00,j10&callback=parent.yfs_u1f&mktmcb=parent.yfs_mktmc b&gencallback= parent.yfs_gencb&r=0 The problem is that co

[appengine-java] Memcache errors

2011-11-16 Thread Mike Lawrence
My Java GAE app has http sessions enabled. Periodically, I see calls to createSession fail with a memcache error. Anyone else seeing similar behavior? Is there any elegant way to recover from this? Here's an example: 2011-11-14 18:06:59.062 org.apache.jasper.runtime.JspFactoryImpl internalGetPa

[appengine-java] Re: Http 404 error in google app engine

2011-11-07 Thread Mike!
Try doGet, not post On Oct 29, 10:20 am, jyoerye wrote: > I have a project in java with a My SQL data base which I need to > transfer to Google App engine. > > I started with a simple example online: > I created guestbook.jsp and SignGuestbookServlet,But I get this error > Http 404: /sign not f

[appengine-java] Re: Prerelease SDK 1.5.5 available for download!

2011-10-03 Thread Mike!
to the high-replication datastore will be enough for my app! Thank you Google, Mike! On Oct 3, 3:40 pm, "Ikai Lan (Google)" wrote: > Hey everyone, > > Prerelease SDK 1.5.5 is now available for download! You can get it here: > > Python:http://code.google.com/p/googleappeng

[appengine-java] Re: .A research: how long will your java app instance start up fully?

2011-10-01 Thread Mike Lawrence
2-3 secs with stripes + slim3 On Sep 29, 9:29 pm, Tapir wrote: > ? -- 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-java@googlegroups.com. To unsubscribe from this group, send

[appengine-java] Re: Transactions on entities in different entity groups ?

2011-09-29 Thread Mike Lawrence
This is a really important enhancement..! Please give more details. The only thing bigger would be removing the "eventually consistent" nature of the high availability data store, and making it immediately consistent. On Sep 28, 4:52 pm, "Ikai Lan (Google)" wrote: > You currently can't, but we

[appengine-java] Re: The *real* cost of the billing changes

2011-09-06 Thread Mike Lawrence
Instead of ranting "google broke it", it might be more productive if you: - identify the type of app you are building - use cases - API calls - number users - typical transactions - consistency requirements - etc then offer some suggestions on how google could support your use ca

[appengine-java] Re: Session/Cookie problem with redirect

2011-08-28 Thread Mike Lawrence
have you tried viewing the http headers in each request using chrome, firebug, httpwatch, etc? sunshine is the best disinfectant I dont think redirects normally can set cookies maybe the prod server is striping your invalid host headers on a redirect On Aug 28, 7:32 am, Simon Knott wrote: > You'

[appengine-java] Re: Always On not working properly

2011-08-26 Thread Mike Lawrence
switching to the high availability data store fixed this for me. On Aug 25, 10:30 am, Anders wrote: > I switched on the Always On option and it works inasmuch as the dashboard > shows three resident instances but new instances are started sometimes with > only a few seconds between page accesses

[appengine-java] Re: "ApplicationError: 10: Unknown" when writing to blobstore using FileService

2011-08-24 Thread Mike Prince
Good call - I added BufferedInputStream and BufferedOutputStream and it solved the problem. i.e. ObjectOutputStream out = new ObjectOutputStream( new BufferedOutputStream( Channels.newOutputStream( writeChannel ), 65536 ) ); Thanks! - Mike On Aug 19, 10:48 am, "Ikai Lan (Google)&qu

[appengine-java] Re: Deploy button in Eclipse does not prompt for administrator account username

2011-08-23 Thread Mike Lawrence
I still cant sign in from eclipse Helios, but I was able to deploy using this cmd: set GAESDK=C:\eclipse\plugins \com.google.appengine.eclipse.sdkbundle_1.5.0.r36v201105092302\appengine- java-sdk-1.5.0 set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_25 "%JAVA_HOME%\bin\java" -cp "%GAESDK%\lib\appeng

[appengine-java] "ApplicationError: 10: Unknown" when writing to blobstore using FileService

2011-08-17 Thread Mike Prince
oing wrong? And yes, it works fine in the development environment ;) Thanks, Mike public class Filer { private static final FileService fileService = FileServiceFactory.getFileService(); private static final BlobstoreService blobstoreService = BlobstoreServiceFactory.getBlobsto

[appengine-java] Re: Getting a grip on startup

2011-08-06 Thread Mike Lawrence
the stripes web framework starts in under 3 seconds on GAE. it's clean, simple, and light. do you really need spring? is wiring beans really worth all the startup cost? On Aug 3, 9:57 pm, John wrote: > As our app has grown, the amount of initialization work to do in order to > make an instance

[appengine-java] Re: Joins!

2011-08-06 Thread Mike Lawrence
aking the speed of your top use cases use background tasks to propagate updates to denormalized data where needed. consider slim3 dao for global transactions to keep your model consistant mike On Aug 5, 8:06 pm, Jeff Schnitzer wrote: > On Fri, Aug 5, 2011 at 11:45 AM, William Levesque &g

[appengine-java] Re: JDODetachedFieldAccessException when accessing detached object from memcache

2011-07-26 Thread Mike Prince
nstance with Datastore. > > One question, Mike, are you using backends? We are not. I'll keep experimenting today and see what I dig up. Thanks, Mike -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to

[appengine-java] JDODetachedFieldAccessException when accessing detached object from memcache

2011-07-26 Thread Mike Prince
t using JDO and access it's fields everything is ok. But if we detach and save that object to memcache, retrieve the object from memcache, and try to access a String field we get the above error. Any ideas why this started happening? Thanks, Mike -- You received this message because you a

[appengine-java] Re: ANN: BatchFB 2.1, a Java Facebook library with automatic batching

2011-07-13 Thread Mike Lawrence
Nice Jeff. Do you ever sleep? ;) Now we can quickly move all the fb data to g+ and stop using fb. joy. On Jul 12, 1:55 am, Jeff Schnitzer wrote: > This is the first time I've announced this opensource project in this forum > because until now there wasn't anything GAE-specific about it.  You ca

[appengine-java] Re: Blog with schema advice for GAE/NoSQL users

2011-07-13 Thread Mike Lawrence
Nice blog post Jeff. I've found myself storing lists of keys in my domain objects to replace queries with fast parallel gets of related domain objects. Of course, there is a trade-off of the expense of keeping the key list fresh. This makes the GUI extreamly fast (no queries, just gets) and moves

[appengine-java] Cost of using async-session-persistence?

2011-07-01 Thread Mike Lawrence
Googlers? -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/TMf-DMwnkYQJ. To post to this group, send email to google-appengine-java@go

[appengine-java] Cost of using async-session-persistence?

2011-06-29 Thread Mike Lawrence
What is the financial cost associated with using this feature? IE how many additional API calls/datastore accesses/bytes transferred/ etc can one expect? http://code.google.com/p/googleappengine/issues/detail?id=1692 -- You received this message because you are subscribed to the Google Groups "

[appengine-java] Re: Channel API

2011-06-28 Thread Mike Kitzman
I have a question about this. On the client side, I can call the close() function on the created Socket object, however when I have the same client re-connect and request another token, it seems that I am unable retrieve another token (The call to createChannel never returns). Is this somethin

[appengine-java] Eclipse App Engine Deploy Does Nothing

2011-06-22 Thread Mike Davis
I recently installed the google app engine plug in for eclipse. I created a small sample project, and entered my application id into the xml file. When I click on the button for "Deploy App Engine Project" absolutely nothing happens. I don't get any popups or console out put or anything. Also

[appengine-java] Re: Is the native API really so much faster than JDO and slim3?

2011-06-08 Thread Mike Lawrence
I get... The number of entities: 1 low level 1717 millis slim3 1502 millis objectify 2970 millis jdo 3485 millis probably should modify this example to do an average of several runs one important thing to note, is slim3 allows you to update multiple entity types in a single transaction. not

[appengine-java] Unit Testing Emails

2011-06-06 Thread Mike!
Hey all, I've been trying to do some unit testing for emails. I've tried GreenMail in conjunction with JUnit Rule + ExternalResource (start/ stop GreenMail service)...I'm now stumped and can't find anything on the great oracle (google). Any ideas? Mike! -- You received

[appengine-java] Re: Java => Google app

2011-05-24 Thread Mike Lawrence
maven thoughts - anyone who's worked on a large project over time has seen the build scripts grow in complexity and maintenance costs - maven, like many solutions, introduces a domain-specific-language to simplify things, or in mavens case, a domain specific XML schema - I usually cringe when I

[appengine-java] Re: GAE - Java - JSON?

2011-05-21 Thread Mike Lawrence
+1 stripes my stripe app boots cold in 2 seconds round trip times from browser to datastore in back are about 100ms the rest of the stack... combined with slim3 datastore and much if the gae datastore issues melt away jquery mobile - works cross browser, google tv, cross smart

[appengine-java] Re: SpringMVC RESTful + JSP + GAE/J .. 404 not found on JSPs..

2011-05-17 Thread Mike!
tString()...you're effectively looking for / WEB-INF/view/jsp//error.jsp (which should still resolve, but is not necessary and clouds up the code a bit) Mike! On May 15, 9:09 pm, jlc488 wrote: > I've implemented a site using SpringMVC RESTful approaches. I did not > need any view

[appengine-java] Re: Vs: Re: Stripes + UrlBinding + Google App Engine

2011-05-15 Thread Mike Lawrence
there is no file system in gae so the multipart wrapper could be your problem. it probably would work locally by not in prod On May 15, 8:30 am, Mike Lawrence wrote: > sorry you're having problems. > dont think this is an app engine issue > since many folks use stripes on gae.

[appengine-java] Re: Vs: Re: Stripes + UrlBinding + Google App Engine

2011-05-15 Thread Mike Lawrence
sorry you're having problems. dont think this is an app engine issue since many folks use stripes on gae. here are the stripe parts from my web XML http://www.w3.org/2001/XMLSchema-instance"; xmlns="http://java.sun.com/xml/ns/javaee"; xmlns:web="http:// java.sun.com/xml/ns/javaee/web-app_

[appengine-java] unable to deploy to app engine anymore

2011-05-10 Thread mike fulton
rnal' and 'internal', but it's always launching the internal eclipse web browser. Any help would be much appreciated... Thanks, Mike -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this gro

[appengine-java] makePersistent silently failing after MetaDataValidator$DatastoreMetaDataException in development

2011-04-26 Thread Mike Prince
I have a first entity MediaAlbum with a @Transient field that holds a List of another entity Media. After querying for a list of MediaAlbum I get an exception: Error in meta-data for com.yumyumlabs.foundation.appengine.media.model.Media.id: Cannot have a java.lang.Long primary key and be a ch

[appengine-java] Re: Integrating Flex/Flash/Silverlight/AJAX/Android with Java classes in GAE

2011-04-07 Thread Mike Lawrence
Mark, if I write a simple servlet that accepts JSON it supports any client too, for free with no external dependencies. I watched your entire video. Sorry, not sure I understand your value proposition. On Apr 5, 3:45 pm, Mark Piller wrote: > Hey guys, > > I am not sure what the policy for announ

[appengine-java] Re: Tips/Pitfalls for total newbies?

2011-04-02 Thread Mike Lawrence
Ck out this crash course in getting a java app up from scratch... http://goo.gl/UT2W3 My personal recommendations: - plan on spending a week or two learning how the datastore works before you get started - if you will ever need the High Replication Datastore, set it up now. it's a pain to add it l

[appengine-java] Re: Does anyone use cloudcover for running junit tests on appengine?

2011-03-25 Thread Mike Lawrence
this one works really well locally and on gae http://code.google.com/p/ktrwjr/ On Mar 22, 5:58 pm, Brendan Doherty wrote: > At Google I/O last year, Max Ross gave an interesting talk on a unit test > harness that let you run existing test suites in production on Google App > Engine call cloudcov

[appengine-java] Re: New Mac Java Update, Now Dev Server Stops After ACK Running

2011-03-16 Thread Mike Dillon
Thanks I searched and searched before posting, just wasn't using the right keywords I guess. On Mar 16, 12:55 pm, Jay Young wrote: > https://groups.google.com/forum/#!topic/google-appengine-java/WiImnzV... -- You received this message because you are subscribed to the Google Groups "Google App

[appengine-java] Re: New Mac Java Update, Now Dev Server Stops After ACK Running

2011-03-16 Thread Mike Dillon
Thanks, I searched and searched before I posted this. Sorry about that. On Mar 16, 12:55 pm, Jay Young wrote: > https://groups.google.com/forum/#!topic/google-appengine-java/WiImnzV... -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" gro

[appengine-java] New Mac Java Update, Now Dev Server Stops After ACK Running

2011-03-16 Thread Mike Dillon
s and ant says BUILD SUCCESSFUL. I can run this exact project on another machine (another mac minus the java update though). Anyone seen this / got any ideas? I'd like to change the log reporting level because I feel like something isn't getting through. Thanks, - Mike -- You receive

[appengine-java] Re: Deleted APP, recover app ID

2011-03-15 Thread Mike Lawrence
http://code.google.com/appengine/kb/general.html How many applications can I create with Google App Engine? You can delete your existing applications via the Admin Console if you want to create more, but you will not be able to re-register an application ID. On Mar 14, 9:41 am, IvanRdz wrote: >

Re: [appengine-java] java.lang.SecurityException

2011-03-03 Thread Mike Zhou
Toby, by removing the manifest file, the issue is gone. Thanks a lot for the help. Mike -- 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-java@googlegroups.com. To u

Re: [appengine-java] java.lang.SecurityException

2011-03-03 Thread Mike Zhou
Toby, Thanks for the quick response. I will give it a try and let you know how it goes. Mike On Thu, Mar 3, 2011 at 11:15 AM, Toby Reyelts wrote: > The jar file containing the class, org.eclipse.emf.ecore.EObject has been > signed<http://download.oracle.com/javase/tutorial/deplo

[appengine-java] java.lang.SecurityException

2011-03-02 Thread Mike Zhou
application ran well in previous AppEngine version. It seems that the AppEngine security control has been changes. Anyone can explain the reason? Also, the difference between AppEngine Eclipse testing env and the real Java running env in the cloud would be appreciated. Thanks, Mike -- You

[appengine-java] Re: How to write JPA query that...

2010-12-30 Thread Mike Guo
now i managed to get the answer. thx anyway -- 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 google-appengin

[appengine-java] How to write JPA query that...

2010-12-30 Thread Mike Guo
@Entity class A { List bs; } @Entity class B { C c; } @Entity class C { int id; } A has a list of Bs. i want to create a JPA query to fullfill below: 1. get all As, 2. and the A has one or more B, 3. and the B must has a C 4. and the C's id == the appoint id. public static List

Re: [appengine-java] JPA query(JPQL) setFirstResult() and setMaxResult() does not work

2010-12-28 Thread Mike Guo
i'm sorry but what does "RCP" means? -- 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 google-appengine-java+

[appengine-java] JPA query(JPQL) setFirstResult() and setMaxResult() does not work

2010-12-27 Thread Mike Guo
hi All: i posted this problem on GWT forum but i think it's better to place here, as it has no related to GWT. see here: https://groups.google.com/forum/?lnk=gst&q=ClassNotResolvedException#!topic/google-web-toolkit/uEkludbtwpg thanks. -- You received this message because you are subscribed to

[appengine-java] Re: Best way to approach templating?

2010-12-20 Thread Mike!
hemes built into them too Mike! http://www.thepixlounge.com On Dec 19, 10:37 am, JaredC wrote: > I'm new to the Java App Engine and I've been searching for a way to have a > general template or theme for my site. I have a header, menu, and side bar > that will stay the same for

[appengine-java] Re: 1.4 eclipse plugin

2010-12-05 Thread Mike
Yeah, I had the same problem and fixed it by making sure that App Engine SDK 1.4 was First in the Java Build Path -> Order and Export. And that GWT SDK 2.1.0 was second. Mike On Dec 5, 7:28 am, Sudhir wrote: > Same issue here... does anyone have a fix that doesn't involve re- &

Re: [appengine-java] Re: 1.4 eclipse plugin

2010-12-05 Thread Mike Friesen
I had the same problem and fixed it by: 1) Selecting project Root -> Goto File->Properties 2) Select Java Build Path 3) Select Order and Export 4) Move App Engine SDK 1.4.0 to the #1 position and GWT SDK 2.1.0 to the #2 position On Sun, Dec 5, 2010 at 7:28 AM, Sudhir wrote: > Same issue here...

[appengine-java] Re: 1.4 eclipse plugin

2010-12-05 Thread Mike
I fixed this problem by making sure that App Engine SDK 1.4.0 is first in my Java Build Path in the Order and Export and changing my GWT SDK to 2.1.0 -- 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

[appengine-java] Re: calling blobstore from inside the webapp

2010-11-30 Thread Mike
the wrote: > Whoops, posted at the same time!! Glad you found my blog post useful. > > Jeremy. > > On 30 Nov 2010, at 06:00, Mike wrote: > > > > > > > > > Zsombor, > > > Follow the implementation outlined in this excellent blog post. It

[appengine-java] Re: calling blobstore from inside the webapp

2010-11-29 Thread Mike
Zsombor, Follow the implementation outlined in this excellent blog post. It explains how to upload to blobstore from within your app. Good luck, Michael Weinberg http://jeremyblythe.blogspot.com/2010/10/manipulating-images-in-blobstore.html On Nov 28, 8:08 am, Zsombor wrote: > Hello, > >  I

[appengine-java] Re: Unable to update app (Error 400)

2010-11-19 Thread Mike
Problem solved! Super stupid mistake from my site. On Nov 19, 9:30 am, Mike wrote: > Thx for the response, > > but when the issue you mentioned appeared I have had the error 500 > message. > After this was solved, I'm still having the same problem (client error > - 400).

[appengine-java] Re: Unable to update app (Error 400)

2010-11-19 Thread Mike
http://www.reddit.com/r/appengine > Twitter:http://twitter.com/app_engineOn Thu, Nov 18, 2010 at 10:05 AM, Mike > wrote: > > Hi, > > > I have problems to deploy my simple hello world app after deploying it > > a couple of times and it worked perfectly. > > Try to so

[appengine-java] Unable to update app (Error 400)

2010-11-18 Thread Mike
? - java.io.IOException: Error posting to URL: https://appengine.google.com/api/appversion/create?app_id=http%3A%2F%2Fmycabexapmle.appspot.com&version=1&; 400 Bad Request Client Error (400) The request is invalid for an unspecified reason. --- thx mike -- You received this message because

[appengine-java] BlobStore & Image Service

2010-11-01 Thread Mike
I know about the new super-fast image serving API for images stored in the blobstore - it's awesome and greatly simplifies image resizing.. However I still want to resize the original image to a smaller size before handling it with the image serving API.. So if a user uploads a 5MB Image I want to

[appengine-java] Re: Fwd: BlobstoreService not compatible with HTML5 multiple file upload?

2010-10-23 Thread Mike!
It's my #1 request too, but GAE doesn't support any multiple file upload...I'm guessing that it's not far off though since the blobstore interface returns a Map of blobs Mike! On Oct 23, 3:55 pm, Dan Dubois wrote: > Has anyone figured out a way around this problem yet?

[appengine-java] Re: Having Issue with Sitemesh on App engine .

2010-09-28 Thread Mike!
I've got it working in mine too, but I don't use the filtering inside the decorator.xml file...What is your specific error? Where's your base directory pointing to? Is it in the WEB-INF folder? Mike! On Sep 28, 12:26 pm, Guillaume Laforge wrote: > I've been successful

[appengine-java] Re: Application Versions and the Datastore

2010-08-09 Thread Mike Dillon
google/appengi... > > "Although Google App Engine allows many versions of your application to be > accessible, there is only one datastore for your application, shared by all > versions. Similarly, the set of indexes is shared by all application > versions." > > &g

[appengine-java] Application Versions and the Datastore

2010-08-09 Thread Mike Dillon
import the data for version 2? Thanks, -Mike -- 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

[appengine-java] Re: Frustrations with Performance

2010-07-08 Thread Mike!
Just a though (haven't done it yet)...could you schedule a task every random 30-60 seconds, and have that task schedule another task? (watch out for sync issues?) Have it do some busy work, enough to keep your VM going? Mike! On Jul 8, 5:46 am, "l.denardo" wrote: > If you mean

[appengine-java] Re: Java Heap Space Error, Correct Increasing Method?

2010-06-28 Thread Mike Dillon
a.exe. That should work the same way for the ant, > task. (You can see this in config/user/ant-macros.xml). > > > > On Mon, Jun 28, 2010 at 3:51 PM, Mike Dillon wrote: > > Another thing to consider. I'm not using eclipse, and I'm building and > > running the s

[appengine-java] Re: Java Heap Space Error, Correct Increasing Method?

2010-06-28 Thread Mike Dillon
Thanks for the help Don. - Mike On Jun 28, 3:51 pm, Mike Dillon wrote: > Another thing to consider. I'm not using eclipse, and I'm building and > running the server with 'ant runserver'. I just realized that ant > isn't calling > dev_appse

[appengine-java] Re: Java Heap Space Error, Correct Increasing Method?

2010-06-28 Thread Mike Dillon
kes on --jvm_flag but will run with just the -Xmx, however that has no affect. - Mike On Jun 28, 2:47 pm, Mike Dillon wrote: > Thanks, > > Yes that is exactly whats going on, the linux box has 4gb of ram, my > mac has 2gb... > > And yes I tried the --jvm_flag=-Xmx512m on my mac wi

[appengine-java] Re: Java Heap Space Error, Correct Increasing Method?

2010-06-28 Thread Mike Dillon
Thanks, Yes that is exactly whats going on, the linux box has 4gb of ram, my mac has 2gb... And yes I tried the --jvm_flag=-Xmx512m on my mac with no success. - Mike On Jun 28, 2:42 pm, Don Schwarz wrote: > Have you tried --jvm_flag=-Xmxm on your Mac?  It should work there > too. >

[appengine-java] Re: Java Heap Space Error, Correct Increasing Method?

2010-06-28 Thread Mike Dillon
Thanks Don, I forgot to mention that I'm using a mac with the latest snow leopard update. It seems that these heap space commands are incorrect for my machine, because we just tested it on a linux box and it works fine, even without the --jvm_flag prefix. Any ideas? - Mike On Jun 28, 1:

[appengine-java] Java Heap Space Error, Correct Increasing Method?

2010-06-28 Thread Mike Dillon
if this would be a memory leak. Thanks, -Mike -- 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 googl

[appengine-java] Re: Any ETA for a backup/restore facility?

2010-06-28 Thread Mike Dillon
some of the fine print, i.e. one caveat is that you must have had your datastore populated for at least 12 hours which is the amount of time it takes for the statistics info to be built. That what the bulkloader works off of to do its datastore dump. - Mike On Jun 28, 7:16 am, mscwd01 wrote:

[appengine-java] Re: AppEngine session advice

2010-05-27 Thread Mike
tUserService() is > long taking... It's like the my session enters a sleep state if i > don't use the app for about 2-3 minutes (can this be related to > ?). > > On May 26, 11:36 pm, Mike wrote: > > > > > Some questions: > > > 1) Did you run the se

[appengine-java] Re: How to use com.google.appengine.api.datastore.Text ?

2010-05-26 Thread Mike
e set method). Cheers Mike -- 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 google-appengin

[appengine-java] Re: AppEngine session advice

2010-05-26 Thread Mike
long as the Servlet is long-lived, all subsequent calls will be much faster). 3) What have you tried, and what are you seeing? Cheers Mike On May 25, 5:18 am, Ice13ill wrote: > I'm building an app that uses Google account auth. > The application also uses a custom persistent entity (

[appengine-java] Re: How to organize your server code

2010-05-24 Thread Mike
Actually, I would recommend the following syntax instead: public MyServlet { private OtherServlet otherServlet @Inject public MyServlet(OtherServlet otherServlet) { this.otherServelt = otherServlet; } // ... } Its ok to do the field injection, but the constructor injection is recommended (I t

[appengine-java] Re: Best method to set up nested classes in Objectify

2010-05-24 Thread Mike
lso -- its not true that you can't send less data to the client with the A contains @Embedded B -- it just means that you would have to create (and use) some sort of DTO that contained only the data that you wanted to send to the client, and using that technique is likely the simplest way for

[appengine-java] Help running without a ContextPath

2010-05-23 Thread Mike!
h their request path. In my web.xml file, I also must have the context path as my servlet-mapper value and can not use "/*". When I've tried "/*", I can not resolve my JSP views being returned back by my methods. Any help would be greatly appreciated! Mike! -- Y

[appengine-java] Re: GAE Guestbook example differing behavior between Chrome and Firefox

2010-02-26 Thread Mike
> Have you ruled out cache issues? Thanks. It appears that it was a caching problem (on the browser I guess). The expected behavior is delivered to each browser now. Thanks for the tips, apologies for not sorting it out myself. Cheers Mike Sheridan -- You received this message because

[appengine-java] createLoginURL() and Sing-up behavior when running locally under Eclipse debugger?

2010-02-26 Thread Mike
running under Eclipse) will redirect to what appears to be a Google Accounts sign-up page. However, I am unable to trigger that behavior, no matter what text I provide to that control. Any suggestions? Is this a bug or a misprint (or even, a misunderstanding on my part)? Cheers Mike Sheridan -- You

[appengine-java] Re: GAE Guestbook example differing behavior between Chrome and Firefox

2010-02-26 Thread Mike
each library/toolkit/etc provides. I just took a peek at the GWT homepage, and I will probably move to that at some point. But, want to learn from the ground up, and go through these steps as well. Cheers Mike -- You received this message because you are subscribed to the Google Groups "Go

[appengine-java] GAE Guestbook example differing behavior between Chrome and Firefox

2010-02-26 Thread Mike
Please enter your name: Would appreciate a helpful nudge in the right direction (still getting up to speed a bit here)... Cheers Mike -- You received this message because you are subscribed

[appengine-java] Getting the updated Key for child entity after calling pm.makePersistent(childEntity)

2010-01-01 Thread Mike
Hi, I have two entities - Parent and Child, the relationship is "mapped" using the mappedBy annotations. Both entities are using Key type as the pk, which is manually generated during the instantiation of the object. When the PK is generated for the Child, parent information in the child key is

[appengine-java] Re: Scope of datastores -- accessible across multiple GAE applications?

2009-12-27 Thread mike s
Merry Christmas. Surely an important use of cloud computing is creating services that can be shared? So why not implement your "harvester" with an API that allows other apps, including your own, to read the database? i.e. other applications connect to your datastore through your application rath

[appengine-java] Some suggestions regarding the "not support multiple parent key provider fields" JDOexception

2009-12-22 Thread Mike
Hi, I am playing about with JDO, creating objects, relationship, etc. I have a set of unit tests to make sure that what I am creating conform with GAE's implementation of JDO. Coming from a RDBMS background, very often I find myself the following exception: javax.jdo.JDOException: App Engine ORM

[appengine-java] Any advantages on using the Key type instead of String or Long for PK

2009-12-22 Thread Mike
Hi, Just one quick question about the use of PrimaryKey. Currently I am using a String type as the Primary key so that I can query it using comparison, e.g. select from " + MyUser.class.getName() + " where pk == '" + user.getPk () + "' But if the Primary key is of a Key type, I am not able to

[appengine-java] Re: GetObjectByID JDO question (NucleusObjectNotFoundException)

2009-12-21 Thread Mike
You can query the key only, hope this helps. http://code.google.com/appengine/docs/python/datastore/queriesandindexes.html#Queries_on_Keys On Dec 21, 8:51 pm, Jess Evans wrote: > Be wary of a try/get/catch/persist combo.  I was doing this initially, but > found it triggered a memory leak.  I r

[appengine-java] Strange exception from JDO - Please help

2009-12-21 Thread Mike
Hi, I am a newbie to GAE and it's the first time I try out the JDO facility. I followed the JUnit How-To to create all the base classes for Junit test and the following is my test: public class AbcTest extends LocalServiceTestCase { Abc abcType = null; PersistenceManagerFactory pmf = GA

[appengine-java] new comer

2009-11-25 Thread Mike
hi, i am the green hand on GAE ,i want to use it to develop some project . -- 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,

[appengine-java] Re: Image Upload

2009-09-02 Thread Mike
I needed to copy the JARs into the WEB-INF/lib directory, in addition to import them as libraries. Sweet! On Sep 2, 6:24 pm, Mike wrote: > GWT and java app engine > > eclipse galileo 3.5 > > On Sep 2, 6:13 pm, Travis J Warren wrote: > > > What environment are you devel

[appengine-java] Re: Image Upload

2009-09-02 Thread Mike
> google:http://code.google.com/appengine/kb/java.html#fileforms > > > what can I check on? > > > Thanks, > > > Mike --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine for Jav

[appengine-java] Re: Xml Support in GAE (xerces.jar SAXNotSupportedException)

2009-08-18 Thread Mike
Hi Max, I used javax.xml.parsers.SAXParser. Mike On Aug 18, 8:50 am, Max wrote: > I have read that I must add xerces.jar to project to add support for > XML. > > I have project in Eclipse with Google Plugin that works fine without > XML. > I added xerces.jar to war/WEB-INF/

  1   2   >