Bingo, i faced the same problem....Basically delete jre/lib/jaxp.properties file if you have one.
thanks, dims On 8/26/05, Davanum Srinivas <[EMAIL PROTECTED]> wrote: > Could you please log a bug? along with info on how you deployed it in > your servlet container? > > thanks, > dims > > On 8/26/05, Johan Andersson <[EMAIL PROTECTED]> wrote: > > Hello, > > > > I've recently started to test and evaluate Axis2. > > > > I wrote a wsdl and ran it through WSDL2Java, made some modifications to the > > skeleton code, > > built the .aar archive as detailed by the axis2 documentation and deployed > > the service. > > > > The service is correctly deployed as far as I can tell (shows up in listing > > without errors). > > HappyAxis page is, well.., happy =) > > > > Still the server is dumping with the (server-side) exception included below. > > > > I had a similar problem on the client side which I cured with a > > System.setProperty("javax.xml.stream.XMLInputFactory", > > "com.bea.xml.stream.MXParserFactory"); > > > > Doing the same server-side (-Djavax...) on Tomcat 4.1 OR Websphere 6 does > > not work. > > > > Should not this work out of the box without fiddling around with setting > > system properties in the JVM? > > > > I am clueless how to procede, please help. > > > > Also I cannot find any information of the intended target platform or java > > version for Axis2, is it Java 1.4 or 1.5? > > > > Thank you in advance and best regards, > > > > Johan > > > > > > > > 2005-08-26 11:22:40 StandardWrapperValve[AxisServlet]: Servlet.service() > > for servlet AxisServlet threw exception > > org.apache.axis2.AxisFault: Provider null could not be instantiated: > > java.lang.NullPointerException; nested exception is: > > javax.xml.stream.FactoryConfigurationError: Provider null could not > > be instantiated: java.lang.NullPointerException > > at > > org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:137) > > at org.apache.axis2.engine.AxisEngine.sendFault(AxisEngine.java:169) > > at > > org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:206) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:716) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:809) > > at > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:200) > > at > > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:146) > > at > > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:209) > > at > > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596) > > at > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433) > > at > > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948) > > at > > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:144) > > at > > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596) > > at > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433) > > at > > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948) > > at > > org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2358) > > at > > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133) > > at > > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596) > > at > > org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118) > > at > > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594) > > at > > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116) > > at > > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594) > > at > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433) > > at > > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948) > > at > > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:127) > > at > > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596) > > at > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433) > > at > > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948) > > at > > org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152) > > at > > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) > > at > > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) > > at > > org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) > > at > > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) > > at java.lang.Thread.run(Thread.java:534) > > Caused by: javax.xml.stream.FactoryConfigurationError: Provider null could > > not be instantiated: java.lang.NullPointerException > > at javax.xml.stream.FactoryFinder.newInstance(FactoryFinder.java:75) > > at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:136) > > at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:92) > > at > > javax.xml.stream.XMLOutputFactory.newInstance(XMLOutputFactory.java:98) > > at > > org.apache.axis2.om.impl.OMOutputImpl.setOutputStream(OMOutputImpl.java:96) > > at > > org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:125) > > ... 33 more > > > > > > > > > > > > > -- > Davanum Srinivas : http://wso2.com/ - Oxygenating The Web Service Platform > -- Davanum Srinivas : http://wso2.com/ - Oxygenating The Web Service Platform