{"action":"created","issue":{"url":"https://api.github.com/repos/appropriate/docker-jetty/issues/30","repository_url":"https://api.github.com/repos/appropriate/docker-jetty","labels_url":"https://api.github.com/repos/appropriate/docker-jetty/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/appropriate/docker-jetty/issues/30/comments","events_url":"https://api.github.com/repos/appropriate/docker-jetty/issues/30/events","html_url":"https://github.com/appropriate/docker-jetty/issues/30","id":143400856,"number":30,"title":"Docker quick fail on web exception","user":{"login":"chrislovecnm","id":335402,"avatar_url":"https://avatars.githubusercontent.com/u/335402?v=3","gravatar_id":"","url":"https://api.github.com/users/chrislovecnm","html_url":"https://github.com/chrislovecnm","followers_url":"https://api.github.com/users/chrislovecnm/followers","following_url":"https://api.github.com/users/chrislovecnm/following{/other_user}","gists_url":"https://api.github.com/users/chrislovecnm/gists{/gist_id}","starred_url":"https://api.github.com/users/chrislovecnm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrislovecnm/subscriptions","organizations_url":"https://api.github.com/users/chrislovecnm/orgs","repos_url":"https://api.github.com/users/chrislovecnm/repos","events_url":"https://api.github.com/users/chrislovecnm/events{/privacy}","received_events_url":"https://api.github.com/users/chrislovecnm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-25T01:22:33Z","updated_at":"2016-03-25T21:23:12Z","closed_at":null,"body":"Hi all\r\n\r\nThe use case is to have the docker stop when when the default webapp cannot talk to say mysql.\r\n\r\nIt is my understanding that the following xml is what I need:\r\n\r\n```\r\n<!DOCTYPE Configure PUBLIC \"-//Jetty//Configure//EN\" \"http://www.eclipse.org/jetty/configure_9_0.dtd\">\r\n<Configure class=\"org.eclipse.jetty.webapp.WebAppContext\">\r\n\t <!-- don't use the following two lines in the jetty-web.xml -->\r\n         <Set name=\"war\"><SystemProperty name=\"jetty.home\" default=\".\"/>/apollobit-web-0.3.war</Set>\r\n\t <Set name=\"contextPath\">/</Set>\r\n\t <Set name=\"throwUnavailableOnStartupException\">true</Set>\r\n</Configure>\r\n```\r\n\r\nHere is what I have tried:\r\n\r\n1. added jetty-web.xml to root.war ... no joy without the name=\"war\" or contextPath\r\n2. added apollobit-web.xml under /var/lib/jetty/webapps no joy\r\n\r\nideas?"},"comment":{"url":"https://api.github.com/repos/appropriate/docker-jetty/issues/comments/201512508","html_url":"https://github.com/appropriate/docker-jetty/issues/30#issuecomment-201512508","issue_url":"https://api.github.com/repos/appropriate/docker-jetty/issues/30","id":201512508,"user":{"login":"chrislovecnm","id":335402,"avatar_url":"https://avatars.githubusercontent.com/u/335402?v=3","gravatar_id":"","url":"https://api.github.com/users/chrislovecnm","html_url":"https://github.com/chrislovecnm","followers_url":"https://api.github.com/users/chrislovecnm/followers","following_url":"https://api.github.com/users/chrislovecnm/following{/other_user}","gists_url":"https://api.github.com/users/chrislovecnm/gists{/gist_id}","starred_url":"https://api.github.com/users/chrislovecnm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrislovecnm/subscriptions","organizations_url":"https://api.github.com/users/chrislovecnm/orgs","repos_url":"https://api.github.com/users/chrislovecnm/repos","events_url":"https://api.github.com/users/chrislovecnm/events{/privacy}","received_events_url":"https://api.github.com/users/chrislovecnm/received_events","type":"User","site_admin":false},"created_at":"2016-03-25T21:23:12Z","updated_at":"2016-03-25T21:23:12Z","body":"@md5 adding the `startWithUnavailable` did not help either ..."}}