{"action":"created","issue":{"url":"https://api.github.com/repos/marklogic-community/ml-gradle/issues/308","repository_url":"https://api.github.com/repos/marklogic-community/ml-gradle","labels_url":"https://api.github.com/repos/marklogic-community/ml-gradle/issues/308/labels{/name}","comments_url":"https://api.github.com/repos/marklogic-community/ml-gradle/issues/308/comments","events_url":"https://api.github.com/repos/marklogic-community/ml-gradle/issues/308/events","html_url":"https://github.com/marklogic-community/ml-gradle/issues/308","id":296038857,"number":308,"title":"Error when redeploying an app server with the URL rewriter set","user":{"login":"jkerr5","id":261122,"avatar_url":"https://avatars1.githubusercontent.com/u/261122?v=4","gravatar_id":"","url":"https://api.github.com/users/jkerr5","html_url":"https://github.com/jkerr5","followers_url":"https://api.github.com/users/jkerr5/followers","following_url":"https://api.github.com/users/jkerr5/following{/other_user}","gists_url":"https://api.github.com/users/jkerr5/gists{/gist_id}","starred_url":"https://api.github.com/users/jkerr5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkerr5/subscriptions","organizations_url":"https://api.github.com/users/jkerr5/orgs","repos_url":"https://api.github.com/users/jkerr5/repos","events_url":"https://api.github.com/users/jkerr5/events{/privacy}","received_events_url":"https://api.github.com/users/jkerr5/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-09T23:01:17Z","updated_at":"2018-02-09T23:10:10Z","closed_at":null,"author_association":"NONE","body":"If I have a URL rewriter set for an app server, when I try to run `mlDeploy` more than once, I get the following error:\r\n\r\n```\r\nLogging HTTP response body to assist with debugging: {\"errorResponse\":{\"statusCode\":400, \"status\":\"Bad Request\", \"messageCode\":\"RESTAPI-INVALIDCONTENT\", \"message\":\"Your bootstrap payload caused the server to throw an error.  Underlying error message: REST-INVALIDPARAM: (err:FOER0000) Invalid parameter: Port 9041 is in use.\"}}\r\n```\r\n\r\nThis is with a server json file that looks like this\r\n\r\n```\r\n{\r\n  \"server-name\": \"%%NAME%%\",\r\n  \"url-rewriter\": \"/myrewriter.xml\"\r\n}\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/marklogic-community/ml-gradle/issues/comments/364595791","html_url":"https://github.com/marklogic-community/ml-gradle/issues/308#issuecomment-364595791","issue_url":"https://api.github.com/repos/marklogic-community/ml-gradle/issues/308","id":364595791,"user":{"login":"jkerr5","id":261122,"avatar_url":"https://avatars1.githubusercontent.com/u/261122?v=4","gravatar_id":"","url":"https://api.github.com/users/jkerr5","html_url":"https://github.com/jkerr5","followers_url":"https://api.github.com/users/jkerr5/followers","following_url":"https://api.github.com/users/jkerr5/following{/other_user}","gists_url":"https://api.github.com/users/jkerr5/gists{/gist_id}","starred_url":"https://api.github.com/users/jkerr5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkerr5/subscriptions","organizations_url":"https://api.github.com/users/jkerr5/orgs","repos_url":"https://api.github.com/users/jkerr5/repos","events_url":"https://api.github.com/users/jkerr5/events{/privacy}","received_events_url":"https://api.github.com/users/jkerr5/received_events","type":"User","site_admin":false},"created_at":"2018-02-09T23:10:10Z","updated_at":"2018-02-09T23:10:10Z","author_association":"NONE","body":"What's interesting is that I can run `mlDeplyServers` over and over without issue."}}
{"actor":{"display_login":"jkerr5"}}