0 Replies Latest reply on Jun 21, 2010 12:31 AM by johnfoneill

    ESB 4 cxf-jaxrs example throwing a 404

    johnfoneill

      Has anyone seen this problem before?  I'm using the cxf-jaxrs example from the ESB 4 version and it is throwing a 404 error.  Everything is out of the box.  I've appended the logs below.

       

      Cheers,

      John

       

      -


      23:20:18,090 | DEBUG | ?_wadl&_type=xml | jetty                            | service.jetty.internal.JCLLogger   85 | REQUEST /cxf/crm on org.mortbay.jetty.HttpConnection@24c4187c

      23:20:18,090 | DEBUG | ?_wadl&_type=xml | ServerModel                      | eb.service.spi.model.ServerModel  268 | Matching /cxf/crm...

      23:20:18,091 | DEBUG | ?_wadl&_type=xml | ServerModel                      | eb.service.spi.model.ServerModel  286 | Path /cxf/crm matched to {pattern=/cxf/.,model=ServletModel{id=org.ops4j.pax.web.service.spi.model.ServletModel-2,name=cxf-osgi-transport-servlet,urlPatterns=[/cxf/],alias=/cxf,servlet=org.apache.cxf.transport.http_osgi.SpringOsgiServlet@237360be,initParams={servlet-name=cxf-osgi-transport-servlet, objectClass=[Ljava.lang.String;@11f46b16, Bundle-Version=2.2.6.fuse-01-00, org.springframework.osgi.bean.name=osgiServlet, service.id=195, alias=/cxf, Bundle-SymbolicName=org.apache.cxf.bundle},context=ContextModel{id=org.ops4j.pax.web.service.spi.model.ContextModel-1,name=,httpContext=DefaultHttpContext{bundle=org.apache.cxf.bundle_2.2.6.fuse-01-00 },contextParams={}}}}

      23:20:18,091 | DEBUG | ?_wadl&_type=xml | HttpServiceContext               | etty.internal.HttpServiceContext  110 | Handling request for /cxf/crm using http context [DefaultHttpContext{bundle=org.apache.cxf.bundle_2.2.6.fuse-01-00 }]

      23:20:18,091 | DEBUG | ?_wadl&_type=xml | jetty                            | service.jetty.internal.JCLLogger   85 | sessionManager=org.mortbay.jetty.servlet.HashSessionManager@47978f4f

      23:20:18,091 | DEBUG | ?_wadl&_type=xml | jetty                            | service.jetty.internal.JCLLogger   85 | session=null

      23:20:18,091 | DEBUG | ?_wadl&_type=xml | jetty                            | service.jetty.internal.JCLLogger   85 | servlet=cxf-osgi-transport-servlet

      23:20:18,091 | DEBUG | ?_wadl&_type=xml | jetty                            | service.jetty.internal.JCLLogger   85 | chain=null

      23:20:18,091 | DEBUG | ?_wadl&_type=xml | jetty                            | service.jetty.internal.JCLLogger   85 | servlet holder=cxf-osgi-transport-servlet

      23:20:18,092 | DEBUG | ?_wadl&_type=xml | OsgiServlet                      | .http_osgi.OsgiServletController  279 | Service http request on thread: Thread[981934525@qtp-1275884857-2 - /cxf/crm?_wadl&_type=xml,5,main]

      23:20:18,092 | DEBUG | ?_wadl&_type=xml | AbstractHTTPDestination          | ort.http.AbstractHTTPDestination  171 | Request Headers: {accept-encoding=[gzip,deflate], User-Agent=[Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 ( .NET CLR 3.5.30729)], Host=[localhost:8181], Accept-Language=[en-us,en;q=0.5], connection=[keep-alive], Accept-Charset=[ISO-8859-1,utf-8;q=0.7,;q=0.7], Keep-Alive=[115], Content-Type=[null], Cache-Control=[max-age=0], Accept=[text/html,application/xhtml+xml,application/xml;q=0.9,/*;q=0.8]}

      23:20:18,092 | DEBUG | ?_wadl&_type=xml | PhaseInterceptorChain            | .cxf.phase.PhaseInterceptorChain  627 | Chain org.apache.cxf.phase.PhaseInterceptorChain@462387bf was created. Current flow:

        unmarshal

        pre-logical

        invoke

        post-invoke

       

      23:20:18,093 | DEBUG | ?_wadl&_type=xml | PhaseInterceptorChain            | .cxf.phase.PhaseInterceptorChain  240 | Invoking handleMessage on interceptor org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor@46a53092

      23:20:18,093 | DEBUG | ?_wadl&_type=xml | JAXRSUtils                       | pache.cxf.jaxrs.utils.JAXRSUtils  223 | Trying to select a resource class /cxf/crm, request path :

      23:20:18,093 | WARN  | ?_wadl&_type=xml | JAXRSInInterceptor               | s.interceptor.JAXRSInInterceptor  147 | No root resource matching request path /cxf/crm has been found.

      23:20:18,094 | WARN  | ?_wadl&_type=xml | WebApplicationExceptionMapper    | pl.WebApplicationExceptionMapper   52 | WebApplicationException has been caught : no cause is available

      23:20:18,094 | DEBUG | ?_wadl&_type=xml | PhaseInterceptorChain            | .cxf.phase.PhaseInterceptorChain  240 | Invoking handleMessage on interceptor org.apache.cxf.interceptor.OneWayProcessorInterceptor@717e57a

      23:20:18,094 | DEBUG | ?_wadl&_type=xml | PhaseInterceptorChain            | .cxf.phase.PhaseInterceptorChain  240 | Invoking handleMessage on interceptor org.apache.cxf.interceptor.ServiceInvokerInterceptor@31dab039

      23:20:18,094 | DEBUG | ?_wadl&_type=xml | PhaseInterceptorChain            | .cxf.phase.PhaseInterceptorChain  240 | Invoking handleMessage on interceptor org.apache.cxf.interceptor.OutgoingChainInterceptor@c6787c1

      23:20:18,095 | DEBUG | ?_wadl&_type=xml | OutgoingChainInterceptor         | rceptor.OutgoingChainInterceptor  163 | Interceptors contributed by bus: []

      23:20:18,095 | DEBUG | ?_wadl&_type=xml | OutgoingChainInterceptor         | rceptor.OutgoingChainInterceptor  167 | Interceptors contributed by service: []

      23:20:18,095 | DEBUG | ?_wadl&_type=xml | OutgoingChainInterceptor         | rceptor.OutgoingChainInterceptor  171 | Interceptors contributed by endpoint:

      23:20:18,095 | DEBUG | ?_wadl&_type=xml | OutgoingChainInterceptor         | rceptor.OutgoingChainInterceptor  177 | Interceptors contributed by binding:

      23:20:18,095 | DEBUG | ?_wadl&_type=xml | PhaseInterceptorChain            | .cxf.phase.PhaseInterceptorChain  627 | Chain org.apache.cxf.phase.PhaseInterceptorChain@74e312e was created. Current flow:

        prepare-send

        marshal

       

      23:20:18,096 | DEBUG | ?_wadl&_type=xml | PhaseInterceptorChain            | .cxf.phase.PhaseInterceptorChain  240 | Invoking handleMessage on interceptor org.apache.cxf.interceptor.MessageSenderInterceptor@61019643

      23:20:18,096 | DEBUG | ?_wadl&_type=xml | PhaseInterceptorChain            | .cxf.phase.PhaseInterceptorChain  203 | Adding interceptor org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor@1e7ec6c1 to phase prepare-send-ending

      23:20:18,096 | DEBUG | ?_wadl&_type=xml | PhaseInterceptorChain            | .cxf.phase.PhaseInterceptorChain  625 | Chain org.apache.cxf.phase.PhaseInterceptorChain@74e312e was modified. Current flow:

        prepare-send

        marshal

        prepare-send-ending

       

      23:20:18,096 | DEBUG | ?_wadl&_type=xml | PhaseInterceptorChain            | .cxf.phase.PhaseInterceptorChain  240 | Invoking handleMessage on interceptor org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor@2f303a76

      23:20:18,097 | DEBUG | ?_wadl&_type=xml | PhaseInterceptorChain            | .cxf.phase.PhaseInterceptorChain  240 | Invoking handleMessage on interceptor org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor@1e7ec6c1

      23:20:18,097 | DEBUG | ?_wadl&_type=xml | OsgiDestination                  | nsport.http_osgi.OsgiDestination   83 | Finished servicing http request on thread: Thread[981934525@qtp-1275884857-2 - /cxf/crm?_wadl&_type=xml,5,main]

      23:20:18,098 | DEBUG | ?_wadl&_type=xml | jetty                            | service.jetty.internal.JCLLogger   85 | RESPONSE /cxf/crm  404