[ 
https://issues.apache.org/jira/browse/TAP5-551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12718488#action_12718488
 ] 

Christian Köberl commented on TAP5-551:
---------------------------------------

This is not a problem with Glassfish, it's a problem with Tapestry. It also 
happens with other appservers like WAS CE 2.0. See also 
https://issues.apache.org/jira/browse/TAP5-745

> Glassfish V2.1 is unable to load correct woodstox stax implemention
> -------------------------------------------------------------------
>
>                 Key: TAP5-551
>                 URL: https://issues.apache.org/jira/browse/TAP5-551
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.1.0.0
>            Reporter: Thilo Tanner
>         Attachments: TAP5-551-5.1.0.5.patch
>
>
> Glassfish throws the following error while loading a template file:
> [ERROR] InternalModule.TemplateParser Construction of service TemplateParser 
> failed
> 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'): 
> com.sun.xml.stream.ZephyrParserFactory cannot be cast to 
> org.codehaus.stax2.XMLInputFactory2
> ...
> Workaround:
> Add the system property below to Application Server > JVM Settings > JVM 
> Options and restart Glassfish
> -Djavax.xml.stream.XMLInputFactory=com.ctc.wstx.stax.WstxInputFactory

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to