Oh, D'uh, the truth suddenly dawns. I want 'address="/"' in my Spring.

On Sun, May 1, 2011 at 9:17 AM, Benson Margulies <[email protected]> wrote:
> It dawns on me very belatedly that I do not understand
> servlet-mapping. In the following, I'm expecting this to result in
> urls like http://localhost:port/APPNAME/services/whatever being
> available in CXF.
>
> (web.xml)
>
> <servlet-mapping>
>  <servlet-name>cxf</servlet-name>
>  <url-pattern>/services/*</url-pattern>
> </servlet-mapping>
>
> (Spring config)
>
> <jaxrs:server id="services" address="/services">
>
> The following exemplifies the fact that this isn't so. Are the cxf
> services substituted in at the *?
>
> 2011-05-01 09:13:50,393 [http-9167-1] WARN
> org.apache.cxf.transport.servlet.ServletController - Can't find the
> the request for
> http://localhost:9167/lsh/services/admin/system-config's Observer
>

Reply via email to