{"action":"created","issue":{"url":"https://api.github.com/repos/hawtio/hawtio/issues/1831","labels_url":"https://api.github.com/repos/hawtio/hawtio/issues/1831/labels{/name}","comments_url":"https://api.github.com/repos/hawtio/hawtio/issues/1831/comments","events_url":"https://api.github.com/repos/hawtio/hawtio/issues/1831/events","html_url":"https://github.com/hawtio/hawtio/issues/1831","id":52122498,"number":1831,"title":"Console does not work with if context path has more than one folder","user":{"login":"ufoscout","id":960885,"avatar_url":"https://avatars.githubusercontent.com/u/960885?v=3","gravatar_id":"","url":"https://api.github.com/users/ufoscout","html_url":"https://github.com/ufoscout","followers_url":"https://api.github.com/users/ufoscout/followers","following_url":"https://api.github.com/users/ufoscout/following{/other_user}","gists_url":"https://api.github.com/users/ufoscout/gists{/gist_id}","starred_url":"https://api.github.com/users/ufoscout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ufoscout/subscriptions","organizations_url":"https://api.github.com/users/ufoscout/orgs","repos_url":"https://api.github.com/users/ufoscout/repos","events_url":"https://api.github.com/users/ufoscout/events{/privacy}","received_events_url":"https://api.github.com/users/ufoscout/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2014-12-16T15:00:31Z","updated_at":"2015-04-28T09:34:38Z","closed_at":"2015-04-28T09:34:38Z","body":"Hi all,\r\n\r\nthe hawtio-web console does not work if the application context path contais more that one folder. \r\nE.g.:\r\n- context path = \"/\" it works fine\r\n- context path = \"/one\" it works fine\r\n- context path = \"/one/two\" it does not work!\r\n\r\nHere the network calls of the last case (\"/one/two\"):\r\n![hawtio_error1](https://cloud.githubusercontent.com/assets/960885/5455468/07a8d7e4-853c-11e4-96eb-64b3da00ba98.png)\r\n\r\nThe same resources are called twice, but the second time the URL is wrong as it contains only the the first folder of the context path (in the example it contains \"localhost:8999/jms/app/app.js\" instead of \"localhost:8999/jms/**two**/app/app.js\" ).\r\n\r\nThe issue has been reproduced with:\r\n- hawtio 1.4.40\r\n- jetty 9 and WebLogic 12\r\n- Firefox and Chrome\r\n"},"comment":{"url":"https://api.github.com/repos/hawtio/hawtio/issues/comments/96989211","html_url":"https://github.com/hawtio/hawtio/issues/1831#issuecomment-96989211","issue_url":"https://api.github.com/repos/hawtio/hawtio/issues/1831","id":96989211,"user":{"login":"davsclaus","id":477100,"avatar_url":"https://avatars.githubusercontent.com/u/477100?v=3","gravatar_id":"","url":"https://api.github.com/users/davsclaus","html_url":"https://github.com/davsclaus","followers_url":"https://api.github.com/users/davsclaus/followers","following_url":"https://api.github.com/users/davsclaus/following{/other_user}","gists_url":"https://api.github.com/users/davsclaus/gists{/gist_id}","starred_url":"https://api.github.com/users/davsclaus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davsclaus/subscriptions","organizations_url":"https://api.github.com/users/davsclaus/orgs","repos_url":"https://api.github.com/users/davsclaus/repos","events_url":"https://api.github.com/users/davsclaus/events{/privacy}","received_events_url":"https://api.github.com/users/davsclaus/received_events","type":"User","site_admin":false},"created_at":"2015-04-28T09:34:38Z","updated_at":"2015-04-28T09:34:38Z","body":"Not in our scope to try to support nested paths. "}}