You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Charles Souillard <ch...@ext.bull.net> on 2005/12/19 16:11:07 UTC
creating a new example
Hi all,
I am new to servicemix and I am trying to create a new example.
I visited this page :
http://www.itarchitect.co.uk/articles/display.asp?id=222 where an
example is given.
Some modifications were mandatory. I am now able to compile and launch
my servicemix example.
But at execution time, I get the following error :
Can you help me ?
You can find in attachment a zip file containing my example.
Thanks for your help.
Regards,
Charles
/serviceMix/servicemix-2.0.2/examples/vsjmix$ servicemix vsjmix.xml
ServiceMix ESB: 2.0.2
Loading ServiceMix from file: vsjmix.xml
15:09:34.401 EVENT Starting Jetty/4.2.20RC0
15:09:34.464 EVENT Started ServletHttpContext[/]
15:09:34.502 EVENT Started SocketListener on 127.0.0.1:8080
15:09:34.502 EVENT Started org.mortbay.jetty.Server@221e9e
Hello, message =
org.servicemix.jbi.messaging.NormalizedMessageImpl@24de7d{properties:
{}}, exchange = org.servicemix.jbi.messaging.InOutImpl@8b058b
15:09:35.139 WARN!! Exception for /
javax.jbi.messaging.MessagingException: illegal exchange status: done
at
org.servicemix.jbi.messaging.MessageExchangeImpl.handleSend(MessageExchangeImpl.java:535)
at
org.servicemix.jbi.messaging.DeliveryChannelImpl.doSend(DeliveryChannelImpl.java:346)
at
org.servicemix.jbi.messaging.DeliveryChannelImpl.send(DeliveryChannelImpl.java:387)
at
org.servicemix.components.util.PojoSupport.done(PojoSupport.java:209)
at MySender.onMessageExchange(Unknown Source)
at
org.servicemix.components.util.ComponentAdaptorMEListener.onMessageExchange(ComponentAdaptorMEListener.java:48)
at
org.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:588)
at
org.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:171)
at
org.servicemix.jbi.nmr.flow.seda.SedaFlow.doSend(SedaFlow.java:140)
at
org.servicemix.jbi.nmr.flow.AbstractFlow.send(AbstractFlow.java:119)
at org.servicemix.jbi.nmr.Broker.sendExchangePacket(Broker.java:289)
at
org.servicemix.jbi.container.JBIContainer.sendExchange(JBIContainer.java:567)
at
org.servicemix.jbi.messaging.DeliveryChannelImpl.doSend(DeliveryChannelImpl.java:347)
at
org.servicemix.jbi.messaging.DeliveryChannelImpl.sendSync(DeliveryChannelImpl.java:422)
at
org.servicemix.jbi.messaging.DeliveryChannelImpl.sendSync(DeliveryChannelImpl.java:398)
at
org.servicemix.components.http.HttpInOutBinding.processInOut(HttpInOutBinding.java:61)
at
org.servicemix.components.http.HttpInOutBinding.process(HttpInOutBinding.java:46)
at
org.servicemix.components.http.BindingServlet.doPost(BindingServlet.java:77)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:615)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:354)
at
org.mortbay.jetty.servlet.ServletHandler.dispatch(ServletHandler.java:657)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
at org.mortbay.http.HttpServer.service(HttpServer.java:879)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:790)
at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:961)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:807)
at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:197)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:276)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:511)
15:09:35,192 ERROR [PojoSupport] Error processing exchange
javax.jbi.messaging.MessagingException: Error executing http request
at
org.servicemix.components.http.HttpInvoker.transform(HttpInvoker.java:70)
at
org.servicemix.components.util.TransformComponentSupport.onMessageExchange(TransformComponentSupport.java:50)
at
org.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:588)
at
org.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:171)
at
org.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:225)
at
org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.java:291)
at
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Thread.java:595)
Caused by:
org.servicemix.components.http.InvalidStatusResponseException: Invalid
status response code: 500
at
org.servicemix.components.http.HttpInvoker.transform(HttpInvoker.java:62)
... 7 more
Hello, message =
org.servicemix.jbi.messaging.NormalizedMessageImpl@dd75a4{properties:
{}}, exchange = org.servicemix.jbi.messaging.InOutImpl@1568654
15:09:49.294 WARN!! Exception for /
javax.jbi.messaging.MessagingException: illegal exchange status: done
at
org.servicemix.jbi.messaging.MessageExchangeImpl.handleSend(MessageExchangeImpl.java:535)
at
org.servicemix.jbi.messaging.DeliveryChannelImpl.doSend(DeliveryChannelImpl.java:346)
at
org.servicemix.jbi.messaging.DeliveryChannelImpl.send(DeliveryChannelImpl.java:387)
at
org.servicemix.components.util.PojoSupport.done(PojoSupport.java:209)
at MySender.onMessageExchange(Unknown Source)
at
org.servicemix.components.util.ComponentAdaptorMEListener.onMessageExchange(ComponentAdaptorMEListener.java:48)
at
org.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:588)
at
org.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:171)
at
org.servicemix.jbi.nmr.flow.seda.SedaFlow.doSend(SedaFlow.java:140)
at
org.servicemix.jbi.nmr.flow.AbstractFlow.send(AbstractFlow.java:119)
at org.servicemix.jbi.nmr.Broker.sendExchangePacket(Broker.java:289)
at
org.servicemix.jbi.container.JBIContainer.sendExchange(JBIContainer.java:567)
at
org.servicemix.jbi.messaging.DeliveryChannelImpl.doSend(DeliveryChannelImpl.java:347)
at
org.servicemix.jbi.messaging.DeliveryChannelImpl.sendSync(DeliveryChannelImpl.java:422)
at
org.servicemix.jbi.messaging.DeliveryChannelImpl.sendSync(DeliveryChannelImpl.java:398)
at
org.servicemix.components.http.HttpInOutBinding.processInOut(HttpInOutBinding.java:61)
at
org.servicemix.components.http.HttpInOutBinding.process(HttpInOutBinding.java:46)
at
org.servicemix.components.http.BindingServlet.doPost(BindingServlet.java:77)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:615)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:354)
at
org.mortbay.jetty.servlet.ServletHandler.dispatch(ServletHandler.java:657)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
at org.mortbay.http.HttpServer.service(HttpServer.java:879)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:790)
at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:961)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:807)
at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:197)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:276)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:511)
15:09:49,355 ERROR [PojoSupport] Error processing exchange
javax.jbi.messaging.MessagingException: Error executing http request
at
org.servicemix.components.http.HttpInvoker.transform(HttpInvoker.java:70)
at
org.servicemix.components.util.TransformComponentSupport.onMessageExchange(TransformComponentSupport.java:50)
at
org.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:588)
at
org.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:171)
at
org.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:225)
at
org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.java:291)
at
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Thread.java:595)
Caused by:
org.servicemix.components.http.InvalidStatusResponseException: Invalid
status response code: 500
at
org.servicemix.components.http.HttpInvoker.transform(HttpInvoker.java:62)
... 7 more