Topic
1 reply Latest Post - ‏2013-01-07T06:27:51Z by SystemAdmin
SystemAdmin
SystemAdmin
2736 Posts
ACCEPTED ANSWER

Pinned topic Exception while useing Axis2 with IBM AIX, JDK1.7

‏2013-01-04T13:43:58Z |
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.
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>

Is this an issue with IBM JDK1.7?

Thanks!
Updated on 2013-01-07T06:27:51Z at 2013-01-07T06:27:51Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    2736 Posts
    ACCEPTED ANSWER

    Re: Exception while useing Axis2 with IBM AIX, JDK1.7

    ‏2013-01-07T06:27:51Z  in response to SystemAdmin
    Hi,

    The issue has been fixed in Axiom.

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

    Thanks!