You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by KrisK <pk...@gmail.com> on 2009/02/25 19:09:00 UTC

Exception while connecting to a queue while placing message from ESB

HI,

I am facing the following exception while writing a message to a queue using
a JMS Binding component. This issue is happening only in one of the
machines.I have couple of other servers which works fine..Please can someone
enlighten me on what the issue could be.

[org.mortbay.jetty] /testService/services/testPlacement/
java.lang.IllegalStateException: Exchange not found
	at
org.apache.servicemix.http.processors.ConsumerProcessor.process(ConsumerProcessor.java:187)
	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:502)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:363)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
	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:324)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:397)
	at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
	at
org.mortbay.jetty.nio.SelectChannelConnector$RetryContinuation.run(SelectChannelConnector.java:525)
	at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)

Regards,
KrisK
-- 
View this message in context: http://www.nabble.com/Exception-while-connecting-to-a-queue-while-placing-message-from-ESB-tp22208444p22208444.html
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.


Re: Exception while connecting to a queue while placing message from ESB

Posted by Gert Vanthienen <ge...@gmail.com>.
L.S.,

The stacktrace that you show us is from the servicemix-http component
and not from the servicemix-jms component, so I guess you should look
a solution at that end.  Could you explain to us what you are trying
to do here?  A description of the configured route or the xbean.xml
files would help us solve this...

Regards,

Gert Vanthienen
------------------------
Open Source SOA: http://fusesource.com
Blog: http://gertvanthienen.blogspot.com/



2009/2/25 KrisK <pk...@gmail.com>:
>
> HI,
>
> I am facing the following exception while writing a message to a queue using
> a JMS Binding component. This issue is happening only in one of the
> machines.I have couple of other servers which works fine..Please can someone
> enlighten me on what the issue could be.
>
> [org.mortbay.jetty] /testService/services/testPlacement/
> java.lang.IllegalStateException: Exchange not found
>        at
> org.apache.servicemix.http.processors.ConsumerProcessor.process(ConsumerProcessor.java:187)
>        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:502)
>        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:363)
>        at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
>        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:324)
>        at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
>        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:397)
>        at
> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
>        at
> org.mortbay.jetty.nio.SelectChannelConnector$RetryContinuation.run(SelectChannelConnector.java:525)
>        at
> org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)
>
> Regards,
> KrisK
> --
> View this message in context: http://www.nabble.com/Exception-while-connecting-to-a-queue-while-placing-message-from-ESB-tp22208444p22208444.html
> Sent from the ServiceMix - Dev mailing list archive at Nabble.com.
>
>