Not sure if this project is right place to report this issue, so please move if necessary.
Following procedure used to work until Fluorine:
- install odl-restconf-all
- after successfully started, modify etc/org.ops4j.pax.web.cfg (for example change HTTPs settings)
- Wait for change to propagate
Updating etc/org.ops4j.pax.web.cfg triggers reload of some pax-web bundles which results in existing servlets being undeployed:
opendaylight-user@root>http:list ID │ Servlet │ Servlet-Name │ State │ Alias │ Url ────┼────────────────────┼──────────────────────────────────┼─────────────┼─────────────────────┼──────────────────────────────────── 188 │ JolokiaServlet │ ServletModel-2 │ Undeployed │ /jolokia │ [/jolokia/*] 237 │ DiagStatusServlet │ ServletModel-5 │ Undeployed │ /diagstatus │ [/diagstatus/*] 304 │ ResourceServlet │ /apidoc/explorer:/explorer │ Undeployed │ /apidoc/explorer │ [/apidoc/explorer/*] 198 │ OAuth2TokenServlet │ ServletModel-10 │ Undeployed │ /oauth2 │ [/oauth2/*] 304 │ ServletContainer │ ServletContainer │ Undeployed │ │ [/apidoc/apis/*, /apidoc/18/apis/*] 198 │ MoonTokenEndpoint │ ServletModel-8 │ Undeployed │ /moon │ [/moon/*] 304 │ ResourceServlet │ /apidoc/18/explorer:/18/explorer │ Undeployed │ /apidoc/18/explorer │ [/apidoc/18/explorer/*] 188 │ JolokiaServlet │ ServletModel-38 │ Deployed │ /jolokia │ [/jolokia/*] opendaylight-user@root>
Now any restconf query will return HTTP404.