ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Veithen <andreas.veit...@gmail.com>
Subject Re: Exception in Axis2 with IBM AIX, JDK1.7
Date Sat, 05 Jan 2013 15:02:33 GMT
Yes, there is indeed an issue when using Axiom with the StAX
implementation in IBM Java 1.7. I've created a JIRA ticket for that
issue:

https://issues.apache.org/jira/browse/AXIOM-443

Andreas

On Thu, Jan 3, 2013 at 11:06 AM, Mandar More <mandar.more@gmail.com> wrote:
>
> Hi,
>
>
>
> We are using Axis2 1.6.1 as web service engine in our application.
>
> We are getting following exception while connecting to a web service through
> a Java program.
>
> The exception is observed on IBM AIX and JDK1.7 platform only.
>
>
>
> I am not sure if this is an issue with Axioms, but would like to bring it to
> the notice of development community.
>
> Kindly ignore this email in case it is not relevant.
>
>
>
> Exception :
>
>
>
> The XMLInputFactory does not recognize the property "reuse-instance".
>
> java.lang.IllegalArgumentException: The XMLInputFactory does not recognize
> the property "reuse-instance".
>
>         at
> com.ibm.xml.xlxp.api.stax.msg.StAXMessageProvider.throwIllegalArgumentException(StAXMessageProvider.java:42)
>
>         at
> com.ibm.xml.xlxp.api.stax.XMLInputFactoryImpl.setProperty(XMLInputFactoryImpl.java:1870)
>
>         at
> org.apache.axiom.util.stax.dialect.SJSXPDialect.makeThreadSafe(SJSXPDialect.java:65)
>
>         at org.apache.axiom.om.util.StAXUtils$8.run(StAXUtils.java:544)
>
>         at
> java.security.AccessController.doPrivileged(AccessController.java:203)
>
>         at
> org.apache.axiom.om.util.StAXUtils.newXMLInputFactory(StAXUtils.java:517)
>
>         at
> org.apache.axiom.om.util.StAXUtils.getXMLInputFactory_perClassLoader(StAXUtils.java:588)
>
>         at
> org.apache.axiom.om.util.StAXUtils.getXMLInputFactory(StAXUtils.java:171)
>
>         at
> org.apache.axiom.om.util.StAXUtils.getXMLInputFactory(StAXUtils.java:136)
>
>         at
> org.apache.axiom.om.util.StAXUtils.createXMLStreamReader(StAXUtils.java:223)
>
>         at
> org.apache.axiom.om.impl.llom.factory.AbstractOMMetaFactory.createXMLStreamReader(AbstractOMMetaFactory.java:60)
>
>         at
> org.apache.axiom.om.impl.llom.factory.AbstractOMMetaFactory.createOMBuilder(AbstractOMMetaFactory.java:105)
>
>         at
> org.apache.axiom.om.OMXMLBuilderFactory.createOMBuilder(OMXMLBuilderFactory.java:154)
>
>         at
> org.apache.axiom.om.OMXMLBuilderFactory.createOMBuilder(OMXMLBuilderFactory.java:134)
>
>         at
> org.apache.axiom.om.OMXMLBuilderFactory.createOMBuilder(OMXMLBuilderFactory.java:105)
>
>         at org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:590)
>
>         at org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:575)
>
>         at
> org.apache.axis2.deployment.DescriptionBuilder.buildOM(DescriptionBuilder.java:97)
>
>         at
> org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigBuilder.java:89)
>
>         at
> org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(DeploymentEngine.java:857)
>
>         at
> org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(FileSystemConfigurator.java:116)
>
>         at
> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64)
>
>         at
> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:210)
>
>         at
> org.apache.axis2.client.ServiceClient.configureServiceClient(ServiceClient.java:151)
>
>         at
> org.apache.axis2.client.ServiceClient.<init>(ServiceClient.java:144)
>
>         at
> mytestApp.webservices._2012_09.services.loginmanager.LoginManager1209ServiceStub.<init><unknown
> source>
>
>
>
> Thanks and Regards,
> Mandar

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org


Mime
View raw message