tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Köberl (JIRA) <j...@apache.org>
Subject [jira] Updated: (TAP5-551) Glassfish V2.1 is unable to load correct woodstox stax implemention
Date Thu, 11 Jun 2009 14:57:07 GMT

     [ https://issues.apache.org/jira/browse/TAP5-551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Christian Köberl updated TAP5-551:
----------------------------------

    Attachment: TAP5-551-5.1.0.5.patch

Here is the patch of the changes described in http://derkoe.wordpress.com/2009/04/16/tapestry-51-woodstox/

> 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.


Mime
View raw message