If you have static content I'd think you'd need a real path for the servlet, not just /*. But using your servlet mapping /services/* did you try browsing to http://localhost/webapp/services/services? My point was that I'd found I needed the extra "/services" in the URL to get the service config page, and I thought it might be the same in your setup.
- Dennis On 04/17/2011 11:15 AM, Benson Margulies wrote: > Dennis, > > All works fine if I configure address="/services" and go there. > > Since I have some static content, I'm a bit leary of /*, but should I be? > > > > On Sat, Apr 16, 2011 at 5:46 PM, Dennis Sosnoski <[email protected]> wrote: >> Try browsing to /services/services. I use <url-pattern>/*<url-pattern> >> with 2.3.3 to have the REST service accessed at >> http://host:port/war-name and find the services page shows up at >> http://host:port/war-name/services >> >> - Dennis >> >> Dennis M. Sosnoski >> Java SOA and Web Services Consulting <http://www.sosnoski.com/consult.html> >> Axis2/CXF/Metro SOA and Web Services Training >> <http://www.sosnoski.com/training.html> >> Web Services Jump-Start <http://www.sosnoski.com/jumpstart.html> >> >> >> On 04/17/2011 09:02 AM, Benson Margulies wrote: >>> I configure my servlet mapping for '/services/*'. >>> >>> I then give a jaxrs:server an address='/'. >>> >>> So, I figure, since each of my service classes has an @Path, I'll >>> still get the CXF service listing at http://localhost/webapp/services. >>> No Such Luck. Services work, but no service config page. >>> >>> Is this a reasonable thing to expect, or have I shaded it out? >>>
