axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thilina Gunarathne" <cset...@gmail.com>
Subject Re: Exception while running invoking an application with axis 2.1.1
Date Wed, 15 Nov 2006 09:51:21 GMT
Try the same magic.. Hunt for older jars... This case it looks like
older Stax jars..

~Thilina

On 11/15/06, Mehar SVLN <meharsvln@gmail.com> wrote:
> Hai,
> I am using axis 2.1.1
>
> When i am trying to invoke one of my operations i am getting this exception
>
> [java] Nov 15, 2006 2:27:39 PM
> org.apache.axis2.transport.http.AxisServlet doPost
>      [java] SEVERE: java.lang.NoSuchMethodError:
> javax.xml.stream.XMLOutputFactory.newInstance(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljavax/xml/stream/XMLOutputFactory;
>      [java] Nov 15, 2006 2:27:39 PM
> org.apache.catalina.core.StandardWrapperValve invoke
>      [java] SEVERE: Servlet.service() for servlet AxisServlet threw
> exception
>      [java] java.lang.NoSuchMethodError:
> javax.xml.stream.XMLOutputFactory.newInstance(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljavax/xml/stream/XMLOutputFactory;
>      [java]     at
> org.apache.axiom.om.util.StAXUtils.getXMLOutputFactory(StAXUtils.java:97)
>      [java]     at
> org.apache.axiom.om.util.StAXUtils.createXMLStreamWriter(StAXUtils.java:123)
>      [java]     at
> org.apache.axiom.om.impl.MTOMXMLStreamWriter
> .<init>(MTOMXMLStreamWriter.java:74)
>      [java]     at
> org.apache.axiom.om.impl.llom.OMNodeImpl.serializeAndConsume(OMNodeImpl.java:410)
>      [java]     at
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.sendUsingOutputStream
> (CommonsHTTPTransportSender.java:275)
>      [java]     at
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:209)
>      [java]     at
> org.apache.axis2.engine.AxisEngine.sendFault
> (AxisEngine.java:710)
>      [java]     at
> org.apache.axis2.transport.http.AxisServlet.handleFault(AxisServlet.java:305)
>      [java]     at
> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:287)
>      [java]     at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>      [java]     at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>      [java]     at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> (ApplicationFilterChain.java:252)
>      [java]     at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>      [java]     at
> org.apache.catalina.core.StandardWrapperValve.invoke(
> StandardWrapperValve.java:213)
>      [java]     at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>      [java]     at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
> :126)
>      [java]     at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>      [java]     at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>      [java]     at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>      [java]     at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>      [java]     at
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection
> (Http11BaseProtocol.java:667)
>      [java]     at
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>      [java]     at
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java
> :80)
>      [java]     at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>      [java]     at java.lang.Thread.run(Thread.java:595)
>      [java] Nov 15, 2006 2:27:39 PM
> org.apache.catalina.core.ApplicationDispatcher invoke
>      [java] SEVERE: Servlet.service() for servlet jsp threw exception
>      [java] java.lang.IllegalStateException: getOutputStream() has already
> been called for this response
>      [java]     at
> org.apache.catalina.connector.Response.getWriter
> (Response.java:606)
>      [java]     at
> org.apache.catalina.connector.ResponseFacade.getWriter(ResponseFacade.java:195)
>      [java]     at
> org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:124)
>      [java]     at
> org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:117)
>      [java]     at
> org.apache.jasper.runtime.PageContextImpl.release(PageContextImpl.java:191)
>      [java]     at
> org.apache.jasper.runtime.JspFactoryImpl.internalReleasePageContext
> (JspFactoryImpl.java:115)
>      [java]     at
> org.apache.jasper.runtime.JspFactoryImpl.releasePageContext(JspFactoryImpl.java:75)
>      [java]     at
> org.apache.jsp.axis2_002dweb.Error.error500_jsp._jspService(org.apache.jsp.axis2_002dweb.Error.error500_jsp:97
> )
>      [java]     at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>      [java]     at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>      [java]     at
> org.apache.jasper.servlet.JspServletWrapper.service
> (JspServletWrapper.java:332)
>      [java]     at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
>      [java]     at
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>      [java]     at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>      [java]     at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>      [java]     at
> org.apache.catalina.core.ApplicationFilterChain.doFilter
> (ApplicationFilterChain.java:173)
>      [java]     at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
>      [java]     at
> org.apache.catalina.core.ApplicationDispatcher.processRequest
> (ApplicationDispatcher.java:465)
>      [java]     at
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
>      [java]     at
> org.apache.catalina.core.ApplicationDispatcher.forward(
> ApplicationDispatcher.java:301)
>      [java]     at
> org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:363)
>      [java]     at
> org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java
> :284)
>      [java]     at
> org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:228)
>      [java]     at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:134)
>      [java]     at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>      [java]     at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>      [java]     at
> org.apache.catalina.connector.CoyoteAdapter.service
> (CoyoteAdapter.java:148)
>      [java]     at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>      [java]     at
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection
> (Http11BaseProtocol.java:667)
>      [java]     at
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>      [java]     at
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java
> :80)
>      [java]     at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>      [java]     at java.lang.Thread.run(Thread.java:595)
>
> Can anyone help me on this
>
>  Thanks in advance
> --
> Rgds
> Mehar


-- 
http://webservices.apache.org/~thilina/
http://thilinag.blogspot.com/

---------------------------------------------------------------------
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