[appengine-java] Re: out of memory on javax.mail.internet.MimeMultipart.getCount

2009-11-25 Thread Jeremy Blythe
You might be parsing a text/plain as a multipart. I've blogged about this here http://jeremyblythe.blogspot.com/2009/11/receiving-email-in-google-app-engine.html I think this is a bug in App Engine. On Nov 25, 3:42 pm, david ruescas wrote: > I added a trace message, here's the value of > javax.m

[appengine-java] Re: out of memory on javax.mail.internet.MimeMultipart.getCount

2009-11-25 Thread Jeremy Blythe
r combined with a StringWriter? Im using > > StringWriter sw = new StringWriter(); > char[] buffer = new char[1024]; > for (int n; (n = r.read(buffer)) != -1; )  { > sw.write(buffer, 0, n); > > } > > Just checking im doing things the most standard way possible. > &

Re: [appengine-java] Processing incoming email

2009-11-30 Thread Jeremy Blythe
I think this is a bug in app engine - it doesn't seem to be following the standard. I've blogged the solution here: http://jeremyblythe.blogspot.com/2009/11/receiving-email-in-google-app-engine.html J. On Mon, Nov 30, 2009 at 2:34 PM, Peter Ondruska wrote: > I am following instructions on > http

[appengine-java] JAXB doesn't work for me in 1.2.8

2009-12-04 Thread Jeremy Blythe
I get this error: Constructor threw exception; nested exception is java.lang.RuntimeException: javax.xml.bind.JAXBException - with linked exception: [java.lang.ClassNotFoundException: com.sun.xml.bind.v2.ContextFactory] My Constructor is pretty simple: RssService() { try

Re: [appengine-java] Re: Processing incoming email

2009-12-05 Thread Jeremy Blythe
essage#isMimeType("text/plain") == true > MimeMessage#isMimeType("text/html") == true > Need not convert into MimeMultipart. > > Of course, > Jeremy Blythe have provided us information that [contentType.indexOf > ( "multipart")] also Behave the s

Re: [appengine-java] Re: JAXB doesn't work for me in 1.2.8

2009-12-05 Thread Jeremy Blythe
un.xml.internal.bind.v2.ContextFactory not found >>>  - with linked exception: >>> [java.lang.ClassNotFoundException: com.sun.xml.bind.v2.ContextFactory] >>>        at >>> javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:178) >>>        at javax

Re: [appengine-java] Re: JAXB doesn't work for me in 1.2.8

2009-12-09 Thread Jeremy Blythe
It works now. Thanks. On Wed, Dec 9, 2009 at 11:01 PM, Toby Reyelts wrote: > The built-in JAXB implementation should be available now. Please let us know > if you continue to see problems. > > On Sat, Dec 5, 2009 at 3:16 AM, Jeremy Blythe > wrote: >> >> Thanks, but

Re: [appengine-java] Apache Wink Project Supported on App Engine?

2009-12-14 Thread Jeremy Blythe
JAXB wasn't working until about December 10th and version 1.2.8. So I guess the Apache Wink Wiki might not be updated yet. I personally haven't tried Wink but I can vouch for JAXB support. J. On Mon, Dec 14, 2009 at 7:41 AM, bombaygoose wrote: > Hi all, > > this is probably already discussed bu

Re: [appengine-java] Transforming Images from the Blobstore

2010-10-29 Thread Jeremy Blythe
After you've manipulated the image you need to write the new image back to the Blobstore using an HTTP multi-part/formdata POST. You can do this with the URLFetchService. I do this on my site and have just put a new blog entry up about it here: http://jeremyblythe.blogspot.com/2010/10/manipulating

Re: [appengine-java] BlobStore & Image Service

2010-11-03 Thread Jeremy Blythe
I do this in my app. I've written a blog entry with examples here: http://jeremyblythe.blogspot.com/2010/10/manipulating-images-in-blobstore.html On Thu, Oct 28, 2010 at 10:05 PM, Mike wrote: > I know about the new

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

2010-11-29 Thread Jeremy Blythe
I have also written a blog post here http://jeremyblythe.blogspot.com/2010/10/manipulating-images-in-blobstore.html with code samples. On 30 Nov 2010, at 01:06, "A. Stevko" wrote: > There are numerous posts concerning the differences between the dev and prod > blobstore behaviors. > Perhaps

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

2010-11-29 Thread Jeremy Blythe
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 > explains how to upload to blobstore from within your app. > > Good luck, > > Michael Weinb