You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Thilo Tanner (JIRA)" <ji...@apache.org> on 2009/03/04 17:15:56 UTC
[jira] Created: (TAP5-551) Glassfish V2.1 is unable to load correct
woodstox stax implemention
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
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.
[jira] Commented: (TAP5-551) Glassfish V2.1 is unable to load
correct woodstox stax implemention
Posted by "Christian Köberl (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Closed: (TAP5-551) Glassfish V2.1 is unable to load correct
woodstox stax implemention
Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Howard M. Lewis Ship closed TAP5-551.
-------------------------------------
Resolution: Invalid
This is not a problem with Tapestry, it's a problem with Glassfish.
> 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
>
> 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.
[jira] Updated: (TAP5-551) Glassfish V2.1 is unable to load correct
woodstox stax implemention
Posted by "Christian Köberl (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christian Köberl updated TAP5-551:
----------------------------------
Comment: was deleted
(was: 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.
[jira] Commented: (TAP5-551) Glassfish V2.1 is unable to load
correct woodstox stax implemention
Posted by "Christian Köberl (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (TAP5-551) Glassfish V2.1 is unable to load correct
woodstox stax implemention
Posted by "Christian Köberl (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christian Köberl updated TAP5-551:
----------------------------------
Comment: was deleted
(was: 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.
[jira] Closed: (TAP5-551) Glassfish V2.1 is unable to load correct
woodstox stax implemention
Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Howard M. Lewis Ship closed TAP5-551.
-------------------------------------
Resolution: Invalid
This is not a problem with Tapestry, it's a problem with Glassfish.
> 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
>
> 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.
[jira] Updated: (TAP5-551) Glassfish V2.1 is unable to load correct
woodstox stax implemention
Posted by "Christian Köberl (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (TAP5-551) Glassfish V2.1 is unable to load correct
woodstox stax implemention
Posted by "Christian Köberl (JIRA)" <ji...@apache.org>.
[ 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.