You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Christian Köberl (JIRA)" <ji...@apache.org> on 2009/12/10 09:21:27 UTC

[jira] Commented: (TAP5-846) tapestry cannot deploy on the weblogic 9.2.0.0

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

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

I don't know about weblogic, but this solved the issue for Glassfish and Geronimo:
Add "-Djavax.xml.stream.XMLInputFactory=com.ctc.wstx.stax.WstxInputFactory" to the startup parameters or system properties.

See http://tapestry.apache.org/tapestry5/glassfish.html and also TAP5-713.

> tapestry cannot deploy on the weblogic 9.2.0.0
> ----------------------------------------------
>
>                 Key: TAP5-846
>                 URL: https://issues.apache.org/jira/browse/TAP5-846
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.1.0.5
>            Reporter: ginkgowoo
>
> hi all:
>        when we want to deploy the tapestry on the weblogic 9.2.0.0,the exception happen.
> as we know, the tapestry parser the xml by the Woodstox StAX parser. but the weblogic will alse parser the xml by it's jar.
> so ,the exception happen. 
> any help for this problem ?
> <Oct 4, 2006 10:04:16 AM CDT> <Error> <Deployer> <BEA-149205> <Failed to initialize the application '_appsdir_luna_dir' due to error weblogic.application.ModuleException: .
> weblogic.application.ModuleException: 
> 	at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:295)
> 	at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
> 	at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
> 	at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
> 	at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
> 	Truncated. see log file for complete stacktrace
> java.lang.ClassCastException: com.ctc.wstx.stax.WstxInputFactory
> 	at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:136)
> 	at weblogic.servlet.internal.WebAppHelper.addListenerElements(WebAppHelper.java:244)
> 	at weblogic.servlet.internal.WebAppHelper$IOHelperImpl.parseXML(WebAppHelper.java:224)
> 	at weblogic.descriptor.DescriptorCache.parseXML(DescriptorCache.java:324)
> 	at weblogic.servlet.internal.WebAppHelper.registerTagLibListeners(WebAppHelper.java:174)
> 	Truncated. see log file for complete stacktrace
> best regards.
> thanks very much

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