You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "venkiramu@gmail.com" <ve...@gmail.com> on 2011/12/19 05:46:38 UTC

java.lang.IllegalStateException: component is not owner & Request time out

Environment : ServiceMix 3.3.2
                    Java 1.6
                    servicemix-http-2010.01


servicemix-http component is throwing following exceptions when we sends
soap requests at the same time concurrently. We are using "*processInOnly*"
exchange pattern. Can anybody tell what could be the problem.

java.lang.IllegalStateException: component is not owner when trying to set
error: java.lang.IllegalStateException: component is not owner
	at
org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setError(MessageExchangeImpl.java:264)
	at
org.apache.servicemix.http.processors.ConsumerProcessor.process(ConsumerProcessor.java:239)
	at
org.apache.servicemix.http.HttpBridgeServlet.service(HttpBridgeServlet.java:56)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
	at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
	at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.Server.handle(Server.java:326)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
	at
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:938)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:755)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
	at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
	at
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
Caused by: java.lang.IllegalStateException: component is not owner
	at
org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setStatus(MessageExchangeImpl.java:251)
	at
org.apache.servicemix.http.processors.ConsumerProcessor.process(ConsumerProcessor.java:236)
	... 16 more
2011-12-11 17:58:01,887 | ERROR |
pool-flow.seda.gep-dbcleanup-se-thread-21774 | HttpComponent            |
emix.common.AsyncBaseLifeCycle  537 | Error processing exchange InOnly[
  id: ID:10.41.84.33-13408e2df16-29:10886
  status: Done
  role: consumer
  service: {urn:servicemix:eventpipe:dbcleanup}DbCleanUp
  endpoint: provider
  operation:
{http://servicemix.apache.org/samples/wsdl-first/types}DbCleanUp
  in: <?xml version="1.0" encoding="UTF-8"?>
]
java.lang.Exception: HTTP request has timed out
	at
org.apache.servicemix.http.processors.ConsumerProcessor.process(ConsumerProcessor.java:98)
	at org.apache.servicemix.soap.SoapEndpoint.process(SoapEndpoint.java:400)
	at
org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:627)
	at
org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:598)
	at
org.apache.servicemix.common.AsyncBaseLifeCycle.onMessageExchange(AsyncBaseLifeCycle.java:535)
	at
org.apache.servicemix.common.SyncLifeCycleWrapper.onMessageExchange(SyncLifeCycleWrapper.java:60)
	at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:632)
	at
org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:185)
	at
org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:168)
	at
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)


--
View this message in context: http://servicemix.396122.n5.nabble.com/java-lang-IllegalStateException-component-is-not-owner-Request-time-out-tp5085076p5085076.html
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.