5.1 parses templates using the Woodstock STaX parser ... and it uses a couple of Woodstock extensions. I'm not familiar with Glassfish, but I suspect it is forcing its own STaX parser on you, ignoring the Woodstock parser. There probably an option to turn that off.
On Fri, Feb 20, 2009 at 7:35 PM, xfile80303 <l...@grokers.net> wrote: > > Hello all, > > I've been developing locally on Tomcat, but will have to ultimately deploy > onto https://glassfish.dev.java.net/ Glassfish . > > My app works as expected while on Tomcat, but once deployed to Glassfish I > get an exception: > > 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:59) (for service 'TemplateParser'): > com.sun.xml.stream.ZephyrParserFactory cannot be cast to > org.codehaus.stax2.XMLInputFactory2 > > Which would seem to indicate some XML library conflict. > > Any thoughts on resolution? > > Thanks, > > Levi > > > -- > View this message in context: > http://n2.nabble.com/-T5.1--Running-on-Glassfish--tp2362542p2362542.html > Sent from the Tapestry Users 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 > > -- Howard M. Lewis Ship Creator Apache Tapestry and Apache HiveMind --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org