[ 
https://issues.apache.org/jira/browse/AXIS2-4573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12786229#action_12786229
 ] 

Axel van Lil commented on AXIS2-4573:
-------------------------------------

In my case (although OSX) the following helped:

- removed stax-1.0.1, upgraded to 1.0.2 (1.0.1 packages an incompatible 
javax.xml.namespace.QName class - difficult story)
- set prefer-web-inf-classes to 'true' in weblogic.xml
- I updated woodstox stax 'wstx-asl' to 3.2.8 (don't know if required)

Had the same Exception as you - it's working now.

> Issue when deploying axis2.1.5 application in weblogic 10.3 (Failed to 
> initialize the application 'axis2' due to error 
> weblogic.application.ModuleException)
> ------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-4573
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4573
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: deployment
>    Affects Versions: 1.5
>         Environment: OS SunOS 5.10 
> Weblogic10.3
> Axis2.1.5
> jdk1.6.0_16
>            Reporter: ravi sekhar mikkilineni
>
> Below is the Exception I am getting...Please let me know the work around to 
> get rid of this error.
> <Failed to initialize the application 'myaxis2' due to error 
> weblogic.application.ModuleException: .
> weblogic.application.ModuleException: 
>         at 
> weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:387)
>         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:387)
>         at 
> weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
>         Truncated. see log file for complete stacktrace
> java.lang.ClassCastException: com.ctc.wstx.stax.WstxInputFactory cannot be 
> cast to javax.xml.stream.XMLInputFactory
>         at 
> javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:137)
>         at 
> weblogic.servlet.internal.TldCacheHelper$TldIOHelper.parseXML(TldCacheHelper.java:124)
>         at 
> weblogic.descriptor.DescriptorCache.parseXML(DescriptorCache.java:380)
>         at 
> weblogic.servlet.internal.TldCacheHelper.parseTagLibraries(TldCacheHelper.java:65)
>         at weblogic.servlet.internal.War.getTagInfo(War.java:891)
>         Truncated. see log file for complete stacktrace

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