[appengine-java] Re: App Engine SDK 1.3.2 is out!

2010-03-26 Thread Brian Dorry
Nice work on the release, definitely some stuff I will take advantage
in this release as well as the roadmap.

On Mar 25, 8:48 pm, "Ikai L (Google)"  wrote:
> Check it out!
>
> http://googleappengine.blogspot.com/2010/03/app-engine-sdk-132-releas...
>
> Blog post:
>
> App Engine SDK 1.3.2
> Released
>
> Today we are excited to announce the release of version 1.3.2 of the App
> Engine SDK for both the Java and Python runtimes. 1.3.2 includes a number of
> changes and bug fixes.
>
> For this release, we have concentrated on removing a number of limitations
> that have been affecting developers:
>
>    - Blobstore API - A new method
> (fetch_data
> for
>    Python, 
> fetchData
> for
>    Java) allows your application to request the contents of a Blob from within
>    your application’s code.
>    - URLFetch API - We’ve expanded the number of ports you can access with
>    the URLFetch API. You can now access ports 80-90, 440-450, and 1024-65535.
>    - Mail API - We’ve expanded the allowed mail attachments to include
>    common document extensions including .doc, .ppt, and .xls.
>    - Task Queue API - We’ve increased the maximum total Task Queue refill
>    rate to 50 per second.
>
> We’re also happy to announce, based on your feedback, a new Denial of
> Service (DoS) blocking system in App Engine. This system allows you to
> blacklist specific IP addresses from accessing your application, and to
> prevent them from costing your application money or eating up your quota.
> You can also view the top IPs that have accessed your application in the
> Admin Console, to help you figure out what IPs you may want to block. More
> information on this feature is available for
> Python
> and Java .
>
> There’s a lot of other changes and fixes in this release, including a new
> Java version of the Appstats profiling tool, so read the release notes (
> Python ,
> Java)
> for a complete list of changes and download the new versions of the
> SDK
> .
>
> Release Notes:
>
> Version 1.3.2 - March 25, 2010
>
>    - New API to read the contents of uploaded Blobs (fetch_data)
>    -http://code.google.com/p/googleappengine/issues/detail?id=2536
>
>    - URLFetch now supports accessing ports 80-90, 440-450, and 1024-65535
>    - Mail API now allows common document formats as attachments
>       -http://code.google.com/p/googleappengine/issues/detail?id=494
>    - The Task Queue API now supports adding multiple tasks in a single call
>    to Queue.add()
>    - Fixed charset handling for inbound emails
>       -http://code.google.com/p/googleappengine/issues/detail?id=2326
>    - Fixed issue with compositing background colors in dev_appserver
>    - New feature in the datastore to specify whether to use strong or
>    eventually consistent reads (the default is strong)
>    - New datastore feature allows setting deadlines for operations
>    - Increased the maximum Task Queue refill rate from 20/s to 50/s
>    - Support for IP blacklisting to prevent denial of service (DoS) attacks
>    - Fix an issue with Mac Launcher in Mac OSX 10.5.5
>       -http://code.google.com/p/googleappengine/issues/detail?id=778
>    - Fix issue with slow updates when there are many skipped files
>       -http://code.google.com/p/googleappengine/issues/detail?id=2492
>    - Fix issue with cursor not updating when using a
> GqlQuery?
>       -http://code.google.com/p/googleappengine/issues/detail?id=2757
>
> You might also want to note that we've updated the public roadmap:
>
> http://code.google.com/appengine/docs/roadmap.html
>
> Features on Deck
>
>    - SSL for third-party domains
>    - Background servers capable of running for longer than 30s
>    - Ability to reserve instances to reduce application loading overhead
>    - Ability to select different availability vs. latency options for
>    Datastore
>    - Support for mapping operations across datasets
>    - Datastore dump and restore facility
>    - Raise request/response size limits for some APIs
>    - Improved monitoring and alerting of application serving
>    - Support for Browser Push (Comet) communication
>    - Built-in support for OAuth & OpenID
>
> --
> Ikai Lan
> Developer Programs Engineer, Google App 
> Enginehttp://googleappengine.blogspot.com|http://twitter.com/app_engine

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, s

[appengine-java] Re: Gadget Hosting on App Engine

2009-10-24 Thread Brian Dorry

I will do that, thanks.

On Oct 24, 12:00 pm, Roy Smith  wrote:
> I think this is more likely to be a gadget issue than an appengine issue.
> Check the gadgets discussion group as a few other people are experiencing
> the same issue
>
> On Sat, Oct 24, 2009 at 3:24 PM, Brian Dorry  wrote:
>
> > I have recently been tasked with working on creating a gadget for a
> > project that is hosted on app engine. I am also hosting the gadget
> > specification on app engine.
>
> > The gadget specification is generated on the server side as it refers
> > back to the application id that the gadget is hosted on (this project
> > may be hosted on multiple IDs), so I suspect that the gadget is
> > subject to the same start up times that application is subject to when
> > it has been inactive for a period of time (I don't know that this has
> > anything to do with the issue I am having).
>
> > Now to my problems. I have observed the following behavior:
>
> > 1. After coming back to the mail inbox that I installed the gadget to
> > the gadget has more often that not disappeared from the left side
> > menu.
>
> > 2. I came back to the mailbox after leaving Firefox open for an
> > extended period of time, and after trying to use my gadget I received
> > a 504 error "Unable to retrieve gadget spec"
>
> > Are these related? Does anyone have experience with this issue? The
> > gadget itself is working great hosted on app engine aside from this.
>
>
--~--~-~--~~~---~--~~
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 email to 
google-appengine-java+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~--~~~~--~~--~--~---



