Nice to hear that... BTW AFAIK XmlBeans works well with ws-tx-asl+stax-api-1.01. jars(shipped with axis2-bin distro) ... I used them for a code generation just a while ago and worked fine...
~Thilina On 11/16/06, Mehar SVLN <[EMAIL PROTECTED]> wrote:
Hai Thilina, I got the culprit its jsr173-api1.0.jar but this is a compulsary jar with xmlbeans, i am using axis2.1.1 in conjunction with xmlbeans(Even 2.2 version of xmlbeans using the sam jsr* jar)... How can i resolve this???? Any clues Thanks in advance Mehar On 11/16/06, Mehar SVLN <[EMAIL PROTECTED]> wrote: > Hai Thilina, > > I ve checked all my jars that are getting included only wstx-asl-3.0.1 is the only implementation i have and nothing else > > Ok let me test once again and let u know.... > > I see the same problem reported at this site but with web logic > > http://www.mail-archive.com/[email protected]/msg21258.html > > But i dont see any tomcat libraries giving this service... > > > > > On 11/16/06, Thilina Gunarathne <[EMAIL PROTECTED] > wrote: > > Please try using the wstx-asl-3.0.1.jar which comes with Axis2 distro > > as your stax impl... > > > > Also try your use case in a clean Axis2 war in a clean tomcat instance.. > > > > ~Thilina > > > > On 11/15/06, Mehar SVLN < [EMAIL PROTECTED]> wrote: > > > Hai, > > > I ve tried that.. To my knowledge there are no more jars corrosponding to > > > stax > > > i ve stax-api-1.0.1 that comes with axis2.1.1 war distribution and > > > jsr173_1.0_api.jar that comes with xml beans... > > > Strange thing is both of them have this method... > > > > > > Any clues??? > > > > > > Thanks in advance > > > > > > > > > On 11/15/06, Thilina Gunarathne <[EMAIL PROTECTED]> wrote: > > > > > > > > Try the same magic.. Hunt for older jars... This case it looks like > > > > older Stax jars.. > > > > > > > > ~Thilina > > > > > > > > On 11/15/06, Mehar SVLN <[EMAIL PROTECTED] > 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: > > > [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > -- > > > Rgds > > > Mehar > > > > > > -- > > http://webservices.apache.org/~thilina/ > > http://thilinag.blogspot.com/ > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > -- > Rgds > Mehar -- Rgds Mehar
-- http://webservices.apache.org/~thilina/ http://thilinag.blogspot.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
