The Rpc-Example works at least. What versions of smx and ode-jbi do you use? i have smx 3.2 and had to change something in the ode-jbi's jbi.xml to have some geronimo-connector in the class-path, maybe a newer/different version would help?

Johannes
I don't know what's happening off hand.  I would need a log from startup to
see what's deployed, the state of available processes, etc.   I can't
reproduce this on a fresh ServiceMix + Ode install.

alex


On Thu, Apr 10, 2008 at 2:01 PM, Johannes Elsinghorst <
[EMAIL PROTECTED]> wrote:

Hi Alex,
the trailing / gets me further but now i get this exception:

DEBUG - JettyContextManager            - Dispatching job: [EMAIL PROTECTED]
[d=true,io=0,w=true,b=false|false]
DEBUG - JettyContextManager            - Dispatching job: [EMAIL PROTECTED]
[d=true,io=1,w=true,b=false|false]
DEBUG - ConsumerProcessor              - Receiving HTTP request: POST
/ping/ HTTP/1.1
Content-Type: text/xml;charset=UTF-8
SOAPAction: ""
User-Agent: Jakarta Commons-HttpClient/3.0.1
Host: localhost:8080
Content-Length: 213


DEBUG - HttpComponent                  - Created correlation id:
ID:192.168.0.137-119388ed466-7:3
DEBUG - DeliveryChannelImpl            - Send
ID:192.168.0.137-119388ed466-7:3 in DeliveryChannel{servicemix-http}
DEBUG - SedaFlow                       - Called Flow send
DEBUG - ConsumerProcessor              - Suspending continuation for
exchange: ID:192.168.0.137-119388ed466-7:3
DEBUG - SedaQueue                      -
[EMAIL PROTECTED] dequeued
exchange: InOut[
 id: ID:192.168.0.137-119388ed466-7:3
 status: Active
 role: provider
 interface: {urn:/Ping.wsdl}PingPortType
 service: {urn:/Ping.wsdl}PingService
 endpoint: PingPort
 operation: {urn:/Ping.wsdl}PingRequest
 in: <?xml version="1.0" encoding="UTF-8"?><ping:PingRequest
xmlns:ping="urn:/Ping.wsdl" xmlns:soapenv="
http://schemas.xmlsoap.org/soap/envelope/"/>
]
DEBUG - DeliveryChannelImpl            - Accepting
ID:192.168.0.137-119388ed466-7:3 in DeliveryChannel{OdeBpelEngine}
ERROR - OdeService                     - ODE MEX
{MyRoleMex#hqejbhcnphr36nqvfx3i3k [Client ID:192.168.0.137-119388ed466-7:3]
calling {urn:/Ping.wsdl}PingService
.PingRequest(...)} was unroutable.
DEBUG - DeliveryChannelImpl            - Send
ID:192.168.0.137-119388ed466-7:3 in DeliveryChannel{OdeBpelEngine}
DEBUG - SedaFlow                       - Called Flow send
DEBUG - SedaQueue                      -
[EMAIL PROTECTED] dequeued
exchange: InOut[
 id: ID:192.168.0.137-119388ed466-7:3
 status: Error
 role: consumer
 interface: {urn:/Ping.wsdl}PingPortType
 service: {urn:/Ping.wsdl}PingService
 endpoint: PingPort
 operation: {urn:/Ping.wsdl}PingRequest
 in: <?xml version="1.0" encoding="UTF-8"
standalone="no"?><ping:PingRequest xmlns:ping="urn:/Ping.wsdl"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelop
e/"/>
 error: java.lang.IllegalArgumentException: Unroutable invocation.
]
DEBUG - HttpComponent                  - Received exchange: status: Error,
role: consumer
DEBUG - HttpComponent                  - Retrieved correlation id:
ID:192.168.0.137-119388ed466-7:3
DEBUG - ConsumerProcessor              - Resuming continuation for
exchange: ID:192.168.0.137-119388ed466-7:3
DEBUG - JettyContextManager            - Dispatching job:
[EMAIL PROTECTED],pending,resumed
DEBUG - ConsumerProcessor              - Receiving HTTP request: POST
/ping/ HTTP/1.1
Content-Type: text/xml;charset=UTF-8
SOAPAction: ""
User-Agent: Jakarta Commons-HttpClient/3.0.1
Host: localhost:8080
Content-Length: 213


