axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas" <dava...@gmail.com>
Subject Re: Axis2 not works with Java6
Date Tue, 12 Dec 2006 14:16:13 GMT
Eric,

Known issue. Please drop the stax-api jar in the axis2 distribution
into your JRE's endorsed directory (see info on endorsed directory
here - http://java.sun.com/j2se/1.4.2/docs/guide/standards/)

thanks,
dims

On 12/12/06, Eric Chow <eric138@gmail.com> wrote:
> Hello,
>
> Axis2 seems not work in Java6. And it raised the following exception:
>
> 2006-12-12 16:45:28 ERROR [/axis2]:675 - StandardWrapper.Throwable
> javax.xml.stream.FactoryConfigurationError: Provider
> javax.xml.stream.XMLInputFactory could not be instantiated:
> java.lang.InstantiationException
>         at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:158)
>         at org.apache.axiom.om.util.StAXUtils.getXMLInputFactory(StAXUtils.java:40)
>         at org.apache.axiom.om.util.StAXUtils.createXMLStreamReader(StAXUtils.java:66)
>         at org.apache.axis2.deployment.DescriptionBuilder.buildOM(DescriptionBuilder.java:86)
>         at org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigBuilder.java:58)
>         at org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(DeploymentEngine.java:690)
>         at org.apache.axis2.deployment.WarBasedAxisConfigurator.<init>(WarBasedAxisConfigurator.java:129)
>         at org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:373)
>         at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:317)
>         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
>         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
>         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3951)
>         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4225)
>         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
>         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
>         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
>         at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:904)
>         at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:867)
>         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474)
>         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
>         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
>         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
>         at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
>         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
>         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
>         at org.apache.catalina.core.StandardService.start(StandardService.java:450)
>         at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
>         at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
>         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
> 2006-12-12 16:45:28 ERROR [/axis2]:3953 - Servlet /axis2 threw load() exception
> javax.xml.stream.FactoryConfigurationError: Provider
> javax.xml.stream.XMLInputFactory could not be instantiated:
> java.lang.InstantiationException
>         at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:158)
>         at org.apache.axiom.om.util.StAXUtils.getXMLInputFactory(StAXUtils.java:40)
>         at org.apache.axiom.om.util.StAXUtils.createXMLStreamReader(StAXUtils.java:66)
>         at org.apache.axis2.deployment.DescriptionBuilder.buildOM(DescriptionBuilder.java:86)
>         at org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigBuilder.java:58)
>         at org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(DeploymentEngine.java:690)
>         at org.apache.axis2.deployment.WarBasedAxisConfigurator.<init>(WarBasedAxisConfigurator.java:129)
>         at org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:373)
>         at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:317)
>         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
>         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
>         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3951)
>         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4225)
>         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
>         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
>         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
>         at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:904)
>         at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:867)
>         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474)
>         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
>         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
>         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
>         at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
>         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
>         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
>         at org.apache.catalina.core.StandardService.start(StandardService.java:450)
>         at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
>         at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
>         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

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


Mime
View raw message