users@jersey.java.net

Re: [Jersey] Jersey on app engine

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Wed, 08 Apr 2009 12:39:24 +0200

Hi,

On Apr 8, 2009, at 12:33 PM, Casper Bang wrote:

> I briefly tried deploying Bookstore onto GAE/j this morning, but got
> stuck when it oddly complained over filter element:
>

I am guessing that servlet filters are not supported yet.

Perhaps trying the hello world web app sample might work?

Paul.


> com.google.apphosting.utils.config.AppEngineConfigException:
> Unrecognized element <filter>
> at
> com
> .google
> .apphosting
> .utils
> .config
> .AppEngineWebXmlProcessor
> .processSecondLevelNode(AppEngineWebXmlProcessor.java:91)
> at
> com
> .google
> .apphosting
> .utils
> .config
> .AppEngineWebXmlProcessor.processXml(AppEngineWebXmlProcessor.java:46)
> at
> com
> .google
> .apphosting
> .utils
> .config.AppEngineWebXmlReader.processXml(AppEngineWebXmlReader.java:
> 80)
> at
> com
> .google
> .apphosting
> .utils
> .config
> .AppEngineWebXmlReader
> .readAppEngineWebXml(AppEngineWebXmlReader.java:51)
> at
> com.google.appengine.tools.admin.Application.<init>(Application.java:
> 72)
> at
> com
> .google
> .appengine.tools.admin.Application.readApplication(Application.java:
> 94)
> at com.google.appengine.tools.admin.AppCfg.<init>(AppCfg.java:92)
> at com.google.appengine.tools.admin.AppCfg.main(AppCfg.java:59)
>
> Also, although it claims to handle war files it will not. You need
> to deploy webapp directories, with a specialized web.xml called
> appengine-web.xml. I attribute these issues to it still being an
> early beta and did not persue it further. If you have better luck,
> let us know :)
>
> /Casper
>
>
> On Wed, Apr 8, 2009 at 12:20 PM, Imran M Yousuf <imran_at_smartitengineering.com
> > wrote:
> On Wed, Apr 8, 2009 at 4:07 PM, Erdinc Yilmazel
> <erdinc_at_yilmazel.com> wrote:
> >> Why don't you give it a try and report back? :-)
> >>
> >> Paul.
> >
> > I will do so as soon as possible :)
> >
>
> I am eagerly waiting for the results as I am planning to do a app next
> weekend as well :).
>
> Best regards,
>
> Imran
>
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> > For additional commands, e-mail: users-help_at_jersey.dev.java.net
> >
> >
>
>
>
> --
> Imran M Yousuf
> Entrepreneur & Software Engineer
> Smart IT Engineering
> Dhaka, Bangladesh
> Email: imran_at_smartitengineering.com
> Blog: http://imyousuf-tech.blogs.smartitengineering.com/
> Mobile: +880-1711402557
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>
>