I am also trying to get this working and have hit a similar issue (I am
using the latest snapshot). It all works fine locally it is only a problem
when uploaded to Google App Engine.
It seems to be because google app engine has restricted the XMLInputFactory
and that seems pretty crucial to tapestry.

org.apache.tapestry5.internal.services.InternalModule.bind(ServiceBinder)
(at InternalModule.java:65) (for service 'TemplateParser'):
javax.xml.stream.XMLInputFactory is a restricted class. Please see the
Google App Engine developer's guide for more details.


I have made some notes (including how to get maven and appengine to play
nice) on what I did so far at


   - http://blog.gidley.co.uk/2009/04/tapestry-on-google-app-engine.html
   -
   http://blog.gidley.co.uk/2009/04/tapestry-on-google-app-engine-part-2.html




Ben Gidley

www.gidley.co.uk
b...@gidley.co.uk


On Wed, Apr 8, 2009 at 7:27 PM, Markus Lux <markus....@gmail.com> wrote:

>
> I'm also trying to get the latest Tapestry running on Java App Engine but
> now
> I got stuck.
>
>
> Uncaught exception from servlet
> java.lang.RuntimeException: Exception constructing service
> 'TemplateParser':
> Error invoking constructor
> org.apache.tapestry5.internal.services.TemplateParserImpl(Map, boolean) (at
> TemplateParserImpl.java:50) via
> org.apache.tapestry5.internal.services.InternalModule.bind(ServiceBinder)
> (at InternalModule.java:65) (for service 'TemplateParser'): Could not
> initialize class
>
> com.google.apphosting.runtime.security.shared.stub.javax.xml.stream.XMLInputFactory
>        at [...not posting the full stacktrace here]
>
>
> I looked up that issue and stumbled upon
> http://www.nabble.com/-T5.1--Running-on-Glassfish--td22132485.html .
> It seems that the same problem occurs when using glassfish as a deployment
> server. I think, the solution posted there is inpracticable when using
> J-GAE.
>
> Maybe someone already solved that problem and will post the solution here.
>
>
> Thiago H. de Paula Figueiredo wrote:
> >
> > Hi!
> >
> > Yesterday it was announced that the Google AppEngine now supports Java
> > applications. Some libraries are already supported, others not.
> > JavaMail is supported, Hibernate isn't, JPA is, JSF suppport is
> > unknown. Will anyone volunteer to test Tapestry there? :-)
> >
> >
> http://googleappengine.blogspot.com/2009/04/seriously-this-time-new-language-on-app.html
> >
> > --
> > Thiago
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> > For additional commands, e-mail: users-h...@tapestry.apache.org
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Java-support-added-to-Google-AppEngine-tp22952683p22956787.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

Reply via email to