Apache Camel,DirectConsumerNotAvailableException在fabric8(karaf)上运行cxf,虽然本地运行良好

时间:2014-06-13 06:39:48

标签: cxf apache-camel karaf fabric8

我在两个上下文中有两个溃败 first获取http(jetty)请求并将其发送到direct:/{{sms.endpoint.name}} 并且second一个从cxf获得pojo cxf:bean:smsCxfEndpoint 并与它一起工作.. cxf端点如下所示:

<camel-cxf:cxfEndpoint id="smsCxfEndpoint"
        address="camel://direct:{{sms.endpoint.name}}"
        serviceClass="ua.np.services.smsinfo.impl.SmsService"/>

本地运行完美,但是当它在容器上运行时会出现一些邪恶:

请帮帮我^)

    Failed delivery for (MessageId: ID-dev-fab01-49814-1402583188376-0-2 on ExchangeId: ID-dev-fab01-49814-1402583188376-0-1). Exhausted after delivery attempt: 1 caught: org.apache.camel.component.direct.DirectConsumerNotAvailableException: No consumers available on endpoint: Endpoint[direct://smsinfo]. Exchange[Message: [Body is instance of java.io.InputStream]]


Message History
---------------------------------------------------------------------------------------------------------------------------------------
RouteId              ProcessorId          Processor                                                                        Elapsed (ms)
[jetty-to-cxf      ] [jetty-to-cxf      ] [http://0.0.0.0:8090/smsinfo?disableStreamCache=true                           ] [        65]
[jetty-to-cxf      ] [to1               ] [direct:smsinfo                                                                ] [        37]


Exchange
---------------------------------------------------------------------------------------------------------------------------------------
Exchange[
  Id                  ID-dev-fab01-49814-1402583188376-0-1
  ExchangePattern     InOut
  Headers             {Accept-Encoding=gzip,deflate, breadcrumbId=ID-dev-fab01-49814-1402583188376-0-2, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=null, CamelHttpServletRequest=(POST /smsinfo)@1969775829 org.eclipse.jetty.server.Request@756864d5, CamelHttpServletResponse=HTTP/1.1 200


, CamelHttpUri=/smsinfo, CamelHttpUrl=http://dev-fab01.np.ua:8090/smsinfo, CamelRedelivered=false, CamelRedeliveryCounter=0, CamelServletContextPath=/smsinfo, Connection=keep-alive, Content-Length=798, Content-Type=text/xml;charset=UTF-8, Host=dev-fab01.np.ua:8090,


SOAPAction="", User-Agent=Apache-HttpClient/4.1.1 (java 1.5)}
  BodyType            org.eclipse.jetty.server.HttpInput
  Body                [Body is instance of java.io.InputStream]
]


Stacktrace
---------------------------------------------------------------------------------------------------------------------------------------



Stack Trace:
org.apache.camel.component.direct.DirectConsumerNotAvailableException: No consumers available on endpoint: Endpoint[direct://smsinfo]. Exchange[Message: [Body is instance of java.io.InputStream]]
  at org.apache.camel.component.direct.DirectProducer.process(DirectProducer.java:47)[org.apache.camel:camel-core:2.12.0.redhat-610379 com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:1.4]
  at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:110)[org.apache.camel:camel-core:2.12.0.redhat-610379 com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:1.4]
  at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:72)[org.apache.camel:camel-core:2.12.0.redhat-610379 com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:1.4]
  at org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:163)[org.apache.camel:camel-core:2.12.0.redhat-610379 com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:1.4]
  at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:398)[org.apache.camel:camel-core:2.12.0.redhat-610379 com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:1.4]
  at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191)[org.apache.camel:camel-core:2.12.0.redhat-610379 com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:1.4]
  at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191)[org.apache.camel:camel-core:2.12.0.redhat-610379 com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:1.4]
  at org.apache.camel.component.jetty.CamelContinuationServlet.service(CamelContinuationServlet.java:151)[org.apache.camel:camel-jetty:2.12.0.redhat-610379]
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)[org.apache.geronimo.specs:geronimo-servlet_3.0_spec:1.0]
  at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)[org.eclipse.jetty:jetty-io:8.1.14.v20131031 org.eclipse.jetty:jetty-xml:8.1.14.v20131031 org.eclipse.jetty:jetty-nested:8.1.14.v20131031 org.eclipse.jetty:jetty-rewrite:8.1.14.v20131031 org.eclipse.jetty:jetty-plus:8.1.14.v20131031 org.eclipse.jetty:jetty-webapp:8.1.14.v20131031 org.eclipse.jetty:jetty-annotations:8.1.14.v20131031 org.eclipse.jetty:jetty-servlet:8.1.14.v20131031 org.eclipse.jetty:jetty-continuation:8.1.14.v20131031 org.eclipse.jetty:jetty-jaspi:8.1.14.v20131031 org.eclipse.jetty:jetty-security:8.1.14.v20131031 org.eclipse.jetty:jetty-deploy:8.1.14.v20131031 org.eclipse.jetty:jetty-servlets:8.1.14.v20131031 org.eclipse.jetty:jetty-websocket:8.1.14.v20131031 org.eclipse.jetty:jetty-jndi:8.1.14.v20131031 org.eclipse.jetty:jetty-server:8.1.14.v20131031 org.eclipse.jetty:jetty-http:8.1.14.v20131031 org.eclipse.jetty:jetty-util:8.1.14.v20131031 org.eclipse.jetty:jetty-ajp:8.1.14.v20131031 org.eclipse.jetty:jetty-client:8.1.14.v20131031 org.eclipse.jetty:jetty-jmx:8.1.14.v20131031 org.eclipse.jetty.aggregate:jetty-all-server:8.1.14.v20131031]
  at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1496)[org.eclipse.jetty:jetty-io:8.1.14.v20131031 org.eclipse.jetty:jetty-xml:8.1.14.v20131031 org.eclipse.jetty:jetty-nested:8.1.14.v20131031 org.eclipse.jetty:jetty-rewrite:8.1.14.v20131031 org.eclipse.jetty:jetty-plus:8.1.14.v20131031 org.eclipse.jetty:jetty-webapp:8.1.14.v20131031 org.eclipse.jetty:jetty-annotations:8.1.14.v20131031 org.eclipse.jetty:jetty-servlet:8.1.14.v20131031 org.eclipse.jetty:jetty-continuation:8.1.14.v20131031 org.eclipse.jetty:jetty-jaspi:8.1.14.v20131031 org.eclipse.jetty:jetty-security:8.1.14.v20131031 org.eclipse.jetty:jetty-deploy:8.1.14.v20131031 org.eclipse.jetty:jetty-servlets:8.1.14.v20131031 org.eclipse.jetty:jetty-websocket:8.1.14.v20131031 org.eclipse.jetty:jetty-jndi:8.1.14.v20131031 org.eclipse.jetty:jetty-server:8.1.14.v20131031 org.eclipse.jetty:jetty-http:8.1.14.v20131031 org.eclipse.jetty:jetty-util:8.1.14.v20131031 org.eclipse.jetty:jetty-ajp:8.1.14.v20131031 org.eclipse.jetty:jetty-client:8.1.14.v20131031 org.eclipse.jetty:jetty-jmx:8.1.14.v20131031 org.eclipse.jetty.aggregate:jetty-all-server:8.1.14.v20131031]
  at org.eclipse.jetty.servlets.MultiPartFilter.doFilter(MultiPartFilter.java:136)[org.eclipse.jetty:jetty-io:8.1.14.v20131031 org.eclipse.jetty:jetty-xml:8.1.14.v20131031 org.eclipse.jetty:jetty-nested:8.1.14.v20131031 org.eclipse.jetty:jetty-rewrite:8.1.14.v20131031 org.eclipse.jetty:jetty-plus:8.1.14.v20131031 org.eclipse.jetty:jetty-webapp:8.1.14.v20131031 org.eclipse.jetty:jetty-annotations:8.1.14.v20131031 org.eclipse.jetty:jetty-servlet:8.1.14.v20131031 org.eclipse.jetty:jetty-continuation:8.1.14.v20131031 org.eclipse.jetty:jetty-jaspi:8.1.14.v20131031 org.eclipse.jetty:jetty-security:8.1.14.v20131031 org.eclipse.jetty:jetty-deploy:8.1.14.v20131031 org.eclipse.jetty:jetty-servlets:8.1.14.v20131031 org.eclipse.jetty:jetty-websocket:8.1.14.v20131031 org.eclipse.jetty:jetty-jndi:8.1.14.v20131031 org.eclipse.jetty:jetty-server:8.1.14.v20131031 org.eclipse.jetty:jetty-http:8.1.14.v20131031 org.eclipse.jetty:jetty-util:8.1.14.v20131031 org.eclipse.jetty:jetty-ajp:8.1.14.v20131031 org.eclipse.jetty:jetty-client:8.1.14.v20131031 org.eclipse.jetty:jetty-jmx:8.1.14.v20131031 org.eclipse.jetty.aggregate:jetty-all-server:8.1.14.v20131031]
  at org.apache.camel.component.jetty.CamelFilterWrapper.doFilter(CamelFilterWrapper.java:44)[org.apache.camel:camel-jetty:2.12.0.redhat-610379]
  at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1467)[org.eclipse.jetty:jetty-io:8.1.14.v20131031 org.eclipse.jetty:jetty-xml:8.1.14.v20131031 org.eclipse.jetty:jetty-nested:8.1.14.v20131031 org.eclipse.jetty:jetty-rewrite:8.1.14.v20131031 org.eclipse.jetty:jetty-plus:8.1.14.v20131031 org.eclipse.jetty:jetty-webapp:8.1.14.v20131031 org.eclipse.jetty:jetty-annotations:8.1.14.v20131031 org.eclipse.jetty:jetty-servlet:8.1.14.v20131031 org.eclipse.jetty:jetty-continuation:8.1.14.v20131031 org.eclipse.jetty:jetty-jaspi:8.1.14.v20131031 org.eclipse.jetty:jetty-security:8.1.14.v20131031 org.eclipse.jetty:jetty-deploy:8.1.14.v20131031 org.eclipse.jetty:jetty-servlets:8.1.14.v20131031 org.eclipse.jetty:jetty-websocket:8.1.14.v20131031 org.eclipse.jetty:jetty-jndi:8.1.14.v20131031 org.eclipse.jetty:jetty-server:8.1.14.v20131031 org.eclipse.jetty:jetty-http:8.1.14.v20131031 org.eclipse.jetty:jetty-util:8.1.14.v20131031 org.eclipse.jetty:jetty-ajp:8.1.14.v20131031 org.eclipse.jetty:jetty-client:8.1.14.v20131031 org.eclipse.jetty:jetty-jmx:8.1.14.v20131031 org.eclipse.jetty.aggregate:jetty-all-server:8.1.14.v20131031]
  at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499)[org.eclipse.jetty:jetty-io:8.1.14.v20131031 org.eclipse.jetty:jetty-xml:8.1.14.v20131031 org.eclipse.jetty:jetty-nested:8.1.14.v20131031 org.eclipse.jetty:jetty-rewrite:8.1.14.v20131031 org.eclipse.jetty:jetty-plus:8.1.14.v20131031 org.eclipse.jetty:jetty-webapp:8.1.14.v20131031 org.eclipse.jetty:jetty-annotations:8.1.14.v20131031 org.eclipse.jetty:jetty-servlet:8.1.14.v20131031 org.eclipse.jetty:jetty-continuation:8.1.14.v20131031 org.eclipse.jetty:jetty-jaspi:8.1.14.v20131031 org.eclipse.jetty:jetty-security:8.1.14.v20131031 org.eclipse.jetty:jetty-deploy:8.1.14.v20131031 org.eclipse.jetty:jetty-servlets:8.1.14.v20131031 org.eclipse.jetty:jetty-websocket:8.1.14.v20131031 org.eclipse.jetty:jetty-jndi:8.1.14.v20131031 org.eclipse.jetty:jetty-server:8.1.14.v20131031 org.eclipse.jetty:jetty-http:8.1.14.v20131031 org.eclipse.jetty:jetty-util:8.1.14.v20131031 org.eclipse.jetty:jetty-ajp:8.1.14.v20131031 org.eclipse.jetty:jetty-client:8.1.14.v20131031 org.eclipse.jetty:jetty-jmx:8.1.14.v20131031 org.eclipse.jetty.aggregate:jetty-all-server:8.1.14.v20131031]
  at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)[org.eclipse.jetty:jetty-io:8.1.14.v20131031 org.eclipse.jetty:jetty-xml:8.1.14.v20131031 org.eclipse.jetty:jetty-nested:8.1.14.v20131031 org.eclipse.jetty:jetty-rewrite:8.1.14.v20131031 org.eclipse.jetty:jetty-plus:8.1.14.v20131031 org.eclipse.jetty:jetty-webapp:8.1.14.v20131031 org.eclipse.jetty:jetty-annotations:8.1.14.v20131031 org.eclipse.jetty:jetty-servlet:8.1.14.v20131031 org.eclipse.jetty:jetty-continuation:8.1.14.v20131031 org.eclipse.jetty:jetty-jaspi:8.1.14.v20131031 org.eclipse.jetty:jetty-security:8.1.14.v20131031 org.eclipse.jetty:jetty-deploy:8.1.14.v20131031 org.eclipse.jetty:jetty-servlets:8.1.14.v20131031 org.eclipse.jetty:jetty-websocket:8.1.14.v20131031 org.eclipse.jetty:jetty-jndi:8.1.14.v20131031 org.eclipse.jetty:jetty-server:8.1.14.v20131031 org.eclipse.jetty:jetty-http:8.1.14.v20131031 org.eclipse.jetty:jetty-util:8.1.14.v20131031 org.eclipse.jetty:jetty-ajp:8.1.14.v20131031 org.eclipse.jetty:jetty-client:8.1.14.v20131031 org.eclipse.jetty:jetty-jmx:8.1.14.v20131031 org.eclipse.jetty.aggregate:jetty-all-server:8.1.14.v20131031]
  at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428)[org.eclipse.jetty:jetty-io:8.1.14.v20131031 org.eclipse.jetty:jetty-xml:8.1.14.v20131031 org.eclipse.jetty:jetty-nested:8.1.14.v20131031 org.eclipse.jetty:jetty-rewrite:8.1.14.v20131031 org.eclipse.jetty:jetty-plus:8.1.14.v20131031 org.eclipse.jetty:jetty-webapp:8.1.14.v20131031 org.eclipse.jetty:jetty-annotations:8.1.14.v20131031 org.eclipse.jetty:jetty-servlet:8.1.14.v20131031 org.eclipse.jetty:jetty-continuation:8.1.14.v20131031 org.eclipse.jetty:jetty-jaspi:8.1.14.v20131031 org.eclipse.jetty:jetty-security:8.1.14.v20131031 org.eclipse.jetty:jetty-deploy:8.1.14.v20131031 org.eclipse.jetty:jetty-servlets:8.1.14.v20131031 org.eclipse.jetty:jetty-websocket:8.1.14.v20131031 org.eclipse.jetty:jetty-jndi:8.1.14.v20131031 org.eclipse.jetty:jetty-server:8.1.14.v20131031 org.eclipse.jetty:jetty-http:8.1.14.v20131031 org.eclipse.jetty:jetty-util:8.1.14.v20131031 org.eclipse.jetty:jetty-ajp:8.1.14.v20131031 org.eclipse.jetty:jetty-client:8.1.14.v20131031 org.eclipse.jetty:jetty-jmx:8.1.14.v20131031 org.eclipse.jetty.aggregate:jetty-all-server:8.1.14.v20131031]
  at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)[org.eclipse.jetty:jetty-io:8.1.14.v20131031 org.eclipse.jetty:jetty-xml:8.1.14.v20131031 org.eclipse.jetty:jetty-nested:8.1.14.v20131031 org.eclipse.jetty:jetty-rewrite:8.1.14.v20131031 org.eclipse.jetty:jetty-plus:8.1.14.v20131031 org.eclipse.jetty:jetty-webapp:8.1.14.v20131031 org.eclipse.jetty:jetty-annotations:8.1.14.v20131031 org.eclipse.jetty:jetty-servlet:8.1.14.v20131031 org.eclipse.jetty:jetty-continuation:8.1.14.v20131031 org.eclipse.jetty:jetty-jaspi:8.1.14.v20131031 org.eclipse.jetty:jetty-security:8.1.14.v20131031 org.eclipse.jetty:jetty-deploy:8.1.14.v20131031 org.eclipse.jetty:jetty-servlets:8.1.14.v20131031 org.eclipse.jetty:jetty-websocket:8.1.14.v20131031 org.eclipse.jetty:jetty-jndi:8.1.14.v20131031 org.eclipse.jetty:jetty-server:8.1.14.v20131031 org.eclipse.jetty:jetty-http:8.1.14.v20131031 org.eclipse.jetty:jetty-util:8.1.14.v20131031 org.eclipse.jetty:jetty-ajp:8.1.14.v20131031 org.eclipse.jetty:jetty-client:8.1.14.v20131031 org.eclipse.jetty:jetty-jmx:8.1.14.v20131031 org.eclipse.jetty.aggregate:jetty-all-server:8.1.14.v20131031]
  at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)[org.eclipse.jetty:jetty-io:8.1.14.v20131031 org.eclipse.jetty:jetty-xml:8.1.14.v20131031 org.eclipse.jetty:jetty-nested:8.1.14.v20131031 org.eclipse.jetty:jetty-rewrite:8.1.14.v20131031 org.eclipse.jetty:jetty-plus:8.1.14.v20131031 org.eclipse.jetty:jetty-webapp:8.1.14.v20131031 org.eclipse.jetty:jetty-annotations:8.1.14.v20131031 org.eclipse.jetty:jetty-servlet:8.1.14.v20131031 org.eclipse.jetty:jetty-continuation:8.1.14.v20131031 org.eclipse.jetty:jetty-jaspi:8.1.14.v20131031 org.eclipse.jetty:jetty-security:8.1.14.v20131031 org.eclipse.jetty:jetty-deploy:8.1.14.v20131031 org.eclipse.jetty:jetty-servlets:8.1.14.v20131031 org.eclipse.jetty:jetty-websocket:8.1.14.v20131031 org.eclipse.jetty:jetty-jndi:8.1.14.v20131031 org.eclipse.jetty:jetty-server:8.1.14.v20131031 org.eclipse.jetty:jetty-http:8.1.14.v20131031 org.eclipse.jetty:jetty-util:8.1.14.v20131031 org.eclipse.jetty:jetty-ajp:8.1.14.v20131031 org.eclipse.jetty:jetty-client:8.1.14.v20131031 org.eclipse.jetty:jetty-jmx:8.1.14.v20131031 org.eclipse.jetty.aggregate:jetty-all-server:8.1.14.v20131031]
  at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)[org.eclipse.jetty:jetty-io:8.1.14.v20131031 org.eclipse.jetty:jetty-xml:8.1.14.v20131031 org.eclipse.jetty:jetty-nested:8.1.14.v20131031 org.eclipse.jetty:jetty-rewrite:8.1.14.v20131031 org.eclipse.jetty:jetty-plus:8.1.14.v20131031 org.eclipse.jetty:jetty-webapp:8.1.14.v20131031 org.eclipse.jetty:jetty-annotations:8.1.14.v20131031 org.eclipse.jetty:jetty-servlet:8.1.14.v20131031 org.eclipse.jetty:jetty-continuation:8.1.14.v20131031 org.eclipse.jetty:jetty-jaspi:8.1.14.v20131031 org.eclipse.jetty:jetty-security:8.1.14.v20131031 org.eclipse.jetty:jetty-deploy:8.1.14.v20131031 org.eclipse.jetty:jetty-servlets:8.1.14.v20131031 org.eclipse.jetty:jetty-websocket:8.1.14.v20131031 org.eclipse.jetty:jetty-jndi:8.1.14.v20131031 org.eclipse.jetty:jetty-server:8.1.14.v20131031 org.eclipse.jetty:jetty-http:8.1.14.v20131031 org.eclipse.jetty:jetty-util:8.1.14.v20131031 org.eclipse.jetty:jetty-ajp:8.1.14.v20131031 org.eclipse.jetty:jetty-client:8.1.14.v20131031 org.eclipse.jetty:jetty-jmx:8.1.14.v20131031 org.eclipse.jetty.aggregate:jetty-all-server:8.1.14.v20131031]
  at org.eclipse.jetty.server.Server.handle(Server.java:370)[org.eclipse.jetty:jetty-io:8.1.14.v20131031 org.eclipse.jetty:jetty-xml:8.1.14.v20131031 org.eclipse.jetty:jetty-nested:8.1.14.v20131031 org.eclipse.jetty:jetty-rewrite:8.1.14.v20131031 org.eclipse.jetty:jetty-plus:8.1.14.v20131031 org.eclipse.jetty:jetty-webapp:8.1.14.v20131031 org.eclipse.jetty:jetty-annotations:8.1.14.v20131031 org.eclipse.jetty:jetty-servlet:8.1.14.v20131031 org.eclipse.jetty:jetty-continuation:8.1.14.v20131031 org.eclipse.jetty:jetty-jaspi:8.1.14.v20131031 org.eclipse.jetty:jetty-security:8.1.14.v20131031 org.eclipse.jetty:jetty-deploy:8.1.14.v20131031 org.eclipse.jetty:jetty-servlets:8.1.14.v20131031 org.eclipse.jetty:jetty-websocket:8.1.14.v20131031 org.eclipse.jetty:jetty-jndi:8.1.14.v20131031 org.eclipse.jetty:jetty-server:8.1.14.v20131031 org.eclipse.jetty:jetty-http:8.1.14.v20131031 org.eclipse.jetty:jetty-util:8.1.14.v20131031 org.eclipse.jetty:jetty-ajp:8.1.14.v20131031 org.eclipse.jetty:jetty-client:8.1.14.v20131031 org.eclipse.jetty:jetty-jmx:8.1.14.v20131031 org.eclipse.jetty.aggregate:jetty-all-server:8.1.14.v20131031]
  at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)[org.eclipse.jetty:jetty-io:8.1.14.v20131031 org.eclipse.jetty:jetty-xml:8.1.14.v20131031 org.eclipse.jetty:jetty-nested:8.1.14.v20131031 org.eclipse.jetty:jetty-rewrite:8.1.14.v20131031 org.eclipse.jetty:jetty-plus:8.1.14.v20131031 org.eclipse.jetty:jetty-webapp:8.1.14.v20131031 org.eclipse.jetty:jetty-annotations:8.1.14.v20131031 org.eclipse.jetty:jetty-servlet:8.1.14.v20131031 org.eclipse.jetty:jetty-continuation:8.1.14.v20131031 org.eclipse.jetty:jetty-jaspi:8.1.14.v20131031 org.eclipse.jetty:jetty-security:8.1.14.v20131031 org.eclipse.jetty:jetty-deploy:8.1.14.v20131031 org.eclipse.jetty:jetty-servlets:8.1.14.v20131031 org.eclipse.jetty:jetty-websocket:8.1.14.v20131031 org.eclipse.jetty:jetty-jndi:8.1.14.v20131031 org.eclipse.jetty:jetty-server:8.1.14.v20131031 org.eclipse.jetty:jetty-http:8.1.14.v20131031 org.eclipse.jetty:jetty-util:8.1.14.v20131031 org.eclipse.jetty:jetty-ajp:8.1.14.v20131031 org.eclipse.jetty:jetty-client:8.1.14.v20131031 org.eclipse.jetty:jetty-jmx:8.1.14.v20131031 org.eclipse.jetty.aggregate:jetty-all-server:8.1.14.v20131031]
  at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:982)[org.eclipse.jetty:jetty-io:8.1.14.v20131031 org.eclipse.jetty:jetty-xml:8.1.14.v20131031 org.eclipse.jetty:jetty-nested:8.1.14.v20131031 org.eclipse.jetty:jetty-rewrite:8.1.14.v20131031 org.eclipse.jetty:jetty-plus:8.1.14.v20131031 org.eclipse.jetty:jetty-webapp:8.1.14.v20131031 org.eclipse.jetty:jetty-annotations:8.1.14.v20131031 org.eclipse.jetty:jetty-servlet:8.1.14.v20131031 org.eclipse.jetty:jetty-continuation:8.1.14.v20131031 org.eclipse.jetty:jetty-jaspi:8.1.14.v20131031 org.eclipse.jetty:jetty-security:8.1.14.v20131031 org.eclipse.jetty:jetty-deploy:8.1.14.v20131031 org.eclipse.jetty:jetty-servlets:8.1.14.v20131031 org.eclipse.jetty:jetty-websocket:8.1.14.v20131031 org.eclipse.jetty:jetty-jndi:8.1.14.v20131031 org.eclipse.jetty:jetty-server:8.1.14.v20131031 org.eclipse.jetty:jetty-http:8.1.14.v20131031 org.eclipse.jetty:jetty-util:8.1.14.v20131031 org.eclipse.jetty:jetty-ajp:8.1.14.v20131031 org.eclipse.jetty:jetty-client:8.1.14.v20131031 org.eclipse.jetty:jetty-jmx:8.1.14.v20131031 org.eclipse.jetty.aggregate:jetty-all-server:8.1.14.v20131031]
  at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1043)[org.eclipse.jetty:jetty-io:8.1.14.v20131031 org.eclipse.jetty:jetty-xml:8.1.14.v20131031 org.eclipse.jetty:jetty-nested:8.1.14.v20131031 org.eclipse.jetty:jetty-rewrite:8.1.14.v20131031 org.eclipse.jetty:jetty-plus:8.1.14.v20131031 org.eclipse.jetty:jetty-webapp:8.1.14.v20131031 org.eclipse.jetty:jetty-annotations:8.1.14.v20131031 org.eclipse.jetty:jetty-servlet:8.1.14.v20131031 org.eclipse.jetty:jetty-continuation:8.1.14.v20131031 org.eclipse.jetty:jetty-jaspi:8.1.14.v20131031 org.eclipse.jetty:jetty-security:8.1.14.v20131031 org.eclipse.jetty:jetty-deploy:8.1.14.v20131031 org.eclipse.jetty:jetty-servlets:8.1.14.v20131031 org.eclipse.jetty:jetty-websocket:8.1.14.v20131031 org.eclipse.jetty:jetty-jndi:8.1.14.v20131031 org.eclipse.jetty:jetty-server:8.1.14.v20131031 org.eclipse.jetty:jetty-http:8.1.14.v20131031 org.eclipse.jetty:jetty-util:8.1.14.v20131031 org.eclipse.jetty:jetty-ajp:8.1.14.v20131031 org.eclipse.jetty:jetty-client:8.1.14.v20131031 org.eclipse.jetty:jetty-jmx:8.1.14.v20131031 org.eclipse.jetty.aggregate:jetty-all-server:8.1.14.v20131031]
  at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865)[org.eclipse.jetty:jetty-io:8.1.14.v20131031 org.eclipse.jetty:jetty-xml:8.1.14.v20131031 org.eclipse.jetty:jetty-nested:8.1.14.v20131031 org.eclipse.jetty:jetty-rewrite:8.1.14.v20131031 org.eclipse.jetty:jetty-plus:8.1.14.v20131031 org.eclipse.jetty:jetty-webapp:8.1.14.v20131031 org.eclipse.jetty:jetty-annotations:8.1.14.v20131031 org.eclipse.jetty:jetty-servlet:8.1.14.v20131031 org.eclipse.jetty:jetty-continuation:8.1.14.v20131031 org.eclipse.jetty:jetty-jaspi:8.1.14.v20131031 org.eclipse.jetty:jetty-security:8.1.14.v20131031 org.eclipse.jetty:jetty-deploy:8.1.14.v20131031 org.eclipse.jetty:jetty-servlets:8.1.14.v20131031 org.eclipse.jetty:jetty-websocket:8.1.14.v20131031 org.eclipse.jetty:jetty-jndi:8.1.14.v20131031 org.eclipse.jetty:jetty-server:8.1.14.v20131031 org.eclipse.jetty:jetty-http:8.1.14.v20131031 org.eclipse.jetty:jetty-util:8.1.14.v20131031 org.eclipse.jetty:jetty-ajp:8.1.14.v20131031 org.eclipse.jetty:jetty-client:8.1.14.v20131031 org.eclipse.jetty:jetty-jmx:8.1.14.v20131031 org.eclipse.jetty.aggregate:jetty-all-server:8.1.14.v20131031]
  at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)[org.eclipse.jetty:jetty-io:8.1.14.v20131031 org.eclipse.jetty:jetty-xml:8.1.14.v20131031 org.eclipse.jetty:jetty-nested:8.1.14.v20131031 org.eclipse.jetty:jetty-rewrite:8.1.14.v20131031 org.eclipse.jetty:jetty-plus:8.1.14.v20131031 org.eclipse.jetty:jetty-webapp:8.1.14.v20131031 org.eclipse.jetty:jetty-annotations:8.1.14.v20131031 org.eclipse.jetty:jetty-servlet:8.1.14.v20131031 org.eclipse.jetty:jetty-continuation:8.1.14.v20131031 org.eclipse.jetty:jetty-jaspi:8.1.14.v20131031 org.eclipse.jetty:jetty-security:8.1.14.v20131031 org.eclipse.jetty:jetty-deploy:8.1.14.v20131031 org.eclipse.jetty:jetty-servlets:8.1.14.v20131031 org.eclipse.jetty:jetty-websocket:8.1.14.v20131031 org.eclipse.jetty:jetty-jndi:8.1.14.v20131031 org.eclipse.jetty:jetty-server:8.1.14.v20131031 org.eclipse.jetty:jetty-http:8.1.14.v20131031 org.eclipse.jetty:jetty-util:8.1.14.v20131031 org.eclipse.jetty:jetty-ajp:8.1.14.v20131031 org.eclipse.jetty:jetty-client:8.1.14.v20131031 org.eclipse.jetty:jetty-jmx:8.1.14.v20131031 org.eclipse.jetty.aggregate:jetty-all-server:8.1.14.v20131031]
  at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)[org.eclipse.jetty:jetty-io:8.1.14.v20131031 org.eclipse.jetty:jetty-xml:8.1.14.v20131031 org.eclipse.jetty:jetty-nested:8.1.14.v20131031 org.eclipse.jetty:jetty-rewrite:8.1.14.v20131031 org.eclipse.jetty:jetty-plus:8.1.14.v20131031 org.eclipse.jetty:jetty-webapp:8.1.14.v20131031 org.eclipse.jetty:jetty-annotations:8.1.14.v20131031 org.eclipse.jetty:jetty-servlet:8.1.14.v20131031 org.eclipse.jetty:jetty-continuation:8.1.14.v20131031 org.eclipse.jetty:jetty-jaspi:8.1.14.v20131031 org.eclipse.jetty:jetty-security:8.1.14.v20131031 org.eclipse.jetty:jetty-deploy:8.1.14.v20131031 org.eclipse.jetty:jetty-servlets:8.1.14.v20131031 org.eclipse.jetty:jetty-websocket:8.1.14.v20131031 org.eclipse.jetty:jetty-jndi:8.1.14.v20131031 org.eclipse.jetty:jetty-server:8.1.14.v20131031 org.eclipse.jetty:jetty-http:8.1.14.v20131031 org.eclipse.jetty:jetty-util:8.1.14.v20131031 org.eclipse.jetty:jetty-ajp:8.1.14.v20131031 org.eclipse.jetty:jetty-client:8.1.14.v20131031 org.eclipse.jetty:jetty-jmx:8.1.14.v20131031 org.eclipse.jetty.aggregate:jetty-all-server:8.1.14.v20131031]
  at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:667)[org.eclipse.jetty:jetty-io:8.1.14.v20131031 org.eclipse.jetty:jetty-xml:8.1.14.v20131031 org.eclipse.jetty:jetty-nested:8.1.14.v20131031 org.eclipse.jetty:jetty-rewrite:8.1.14.v20131031 org.eclipse.jetty:jetty-plus:8.1.14.v20131031 org.eclipse.jetty:jetty-webapp:8.1.14.v20131031 org.eclipse.jetty:jetty-annotations:8.1.14.v20131031 org.eclipse.jetty:jetty-servlet:8.1.14.v20131031 org.eclipse.jetty:jetty-continuation:8.1.14.v20131031 org.eclipse.jetty:jetty-jaspi:8.1.14.v20131031 org.eclipse.jetty:jetty-security:8.1.14.v20131031 org.eclipse.jetty:jetty-deploy:8.1.14.v20131031 org.eclipse.jetty:jetty-servlets:8.1.14.v20131031 org.eclipse.jetty:jetty-websocket:8.1.14.v20131031 org.eclipse.jetty:jetty-jndi:8.1.14.v20131031 org.eclipse.jetty:jetty-server:8.1.14.v20131031 org.eclipse.jetty:jetty-http:8.1.14.v20131031 org.eclipse.jetty:jetty-util:8.1.14.v20131031 org.eclipse.jetty:jetty-ajp:8.1.14.v20131031 org.eclipse.jetty:jetty-client:8.1.14.v20131031 org.eclipse.jetty:jetty-jmx:8.1.14.v20131031 org.eclipse.jetty.aggregate:jetty-all-server:8.1.14.v20131031]
  at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)[org.eclipse.jetty:jetty-io:8.1.14.v20131031 org.eclipse.jetty:jetty-xml:8.1.14.v20131031 org.eclipse.jetty:jetty-nested:8.1.14.v20131031 org.eclipse.jetty:jetty-rewrite:8.1.14.v20131031 org.eclipse.jetty:jetty-plus:8.1.14.v20131031 org.eclipse.jetty:jetty-webapp:8.1.14.v20131031 org.eclipse.jetty:jetty-annotations:8.1.14.v20131031 org.eclipse.jetty:jetty-servlet:8.1.14.v20131031 org.eclipse.jetty:jetty-continuation:8.1.14.v20131031 org.eclipse.jetty:jetty-jaspi:8.1.14.v20131031 org.eclipse.jetty:jetty-security:8.1.14.v20131031 org.eclipse.jetty:jetty-deploy:8.1.14.v20131031 org.eclipse.jetty:jetty-servlets:8.1.14.v20131031 org.eclipse.jetty:jetty-websocket:8.1.14.v20131031 org.eclipse.jetty:jetty-jndi:8.1.14.v20131031 org.eclipse.jetty:jetty-server:8.1.14.v20131031 org.eclipse.jetty:jetty-http:8.1.14.v20131031 org.eclipse.jetty:jetty-util:8.1.14.v20131031 org.eclipse.jetty:jetty-ajp:8.1.14.v20131031 org.eclipse.jetty:jetty-client:8.1.14.v20131031 org.eclipse.jetty:jetty-jmx:8.1.14.v20131031 org.eclipse.jetty.aggregate:jetty-all-server:8.1.14.v20131031]
  at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)[org.eclipse.jetty:jetty-io:8.1.14.v20131031 org.eclipse.jetty:jetty-xml:8.1.14.v20131031 org.eclipse.jetty:jetty-nested:8.1.14.v20131031 org.eclipse.jetty:jetty-rewrite:8.1.14.v20131031 org.eclipse.jetty:jetty-plus:8.1.14.v20131031 org.eclipse.jetty:jetty-webapp:8.1.14.v20131031 org.eclipse.jetty:jetty-annotations:8.1.14.v20131031 org.eclipse.jetty:jetty-servlet:8.1.14.v20131031 org.eclipse.jetty:jetty-continuation:8.1.14.v20131031 org.eclipse.jetty:jetty-jaspi:8.1.14.v20131031 org.eclipse.jetty:jetty-security:8.1.14.v20131031 org.eclipse.jetty:jetty-deploy:8.1.14.v20131031 org.eclipse.jetty:jetty-servlets:8.1.14.v20131031 org.eclipse.jetty:jetty-websocket:8.1.14.v20131031 org.eclipse.jetty:jetty-jndi:8.1.14.v20131031 org.eclipse.jetty:jetty-server:8.1.14.v20131031 org.eclipse.jetty:jetty-http:8.1.14.v20131031 org.eclipse.jetty:jetty-util:8.1.14.v20131031 org.eclipse.jetty:jetty-ajp:8.1.14.v20131031 org.eclipse.jetty:jetty-client:8.1.14.v20131031 org.eclipse.jetty:jetty-jmx:8.1.14.v20131031 org.eclipse.jetty.aggregate:jetty-all-server:8.1.14.v20131031]
  at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)[org.eclipse.jetty:jetty-io:8.1.14.v20131031 org.eclipse.jetty:jetty-xml:8.1.14.v20131031 org.eclipse.jetty:jetty-nested:8.1.14.v20131031 org.eclipse.jetty:jetty-rewrite:8.1.14.v20131031 org.eclipse.jetty:jetty-plus:8.1.14.v20131031 org.eclipse.jetty:jetty-webapp:8.1.14.v20131031 org.eclipse.jetty:jetty-annotations:8.1.14.v20131031 org.eclipse.jetty:jetty-servlet:8.1.14.v20131031 org.eclipse.jetty:jetty-continuation:8.1.14.v20131031 org.eclipse.jetty:jetty-jaspi:8.1.14.v20131031 org.eclipse.jetty:jetty-security:8.1.14.v20131031 org.eclipse.jetty:jetty-deploy:8.1.14.v20131031 org.eclipse.jetty:jetty-servlets:8.1.14.v20131031 org.eclipse.jetty:jetty-websocket:8.1.14.v20131031 org.eclipse.jetty:jetty-jndi:8.1.14.v20131031 org.eclipse.jetty:jetty-server:8.1.14.v20131031 org.eclipse.jetty:jetty-http:8.1.14.v20131031 org.eclipse.jetty:jetty-util:8.1.14.v20131031 org.eclipse.jetty:jetty-ajp:8.1.14.v20131031 org.eclipse.jetty:jetty-client:8.1.14.v20131031 org.eclipse.jetty:jetty-jmx:8.1.14.v20131031 org.eclipse.jetty.aggregate:jetty-all-server:8.1.14.v20131031]
  at java.lang.Thread.run(Thread.java:744)[:1.7.0_51]

部署内容在github上显示在对应的pom:sms-service-impl / pom.xml中,请参阅上面的链接。

非常感谢您的建议!

2 个答案:

答案 0 :(得分:1)

如果您使用的是Spring,请确保路由类上有@Component注释。

我的一个朋友遇到的令人尴尬的错误。

答案 1 :(得分:0)

在GitHub看你的代码,我没有看到任何direct://smsinfo消费者端点,因此Camel错误似乎已经足够了。所以,我想,你的本地设置与你的fabric8实例的设置不同。

顺便说一下,我尝试构建你的GitHub项目,但失败了以下错误:

  

[错误]构建无法读取1个项目 - &gt; [帮助1]   [ERROR]
  [错误]项目ua.np.services:smsinfoesb:1.0.4-SNAPSHOT(/Developer/Workspace/Java/projects/projects-test/smsinfoesb/pom.xml)有1个错误   [错误]无法解析的父POM:无法找到工件ua.np.maven:npFuseParent:pom:1.0.0.redhat-610379-SNAPSHOT和'parent.relativePath'指向错误的本地POM @第13行第10列 - &GT; [帮助2]