[ https://issues.apache.org/activemq/browse/SM-1035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40189 ]
koti reddy commented on SM-1035: -------------------------------- Hi Guillaume, Do you have a fix for this? B'cause of this continuation problem we are having errors below in our production system javax.xml.stream.XMLStreamException at com.ctc.wstx.sw.BaseNsStreamWriter.doWriteStartTag(BaseNsStreamWriter.java:501) at com.ctc.wstx.sw.BaseNsStreamWriter.writeStartElement(BaseNsStreamWriter.java:305) at org.apache.servicemix.jbi.jaxp.XMLStreamHelper.writeStartElement(XMLStreamHelper.java:110 ) at org.apache.servicemix.jbi.jaxp.XMLStreamHelper.copy(XMLStreamHelper.java:59) at org.apache.servicemix.soap.marshalers.SoapWriter.writeContents(SoapWriter.java:198) at org.apache.servicemix.soap.marshalers.SoapWriter.writeSoapEnvelope(SoapWriter.java:190) at org.apache.servicemix.soap.marshalers.SoapWriter.writeSimpleMessage(SoapWriter.java:99) at org.apache.servicemix.soap.marshalers.SoapWriter.write(SoapWriter.java:82) at org.apache.servicemix.http.processors.ConsumerProcessor.process(ConsumerProcessor.java:24 4) at org.apache.servicemix.http.HttpBridgeServlet.doPost(HttpBridgeServlet.java:71) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:367) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:2 11) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:281) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:502) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:372) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:368) at org.mortbay.jetty.nio.SelectChannelConnector$RetryContinuation.run(SelectChannelConnector .java:489) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442) > Continuation problems when Max Idle Time ocurr > ---------------------------------------------- > > Key: SM-1035 > URL: https://issues.apache.org/activemq/browse/SM-1035 > Project: ServiceMix > Issue Type: Bug > Components: servicemix-http > Environment: Servicemix 3.1 > Reporter: Jorge RodrÃguez Pedrianes > Assignee: Guillaume Nodet > Fix For: 3.2 > > Original Estimate: 2 minutes > Remaining Estimate: 2 minutes > > HI! > I saw in Http binding component, that if my service work too time, the > http endpoint retry the current request. but this it's wrong. I think that in > ConsumerProcessor class it's better to do this: > {code:title=ConsumerProcessor java|borderStyle=solid} > ... > public void process(HttpServletRequest request, HttpServletResponse > response) throws Exception { > .... > // If the continuation is not a retry > if (!cont.isPending() && cont.isNew()) { > ... > } > {code} > Whith this we avoid put the request two times in the bus. > Thanks. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.