[appengine-java] Gadget Hosting on App Engine

2009-10-24 Thread Brian Dorry

I have recently been tasked with working on creating a gadget for a
project that is hosted on app engine. I am also hosting the gadget
specification on app engine.

The gadget specification is generated on the server side as it refers
back to the application id that the gadget is hosted on (this project
may be hosted on multiple IDs), so I suspect that the gadget is
subject to the same start up times that application is subject to when
it has been inactive for a period of time (I don't know that this has
anything to do with the issue I am having).

Now to my problems. I have observed the following behavior:

1. After coming back to the mail inbox that I installed the gadget to
the gadget has more often that not disappeared from the left side
menu.

2. I came back to the mailbox after leaving Firefox open for an
extended period of time, and after trying to use my gadget I received
a 504 error "Unable to retrieve gadget spec"

Are these related? Does anyone have experience with this issue? The
gadget itself is working great hosted on app engine aside from this.


--~--~-~--~~~---~--~~
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 email to 
google-appengine-java+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~--~~~~--~~--~--~---



[appengine-java] Re: Issue on using Spring MVC framework on GAE.

2009-09-14 Thread Brian Dorry

Running into the same problem here using both the bean definition and
overriding the initBinder method on the SimpleFormController. Any
other insight into this issue?

On Sep 11, 3:13 pm, "Jason (Google)"  wrote:
> If you're subclassing SimpleFormController, you can also override the
> initBinder method in your custom classes directly. e.g.:
>
> @Override
> protected void initBinder(HttpServletRequest request,
> ServletRequestDataBinder binder) throws Exception {
>   binder.registerCustomEditor(String.class, new StringTrimmerEditor(false));
>   binder.registerCustomEditor(Boolean.class, new
> CustomBooleanEditor(false));
>   binder.registerCustomEditor(Long.class, new CustomNumberEditor(Long.class,
> true));
>
> }
>
> - Jason
>
> On Thu, Sep 10, 2009 at 5:00 AM, xueqiang.mi  wrote:
>
> > Thanks.
> > The problem I encountered is caused by the Spring form tag, I have
> > fixed it.
> > If you want to use form tag, you must override the  initBinder method
> > of WebBindingInitializer, otherwise you will get a error:
> > org.springframework.web.servlet.tags.RequestContextAwareTag
> > doStartTag: access denied (java.lang.RuntimePermission getClassLoader)
> > java.security.AccessControlException: access denied
> > (java.lang.RuntimePermission getClassLoader)
> > ..
> > Nested in org.springframework.web.util.NestedServletException: Request
> > processing failed; nested exception is java.lang.ClassCastException:
> > java.security.AccessControlException cannot be cast to
> > javax.servlet.ServletException:
> > java.lang.ClassCastException: java.security.AccessControlException
> > cannot be cast to javax.servlet.ServletException
>
> > You should write your own WebBindingInitializer class
> > {code}
> > public class TheFocusBindingInitializer implements
> > WebBindingInitializer {
>
> >       �...@override
> >        public void initBinder(WebDataBinder binder, WebRequest request) {
> >                binder.registerCustomEditor(String.class,
> >                                new StringTrimmerEditor(false));
> >        }
> > }
> > {code}
> > and then inject it into the AnnotationMethodHandlerAdapter by the
> > following configuration:
> > {xml}
> > 
> > class="org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter">
> >        
> >                 > class="com.appspot.thefocus.web.TheFocusBindingInitializer" />
> >        
> > 
> > {xml}
> > On 9月10日, 下午4时13分, Loïc Talbot  wrote:
> > > Hi,
> > > I've tried successfully spring mvc with this tutorial (Flex, graniteDS,
> > > springMVC) :
> >http://graniteds.blogspot.com/2009/04/graniteds-20-on-google-app-engi...
>
> > > Moreover Spring MVC is compatible with GAE according to this  :
> >http://groups.google.com/group/google-appengine-java/web/will-it-play...
>
> > > You should find a more verbose and meaningful error in the console log
> > > underhttps://appengine.google.com/
> > > The stack trace should be there.
>
> > > Loïc
>
> > > 2009/9/10 xueqiang.mi 
>
> > > > Have anyone used Spring MVC framework on GAE? My project runs well on
> > > > my pc, but after uploading on the GAE server, it doesn't work. A error
> > > > comes out:
>
> > > > Error: Server Error
>
> > > > The server encountered an error and could not complete your request.
> > > > If the problem persists, please report your problem and mention this
> > > > error message and the query that caused it.
>
> > > >http://alloyer.appspot.com
>
> > > > Can anyone help me 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-java@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~--~~~~--~~--~--~---