Tested with Jboss 4.0.2. It works without any error. /sumedha
On Thu, Jan 15, 2009 at 2:49 PM, Appasamy Thirugnana <[email protected]> wrote: > > Jboss 4.0.5 > > > -----Original Message----- > From: sumedha rubasinghe [mailto: > Sent: Thursday, January 15, 2009 14:44 > To: [email protected] > Subject: Re: java.lang.ClassCastException: com.ctc.wstx.stax.WstxInputFactory > > What is the version of Jboss? > My gut feeling is this particular version of Jboss is having a > different Stax implementation. > > /sumedha > > > > On Thu, Jan 15, 2009 at 2:13 PM, Appasamy Thirugnana > <[email protected]> wrote: >> Application server .. JBoss >> >> -----Original Message----- >> From: Paul Fremantle [mailto:[email protected]] >> Sent: Thursday, January 15, 2009 12:46 >> To: [email protected] >> Subject: Re: java.lang.ClassCastException: com.ctc.wstx.stax.WstxInputFactory >> >> Are you running this under an application server or standalone? >> >> Paul >> >> On Thu, Jan 15, 2009 at 6:51 AM, Appasamy Thirugnana >> <[email protected]> wrote: >>> >>> Hi, >>> >>> I am getting folllowing stack trace from my Stub class when I try to >>> invoke a service. Any inputs to get rid of this will be appreciated >>> >>> >>> 17:46:25,124 ERROR [STDERR] java.lang.ClassCastException: >>> com.ctc.wstx.stax.WstxInputFactory >>> 17:46:25,124 ERROR [STDERR] at >>> javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:41) >>> 17:46:25,124 ERROR [STDERR] at >>> org.apache.axiom.om.util.StAXUtils$7.run(StAXUtils.java:311) >>> 17:46:25,124 ERROR [STDERR] at >>> java.security.AccessController.doPrivileged(Native Method) >>> 17:46:25,124 ERROR [STDERR] at >>> org.apache.axiom.om.util.StAXUtils.getXMLInputFactory_perClassLoader(StAXUtils.java:306) >>> 17:46:25,124 ERROR [STDERR] at >>> org.apache.axiom.om.util.StAXUtils.getXMLInputFactory(StAXUtils.java:76) >>> 17:46:25,124 ERROR [STDERR] at >>> org.apache.axiom.om.util.StAXUtils.createXMLStreamReader(StAXUtils.java:131) >>> 17:46:25,124 ERROR [STDERR] at >>> org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:596) >>> 17:46:25,124 ERROR [STDERR] at >>> org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:581) >>> 17:46:25,124 ERROR [STDERR] at >>> org.apache.axis2.deployment.DescriptionBuilder.buildOM(DescriptionBuilder.java:97) >>> 17:46:25,124 ERROR [STDERR] at >>> org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigBuilder.java:86) >>> 17:46:25,140 ERROR [STDERR] at >>> org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(DeploymentEngine.java:641) >>> 17:46:25,140 ERROR [STDERR] at >>> org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(FileSystemConfigurator.java:116) >>> 17:46:25,140 ERROR [STDERR] at >>> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactor >>> y.java:68) >>> 17:46:25,140 ERROR [STDERR] at >>> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(Configuratio >>> nContextFactory.java:184) >>> 17:46:25,140 ERROR [STDERR] at >>> org.apache.axis2.client.ServiceClient.configureServiceClient(ServiceClient.java:150) >>> 17:46:25,140 ERROR [STDERR] at >>> org.apache.axis2.client.ServiceClient.<init>(ServiceClient.java:143) >>> >>> >>> >>> Regards >>> >>> Appasamy T >>> >>> >> >> >> >> -- >> Paul Fremantle >> Co-Founder and CTO, WSO2 >> Apache Synapse PMC Chair >> OASIS WS-RX TC Co-chair >> >> blog: http://pzf.fremantle.org >> [email protected] >> >> "Oxygenating the Web Service Platform", www.wso2.com >> >
