Skip to content

Instantly share code, notes, and snippets.

@garethahealy
Created March 14, 2015 12:59
Show Gist options
  • Save garethahealy/a163900ab1ab700204e4 to your computer and use it in GitHub Desktop.
Save garethahealy/a163900ab1ab700204e4 to your computer and use it in GitHub Desktop.
REST sayHello but no response
2015-03-14 12:55:20,700 [main ] DEBUG Container - Container org.eclipse.jetty.server.Server@1b70d03a + SelectChannelConnector@localhost:9001 as connector
2015-03-14 12:55:20,700 [main ] DEBUG Container - Container org.eclipse.jetty.server.Server@1b70d03a + org.eclipse.jetty.server.handler.ContextHandlerCollection@b769de9 as handler
2015-03-14 12:55:20,700 [main ] DEBUG AbstractLifeCycle - starting org.eclipse.jetty.server.Server@1b70d03a
2015-03-14 12:55:20,700 [main ] INFO Server - jetty-8.1.14.v20131031
2015-03-14 12:55:20,700 [main ] DEBUG Container - Container org.eclipse.jetty.server.Server@1b70d03a + qtp410595808{8<=0<=0/254,-1} as threadpool
2015-03-14 12:55:20,700 [main ] DEBUG AbstractLifeCycle - starting org.eclipse.jetty.server.handler.ContextHandlerCollection@b769de9
2015-03-14 12:55:20,700 [main ] DEBUG AbstractHandler - starting org.eclipse.jetty.server.handler.ContextHandlerCollection@b769de9
2015-03-14 12:55:20,700 [main ] DEBUG AbstractLifeCycle - STARTED org.eclipse.jetty.server.handler.ContextHandlerCollection@b769de9
2015-03-14 12:55:20,700 [main ] DEBUG AbstractHandler - starting org.eclipse.jetty.server.Server@1b70d03a
2015-03-14 12:55:20,700 [main ] DEBUG AbstractLifeCycle - starting qtp410595808{8<=0<=0/254,-1}
2015-03-14 12:55:20,701 [main ] DEBUG AbstractLifeCycle - STARTED qtp410595808{8<=7<=8/254,0}
2015-03-14 12:55:20,701 [main ] DEBUG AbstractLifeCycle - starting SelectChannelConnector@localhost:9001
2015-03-14 12:55:20,701 [main ] DEBUG AbstractLifeCycle - starting null/null
2015-03-14 12:55:20,702 [main ] DEBUG AbstractLifeCycle - STARTED PooledBuffers [0/1024@6144,0/1024@16384,0/1024@-]/PooledBuffers [0/1024@6144,0/1024@32768,0/1024@-]
2015-03-14 12:55:20,702 [main ] DEBUG AbstractLifeCycle - starting org.eclipse.jetty.server.nio.SelectChannelConnector$ConnectorSelectorManager@50201a40
2015-03-14 12:55:20,702 [main ] DEBUG AbstractLifeCycle - STARTED org.eclipse.jetty.server.nio.SelectChannelConnector$ConnectorSelectorManager@50201a40
2015-03-14 12:55:20,702 [08-46 Selector0] DEBUG nio - Starting Thread[qtp410595808-46 Selector0,5,main] on org.eclipse.jetty.io.nio.SelectorManager$1@6b9b88d8
2015-03-14 12:55:20,702 [main ] INFO AbstractConnector - Started SelectChannelConnector@localhost:9001
2015-03-14 12:55:20,702 [08-47 Selector1] DEBUG nio - Starting Thread[qtp410595808-47 Selector1,5,main] on org.eclipse.jetty.io.nio.SelectorManager$1@30355419
2015-03-14 12:55:20,702 [main ] DEBUG AbstractLifeCycle - STARTED SelectChannelConnector@localhost:9001
2015-03-14 12:55:20,702 [main ] DEBUG AbstractLifeCycle - STARTED org.eclipse.jetty.server.Server@1b70d03a
2015-03-14 12:55:20,702 [main ] DEBUG Container - Container o.e.j.s.h.ContextHandler{/rest/helloworld,null} + org.apache.cxf.transport.http_jetty.JettyHTTPHandler@7d244e08 as handler
2015-03-14 12:55:20,702 [main ] DEBUG Container - Container org.eclipse.jetty.server.handler.ContextHandlerCollection@b769de9 + o.e.j.s.h.ContextHandler{/rest/helloworld,null} as handler
2015-03-14 12:55:20,702 [main ] DEBUG AbstractLifeCycle - starting o.e.j.s.h.ContextHandler{/rest/helloworld,null}
2015-03-14 12:55:20,702 [main ] DEBUG AbstractLifeCycle - starting org.apache.cxf.transport.http_jetty.JettyHTTPHandler@7d244e08
2015-03-14 12:55:20,702 [main ] DEBUG AbstractHandler - starting org.apache.cxf.transport.http_jetty.JettyHTTPHandler@7d244e08
2015-03-14 12:55:20,702 [main ] DEBUG AbstractLifeCycle - STARTED org.apache.cxf.transport.http_jetty.JettyHTTPHandler@7d244e08
2015-03-14 12:55:20,702 [main ] DEBUG AbstractHandler - starting o.e.j.s.h.ContextHandler{/rest/helloworld,null}
2015-03-14 12:55:20,702 [main ] DEBUG AbstractLifeCycle - STARTED o.e.j.s.h.ContextHandler{/rest/helloworld,null}
2015-03-14 12:55:20,702 [main ] DEBUG ServerImpl - register the server to serverRegistry
2015-03-14 12:55:20,703 [main ] INFO BlueprintCamelContext - Route: restHelloWorld started and consuming from: Endpoint[cxfrs://bean:rsServer?bindingStyle=SimpleConsumer]
2015-03-14 12:55:20,703 [main ] INFO BlueprintCamelContext - Total 2 routes, of which 2 is started.
2015-03-14 12:55:20,703 [main ] INFO BlueprintCamelContext - Apache Camel 2.12.0.redhat-610379 (CamelContext: ws-restful-context) started in 0.022 seconds
2015-03-14 12:55:20,703 [main ] DEBUG RestHelloWorldRouteTest - Waiting for BlueprintContainer to be published with symbolicName: RestHelloWorldRouteTest
2015-03-14 12:55:20,732 [08-46 Selector0] DEBUG nio - created SCEP@75a3f4a9{l(/127.0.0.1:54063)<->r(/127.0.0.1:9001),s=0,open=true,ishut=false,oshut=false,rb=false,wb=false,w=true,i=0}-{AsyncHttpConnection@5f13bf95,g=HttpGenerator{s=0,h=-1,b=-1,c=-1},p=HttpParser{s=-14,l=0,c=0},r=0}
2015-03-14 12:55:20,733 [qtp410595808-50] DEBUG HttpParser - filled 232/232
2015-03-14 12:55:20,737 [lt/sayHello/bob] DEBUG Server - REQUEST /rest/helloworld/default/sayHello/bob on AsyncHttpConnection@5f13bf95,g=HttpGenerator{s=0,h=-1,b=-1,c=-1},p=HttpParser{s=-5,l=10,c=0},r=1
2015-03-14 12:55:20,737 [lt/sayHello/bob] DEBUG ContextHandler - scope null||/rest/helloworld/default/sayHello/bob @ o.e.j.s.h.ContextHandler{/rest/helloworld,null}
2015-03-14 12:55:20,737 [lt/sayHello/bob] DEBUG ContextHandler - context=/rest/helloworld||/default/sayHello/bob @ o.e.j.s.h.ContextHandler{/rest/helloworld,null}
2015-03-14 12:55:20,739 [lt/sayHello/bob] DEBUG ConfigurerImpl - Could not determine bean name for instance of class org.apache.cxf.transports.http.internal.QueryHandlerRegistryImpl.
2015-03-14 12:55:20,739 [lt/sayHello/bob] DEBUG JettyHTTPDestination - Service http request on thread: Thread[qtp410595808-50 - /rest/helloworld/default/sayHello/bob,5,main]
2015-03-14 12:55:20,745 [lt/sayHello/bob] DEBUG Headers - Request Headers: {Accept=[text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2], Cache-Control=[no-cache], connection=[keep-alive], Content-Type=[null], Host=[localhost:9001], Pragma=[no-cache], User-Agent=[Java/1.7.0_71]}
2015-03-14 12:55:20,749 [lt/sayHello/bob] DEBUG ConfigurerImpl - Could not determine bean name for instance of class org.apache.cxf.bus.managers.PhaseManagerImpl.
2015-03-14 12:55:20,752 [lt/sayHello/bob] DEBUG PhaseInterceptorChain - Adding interceptor org.apache.cxf.ws.policy.PolicyInInterceptor@360c8ec4 to phase receive
2015-03-14 12:55:20,752 [lt/sayHello/bob] DEBUG PhaseInterceptorChain - Adding interceptor org.apache.cxf.interceptor.ServiceInvokerInterceptor@72710194 to phase invoke
2015-03-14 12:55:20,752 [lt/sayHello/bob] DEBUG PhaseInterceptorChain - Adding interceptor org.apache.cxf.interceptor.OutgoingChainInterceptor@591ed63e to phase post-invoke
2015-03-14 12:55:20,752 [lt/sayHello/bob] DEBUG PhaseInterceptorChain - Adding interceptor org.apache.cxf.interceptor.OneWayProcessorInterceptor@7783ae27 to phase pre-logical
2015-03-14 12:55:20,752 [lt/sayHello/bob] DEBUG PhaseInterceptorChain - Adding interceptor org.apache.cxf.interceptor.LoggingInInterceptor@661ebfbd to phase receive
2015-03-14 12:55:20,752 [lt/sayHello/bob] DEBUG PhaseInterceptorChain - Adding interceptor org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor@6cbe45ab to phase unmarshal
2015-03-14 12:55:20,752 [lt/sayHello/bob] DEBUG PhaseInterceptorChain - Adding interceptor org.apache.cxf.transport.https.CertConstraintsInterceptor@69cb7d9e to phase pre-stream
2015-03-14 12:55:20,753 [lt/sayHello/bob] DEBUG PhaseInterceptorChain - Chain org.apache.cxf.phase.PhaseInterceptorChain@40d0dd48 was created. Current flow:
receive [PolicyInInterceptor, LoggingInInterceptor]
pre-stream [CertConstraintsInterceptor]
unmarshal [JAXRSInInterceptor]
pre-logical [OneWayProcessorInterceptor]
invoke [ServiceInvokerInterceptor]
post-invoke [OutgoingChainInterceptor]
2015-03-14 12:55:20,753 [lt/sayHello/bob] DEBUG PhaseInterceptorChain - Invoking handleMessage on interceptor org.apache.cxf.ws.policy.PolicyInInterceptor@360c8ec4
2015-03-14 12:55:20,753 [lt/sayHello/bob] DEBUG PhaseInterceptorChain - Invoking handleMessage on interceptor org.apache.cxf.interceptor.LoggingInInterceptor@661ebfbd
2015-03-14 12:55:20,759 [lt/sayHello/bob] DEBUG HttpParser - filled 0/0
2015-03-14 12:55:20,759 [lt/sayHello/bob] INFO LoggingInInterceptor - Inbound Message
----------------------------
ID: 1
Address: http://localhost:9001/rest/helloworld/default/sayHello/bob
Http-Method: GET
Content-Type:
Headers: {Accept=[text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2], Cache-Control=[no-cache], connection=[keep-alive], Content-Type=[null], Host=[localhost:9001], Pragma=[no-cache], User-Agent=[Java/1.7.0_71]}
--------------------------------------
2015-03-14 12:55:20,759 [lt/sayHello/bob] DEBUG PhaseInterceptorChain - Invoking handleMessage on interceptor org.apache.cxf.transport.https.CertConstraintsInterceptor@69cb7d9e
2015-03-14 12:55:20,759 [lt/sayHello/bob] DEBUG PhaseInterceptorChain - Invoking handleMessage on interceptor org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor@6cbe45ab
2015-03-14 12:55:20,765 [lt/sayHello/bob] DEBUG JAXRSUtils - Trying to select a resource class, request path : /default/sayHello/bob
2015-03-14 12:55:20,765 [lt/sayHello/bob] DEBUG JAXRSUtils - Trying to select a resource operation on the resource class com.garethahealy.ws.restful.services.DefaultHelloWorldService
2015-03-14 12:55:20,766 [lt/sayHello/bob] DEBUG JAXRSUtils - Resource operation sayHello may get selected
2015-03-14 12:55:20,766 [lt/sayHello/bob] DEBUG JAXRSUtils - Resource operation sayHello on the resource class com.garethahealy.ws.restful.services.DefaultHelloWorldService has been selected
2015-03-14 12:55:20,766 [lt/sayHello/bob] DEBUG JAXRSInInterceptor - Request path is: /default/sayHello/bob
2015-03-14 12:55:20,766 [lt/sayHello/bob] DEBUG JAXRSInInterceptor - Request HTTP method is: GET
2015-03-14 12:55:20,766 [lt/sayHello/bob] DEBUG JAXRSInInterceptor - Request contentType is: */*
2015-03-14 12:55:20,766 [lt/sayHello/bob] DEBUG JAXRSInInterceptor - Accept contentType is: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
2015-03-14 12:55:20,766 [lt/sayHello/bob] DEBUG JAXRSInInterceptor - Found operation: sayHello
2015-03-14 12:55:20,767 [lt/sayHello/bob] DEBUG PhaseInterceptorChain - Invoking handleMessage on interceptor org.apache.cxf.interceptor.OneWayProcessorInterceptor@7783ae27
2015-03-14 12:55:20,767 [lt/sayHello/bob] DEBUG PhaseInterceptorChain - Invoking handleMessage on interceptor org.apache.cxf.interceptor.ServiceInvokerInterceptor@72710194
2015-03-14 12:55:20,782 [lt/sayHello/bob] INFO restHelloWorld - Receieved bob
2015-03-14 12:55:20,784 [lt/sayHello/bob] DEBUG JettyHTTPDestination - Finished servicing http request on thread: Thread[qtp410595808-50 - /rest/helloworld/default/sayHello/bob,5,main]
2015-03-14 12:55:20,784 [lt/sayHello/bob] DEBUG Server - RESPONSE /rest/helloworld/default/sayHello/bob 200 handled=false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment