Hi Pradeep, On Sun, Dec 16, 2012 at 6:17 PM, Pradeep Fernando <[email protected]> wrote:
> hi dimuthu, > > moved the geronimo-stax-api jar from components/plugins to lib/endorsed. > check whether the jar is still inside plugins, (installed from one of your > features maybe), and if so get rid of that. > > There was an additional geronimo-stax-api in the components/plugins folder. Removing it fixed the web app issue. I will check how to fix this in our build. thanks, dimuthu thanks, > --Pradeep > > > On Sun, Dec 16, 2012 at 5:32 PM, Dimuthu Leelarathne <[email protected]>wrote: > >> Hi all, >> >> Getting the below error from the webapp[1] deployed in 4.0.5 based >> kernel. Have we changed the class loading sequence of webapps for 4.0.5? >> >> Meantime I will debug more to find out the root cause. >> >> thanks, >> dimuthu >> >> [1] >> Caused by: java.lang.ClassCastException: >> com.ctc.wstx.stax.WstxInputFactory cannot be cast to >> javax.xml.stream.XMLInputFactory >> at >> javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:41) >> at org.apache.axiom.om.util.StAXUtils$7.run(StAXUtils.java:505) >> at java.security.AccessController.doPrivileged(Native Method) >> at >> org.apache.axiom.om.util.StAXUtils.newXMLInputFactory(StAXUtils.java:495) >> at >> org.apache.axiom.om.util.StAXUtils.getXMLInputFactory_perClassLoader(StAXUtils.java:575) >> at >> org.apache.axiom.om.util.StAXUtils.getXMLInputFactory(StAXUtils.java:172) >> at >> org.apache.axiom.om.util.StAXUtils.getXMLInputFactory(StAXUtils.java:137) >> at >> org.apache.axiom.om.util.StAXUtils.createXMLStreamReader(StAXUtils.java:253) >> at >> org.apache.axiom.om.impl.AbstractOMMetaFactory.createXMLStreamReader(AbstractOMMetaFactory.java:49) >> at >> org.apache.axiom.om.impl.AbstractOMMetaFactory.createOMBuilder(AbstractOMMetaFactory.java:69) >> at >> org.apache.axiom.om.OMXMLBuilderFactory.createOMBuilder(OMXMLBuilderFactory.java:178) >> at >> org.apache.axiom.om.OMXMLBuilderFactory.createOMBuilder(OMXMLBuilderFactory.java:162) >> at org.apache.axiom.om.util.AXIOMUtil.stringToOM(AXIOMUtil.java:54) >> at org.apache.axiom.om.util.AXIOMUtil.stringToOM(AXIOMUtil.java:39) >> at >> org.wso2.carbon.governance.api.util.GovernanceUtils.getGovernanceArtifactConfiguration(GovernanceUtils.java:232) >> at >> org.wso2.carbon.governance.api.util.GovernanceUtils.findGovernanceArtifactConfigurations(GovernanceUtils.java:411) >> at >> org.wso2.carbon.governance.api.util.GovernanceUtils.loadGovernanceArtifacts(GovernanceUtils.java:226) >> at >> org.wso2.carbon.appfactory.utilities.project.ProjectUtils.getApplicationArtifact(ProjectUtils.java:491) >> at >> org.wso2.carbon.appfactory.utilities.project.ProjectUtils.getApplicationType(ProjectUtils.java:268) >> at >> org.wso2.carbon.appfactory.repository.mgt.svn.SVNBranchingStrategy.prepareRepository(SVNBranchingStrategy.java:44) >> at >> org.wso2.carbon.appfactory.repository.mgt.RepositoryManager.createRepository(RepositoryManager.java:41) >> at >> org.wso2.carbon.appfactory.repository.mgt.service.RepositoryManagementService.createRepository(RepositoryManagementService.java:43) >> ... 41 more >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > *Pradeep Fernando* > Member, Management Committee - Platform & Cloud Technologies > Senior Software Engineer;WSO2 Inc.; http://wso2.com > > blog: http://pradeepfernando.blogspot.com > m: +94776603662 >
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
