You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Joatham <co...@joathamperezexposito.es> on 2011/11/24 18:35:44 UTC
Re: Servicemix-cxf-se Problem
org.apache.cxf.transport.jbi.JBIDestination
In log, I can see:
2011-11-24 17:29:38,935 DEBUG
[org.apache.cxf.transport.http_jetty.JettyHTTPDestination:45] registering
incoming observer:
org.apache.servicemix.cxfbc.CxfBcConsumer$JbiChainInitiationObserver@6c07d57f
2011-11-24 17:29:38,935 DEBUG
[org.apache.cxf.transport.http_jetty.JettyHTTPDestination:142] Activating
receipt of incoming messages
2011-11-24 17:29:38,936 DEBUG [org.mortbay.jetty:70] Container
ContextHandlerCollection@28b03831 +
org.mortbay.jetty.handler.ContextHandler@7651bc41{,null} as handler
2011-11-24 17:29:38,936 DEBUG [org.mortbay.jetty:70] Container
org.mortbay.jetty.handler.ContextHandler@7651bc41{,null} +
JettyHTTPHandler@701e8c16 as handler
2011-11-24 17:29:38,937 DEBUG [org.mortbay.jetty:70] Container
org.mortbay.jetty.handler.ContextHandler@7651bc41{,null} +
ErrorHandler@23de3dfa as errorHandler
and:
2011-11-24 17:31:34,731 WARN [org.mortbay.jetty:96] EXCEPTION
java.lang.ClassCastException: org.apache.cxf.transport.jbi.JBIDestination
at
org.apache.servicemix.cxfbc.ListServiceHandler.handle(ListServiceHandler.java:80)
at org.mortbay.jetty.handler.HandlerList.handle(HandlerList.java:49)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:320)
at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:561)
at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:891)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:533)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:207)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:430)
at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
at
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:522)
--
View this message in context: http://servicemix.396122.n5.nabble.com/Servicemix-cxf-se-Problem-org-apache-cxf-transport-jbi-JBIDestination-tp5020554p5020793.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: Servicemix-cxf-se Problem
org.apache.cxf.transport.jbi.JBIDestination
Posted by Joatham <co...@joathamperezexposito.es>.
I've been looking at the library and the exception is false, since jetty
always generates the error, by default. The problem is not being displayed
because the web service in ServiceMix.
Knew what his motive.
--
View this message in context: http://servicemix.396122.n5.nabble.com/Servicemix-cxf-se-Problem-org-apache-cxf-transport-jbi-JBIDestination-tp5020554p5034883.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: Servicemix-cxf-se Problem org.apache.cxf.transport.jbi.JBIDestination
Posted by Freeman Fang <fr...@gmail.com>.
Hi,
Looked at
2011-11-24 17:31:34,731 WARN org.mortbay.jetty:96 EXCEPTION
java.lang.ClassCastException:
org.apache.cxf.transport.jbi.JBIDestination
it's most likely your cxf bc consumer configuration is incorrect which
pick up the wrong destination(it should be http destination but you
try to load jbi destination)
We have cxf-wsdl-first(JBI packaging) and cxf-wsdl-first-osgi-
package(OSGi packaging) shipped with kit which is exactly same as your
scenario, I think you need take a look and tell the difference with
your own project.
Freeman
On 2011-11-25, at 上午1:35, Joatham wrote:
> In log, I can see:
>
> 2011-11-24 17:29:38,935 DEBUG
> [org.apache.cxf.transport.http_jetty.JettyHTTPDestination:45]
> registering
> incoming observer:
> org.apache.servicemix.cxfbc.CxfBcConsumer
> $JbiChainInitiationObserver@6c07d57f
> 2011-11-24 17:29:38,935 DEBUG
> [org.apache.cxf.transport.http_jetty.JettyHTTPDestination:142]
> Activating
> receipt of incoming messages
> 2011-11-24 17:29:38,936 DEBUG [org.mortbay.jetty:70] Container
> ContextHandlerCollection@28b03831 +
> org.mortbay.jetty.handler.ContextHandler@7651bc41{,null} as handler
> 2011-11-24 17:29:38,936 DEBUG [org.mortbay.jetty:70] Container
> org.mortbay.jetty.handler.ContextHandler@7651bc41{,null} +
> JettyHTTPHandler@701e8c16 as handler
> 2011-11-24 17:29:38,937 DEBUG [org.mortbay.jetty:70] Container
> org.mortbay.jetty.handler.ContextHandler@7651bc41{,null} +
> ErrorHandler@23de3dfa as errorHandler
>
>
> and:
>
> 2011-11-24 17:31:34,731 WARN [org.mortbay.jetty:96] EXCEPTION
> java.lang.ClassCastException:
> org.apache.cxf.transport.jbi.JBIDestination
> at
> org
> .apache
> .servicemix.cxfbc.ListServiceHandler.handle(ListServiceHandler.java:
> 80)
> at
> org.mortbay.jetty.handler.HandlerList.handle(HandlerList.java:49)
> at
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
> 152)
> at org.mortbay.jetty.Server.handle(Server.java:320)
> at
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
> 561)
> at
> org.mortbay.jetty.HttpConnection
> $RequestHandler.headerComplete(HttpConnection.java:891)
> at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:533)
> at
> org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:207)
> at
> org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:430)
> at
> org
> .mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:
> 409)
> at
> org.mortbay.thread.QueuedThreadPool
> $PoolThread.run(QueuedThreadPool.java:522)
>
>
>
> --
> View this message in context: http://servicemix.396122.n5.nabble.com/Servicemix-cxf-se-Problem-org-apache-cxf-transport-jbi-JBIDestination-tp5020554p5020793.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
---------------------------------------------
Freeman Fang
FuseSource
Email:ffang@fusesource.com
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com