WARN  - jetty                          - Nested in
javax.servlet.ServletException: Failed to process request:
java.lang.Exception: java.lang.IllegalArgumentExce
ption: Unroutable invocation.:
java.lang.Exception: java.lang.IllegalArgumentException: Unroutable
invocation.
      at
org.apache.servicemix.http.processors.ConsumerProcessor.process(ConsumerProcessor.java:194)
      at
org.apache.servicemix.http.HttpBridgeServlet.doPost(HttpBridgeServlet.java:71)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
      at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
      at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
      at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
      at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
      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:313)
      at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
      at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:375)
      at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
      at
org.mortbay.jetty.nio.SelectChannelConnector$RetryContinuation.run(SelectChannelConnector.java:511)
      at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
Caused by: java.lang.IllegalArgumentException: Unroutable invocation.
      at org.apache.ode.jbi.OdeService.invokeOde(OdeService.java:257)
      at
org.apache.ode.jbi.OdeService.onJbiMessageExchange(OdeService.java:148)
      at
org.apache.ode.jbi.JbiMessageExchangeEventRouter.onJbiMessageExchange(JbiMessageExchangeEventRouter.java:47)
      at org.apache.ode.jbi.Receiver$1.run(Receiver.java:179)
      at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
      at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
      at java.lang.Thread.run(Thread.java:619)
WARN  - jetty                          - /ping/
java.lang.Exception: java.lang.IllegalArgumentException: Unroutable
invocation.
      at
org.apache.servicemix.http.processors.ConsumerProcessor.process(ConsumerProcessor.java:194)
      at
org.apache.servicemix.http.HttpBridgeServlet.doPost(HttpBridgeServlet.java:71)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
      at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
      at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
      at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
      at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
      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:313)
      at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
      at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:375)
      at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
      at
org.mortbay.jetty.nio.SelectChannelConnector$RetryContinuation.run(SelectChannelConnector.java:511)
      at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
Caused by: java.lang.IllegalArgumentException: Unroutable invocation.
      at org.apache.ode.jbi.OdeService.invokeOde(OdeService.java:257)
      at
org.apache.ode.jbi.OdeService.onJbiMessageExchange(OdeService.java:148)
      at
org.apache.ode.jbi.JbiMessageExchangeEventRouter.onJbiMessageExchange(JbiMessageExchangeEventRouter.java:47)
      at org.apache.ode.jbi.Receiver$1.run(Receiver.java:179)
      at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
      at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
      at java.lang.Thread.run(Thread.java:619)


 Oh, I just realized you're getting a redirect (302) and the client isn't
following it automatically.

The URL needs to have a trailing backslash at the end.  Use
http://localhost:8080/ping/ instead of http://localhost:8080/ping

This is a servicemix-http peculiarity.

cheers,
alex



On Thu, Apr 10, 2008 at 9:54 AM, Johannes Elsinghorst <
[EMAIL PROTECTED]> wrote:



Hello,
i deployed all 3 examples without problems using jbi-ode-1.1.1 and smx
3.2.
I can also receive wsdls for them, but when i try to call them via
soap, i
get an debug message "DEBUG - JettyContextManager            -
Dispatching
job: [EMAIL PROTECTED],io=1,w=true,b=false|false]" and this
respons:
"HTTP/1.1 302 Found
Content-Length: 0
Location: http://localhost:8080/ping/
Server: Jetty(6.1.5)"

Whats wrong here?

thanks, Johannes






Reply via email to