The problem was that the Ode 1.2 distribution's default configuration is set
to an EMBEDDED Derby database, but does not have the embeded database name
set to either hibdb or jpadb. 

The fix was to uncomment the ode-jbi.db.emb.name property in the
ode-jbi.properties file of the ode-jbi-1.2.zip, e.g.:
ode-jbi-db.emb.name=jpadb

Works in ServiceMix 3.2.2 with an unaltered Ode 1.2 jbi distribution.




scott-o wrote:
> 
> Has anybody had success with running Ode 1.2 in ServiceMix 3.2.1 (on
> Windows XP, jdk1.6.0_06)?
> 
> I had no problems installing the unaltered jbi distribution of Ode 1.2,
> but I get an "IllegalArgumenException: Unroutable invocation" exception
> thrown by servicemix when running the HelloWorld2 example. The endpoints
> look good and the wsdl looks good.
> 
> I'm going to try the Ode 1.1 distribution, but have already noticed
> discrepencies between the instructions of 
> http://www.nabble.com/Does-someone-have-ODE-working-as-a-JBI-component-in-ServiceMix---td16857751.html#a16862454
>  
> and the contents of the lib of ServiceMix 3.2.1 (e.g, no geranimo beta
> jars, no geranimo kernel).
> 
> Here's the console output of the error:
> 
> ERROR - OdeService                     - ODE MEX
> {MyRoleMex#hqejbhcnphr3h5sut7pdxq [Client
> ID:156.74.13.129-11b7adc54a9-11:3] 
> 
> calling {urn:/HelloWorld2.wsdl}HelloService.HelloRequest(...)} was
> unroutable. 
> WARN  - jetty                          - Nested in
> javax.servlet.ServletException: Failed to process request: 
> 
> java.lang.Exception: java.lang.IllegalArgumentException: 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:67)
>         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                          - /hello-doc/
> 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:67)
>         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)
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/ServiceMix-3.2.1-with-Ode-1.2-tp18780614p18783193.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to