Directory browsing is not working from contextHandler in jetty.xml (8.1.14.v20131031) with karaf 3.0.0

Description

I tried to add ContextHandlers to the jetty server with multiple connectors.I fallowed the steps mentioned at

https://ops4j1.jira.com/wiki/display/paxweb/Advanced+Jetty+Configuration

Jetty runs fine, but not able to access the static resources. Any extra configuration required which i am missing?

----------------------------------------------------------------------------------

HTTP ERROR: 404
problem accessing /docs. Reason:
Not Found
Powered by Jetty://

------------------------------------------------------------------------------------

Karaf version - 3.0.0
Jetty - 8.1.14.v20131031
cxf - 2.7.7
pax web - 3.0.5

Environment

None

Activity

Show:
Achim Nierbeck
October 14, 2014, 7:40 AM

Workaround is to use the same approach as in the WhiteboardAliasIntegrationTest.
Just deploy a little application containing only this DocumentServlet (derived from the JettyDefaultServlet).

Assignee

Achim Nierbeck

Reporter

Srikanth Hugar

Labels

Components

Fix versions

Affects versions

Priority

Major
Configure