axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arnaud MERGEY <amer...@sunopsis.com>
Subject Re: Axis2 1.0 getOutputStream() has already been called for this response
Date Wed, 10 May 2006 15:49:45 GMT
Just to inform you, with xmlbeans data binding I have the 
getOutputStream() has already been called for this response error


Davanum Srinivas a écrit :
> Ah...let me see how to fix it.
>
> thanks,
> dims
>
> On 5/10/06, Arnaud MERGEY <amergey@sunopsis.com> wrote:
>> With empty soap header, invocation works !
>>
>> Arnaud
>>
>> Davanum Srinivas a écrit :
>> > Hmm...i think i can guess where the problem is. could u please try
>> > adding an empty soap header in the soapui (when u send the request
>> > message?)
>> >
>> > thanks,
>> > dims
>> >
>> > On 5/10/06, Arnaud MERGEY <amergey@sunopsis.com> wrote:
>> >> In tomcat logs I have:
>> >>
>> >> GRAVE: Exception Processing ErrorPage[errorCode=500,
>> >> location=/axis2-web/Error/error500.jsp]
>> >> org.apache.jasper.JasperException: "getOutputStream()" a déjà été 
>> appelé
>> >> pour cette réponse
>> >>     at
>> >> 
>> org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)

>>
>> >>
>> >>     at
>> >> 
>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:387) 
>>
>> >>
>> >>     at
>> >> 
>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
>> >>     at 
>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>> >>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>> >>     at
>> >> 
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)

>>
>> >>
>> >>     at
>> >> 
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

>>
>> >>
>> >>     at
>> >> 
>> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)

>>
>> >>
>> >>     at
>> >> 
>> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:465)

>>
>> >>
>> >>     at
>> >> 
>> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)

>>
>> >>
>> >>     at
>> >> 
>> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)

>>
>> >>
>> >>     at
>> >> 
>> org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:363) 
>>
>> >>
>> >>     at
>> >> 
>> org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:284) 
>>
>> >>
>> >>     at
>> >> 
>> org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:228)

>>
>> >>
>> >>     at
>> >> 
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:134) 
>>
>> >>
>> >>     at
>> >> 
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) 
>>
>> >>
>> >>     at
>> >> 
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)

>>
>> >>
>> >>     at
>> >> 
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) 
>>
>> >>
>> >>     at
>> >> 
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) 
>>
>> >>
>> >>     at
>> >> 
>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)

>>
>> >>
>> >>     at
>> >> 
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)

>>
>> >>
>> >>     at
>> >> 
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)

>>
>> >>
>> >>     at
>> >> 
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)

>>
>> >>
>> >>     at java.lang.Thread.run(Thread.java:595)
>> >>
>> >> Davanum Srinivas a écrit :
>> >> > Can you please check the tomcat logs?
>> >> >
>> >> > thanks,
>> >> > dims
>> >> >
>> >> > On 5/10/06, Arnaud MERGEY <amergey@sunopsis.com> wrote:
>> >> >> This is stack  trace
>> >> >>
>> >> 
>> org.apache.axiom.om.impl.llom.OMElementImpl.getNextOMSibling(OMElementImpl.java:265)

>>
>> >>
>> >> >>
>> >> >>
>> >> >>
>> >> 
>> org.apache.axiom.om.impl.traverse.OMChildrenQNameIterator.hasNext(OMChildrenQNameIterator.java:75)

>>
>> >>
>> >> >>
>> >> >>
>> >> >>
>> >> 
>> org.apache.axiom.om.impl.llom.OMElementImpl.getFirstChildWithName(OMElementImpl.java:222)

>>
>> >>
>> >> >>
>> >> >>
>> >> >>
>> >> 
>> org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl.getHeader(SOAPEnvelopeImpl.java:76)

>>
>> >>
>> >> >>
>> >> >>
>> >> >>
>> >> 
>> org.apache.axis2.engine.AxisEngine.createFaultMessageContext(AxisEngine.java:183)

>>
>> >>
>> >> >>
>> >> >>
>> >> >>
>> >> 
>> org.apache.axis2.transport.http.AxisServlet.handleFault(AxisServlet.java:168) 
>>
>> >>
>> >> >>
>> >> >>
>> >> >>
>> >> 
>> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:153)
>> >> >>     javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>> >> >>     javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>> >> >>
>> >> >> Arnaud MERGEY a écrit :
>> >> >> > Hi,
>> >> >> > I want to generate a web service from a wsdl file with 
>> WSDL2Java.
>> >> >> > I'have tried adb data binding and jibx data binding.
>> >> >> > I successfully deploy my web service in tomcat (5.5.17)
>> >> >> > When I invoke the service, I'have an HTTP 500 server error
>> >> >> > "java.lang.IllegalStateException: getOutputStream() has already
>> >> been
>> >> >> > called for this response"
>> >> >> > whith both adb and jibx databinding.
>> >> >> > The only code I have written is in generated skeleton and
I only
>> >> >> > return the response object.
>> >> >> >
>> >> >> > Is something has similar problem ?
>> >> >> >
>> >> >> > thanks
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >> > --
>> >> > Davanum Srinivas : http://wso2.com/blogs/
>> >> >
>> >>
>> >>
>> >
>> >
>> > --
>> > Davanum Srinivas : http://wso2.com/blogs/
>> >
>>
>>
>
>
> -- 
> Davanum Srinivas : http://wso2.com/blogs/
>


Mime
View raw message