{"action":"created","issue":{"url":"https://api.github.com/repos/nskvortsov/test/issues/194","labels_url":"https://api.github.com/repos/nskvortsov/test/issues/194/labels{/name}","comments_url":"https://api.github.com/repos/nskvortsov/test/issues/194/comments","events_url":"https://api.github.com/repos/nskvortsov/test/issues/194/events","html_url":"https://github.com/nskvortsov/test/issues/194","id":54159535,"number":194,"title":"Deploy to Tomcat 7 fails due to different \"manager\" app URLs","user":{"login":"nskvortsov","id":539027,"avatar_url":"https://avatars.githubusercontent.com/u/539027?v=3","gravatar_id":"","url":"https://api.github.com/users/nskvortsov","html_url":"https://github.com/nskvortsov","followers_url":"https://api.github.com/users/nskvortsov/followers","following_url":"https://api.github.com/users/nskvortsov/following{/other_user}","gists_url":"https://api.github.com/users/nskvortsov/gists{/gist_id}","starred_url":"https://api.github.com/users/nskvortsov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nskvortsov/subscriptions","organizations_url":"https://api.github.com/users/nskvortsov/orgs","repos_url":"https://api.github.com/users/nskvortsov/repos","events_url":"https://api.github.com/users/nskvortsov/events{/privacy}","received_events_url":"https://api.github.com/users/nskvortsov/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-01-13T07:37:52Z","updated_at":"2015-01-13T07:37:54Z","closed_at":"2015-01-13T07:37:52Z","body":"It looks like Tomcat 6 and Tomcat 7 use different URLs for \"manager\" application. Tomcat 7 has a format like \"http://{host}:{port}/manager/text/{command}?{parameters}\" (http://tomcat.apache.org/tomcat-7.0-doc/manager-howto.html), while Tomcat 6 uses URL patternt without \"text\" element (http://tomcat.apache.org/tomcat-6.0-doc/manager-howto.html). And it looks like plugin crashes with Tomcat 7 due to this:\n\n```\n#!java\n[17:03:18]Step 2/2: Redeploy to DEV (Tomcat Deployer)\n[17:03:18][Step 2/2] Using manager app located at [http://localhost:8080/manager]\n[17:03:18][Step 2/2] java.lang.NullPointerException java.lang.NullPointerException at org.apache.tools.ant.taskdefs.Redirector.complete(Redirector.java:907) at \n```\n\nIt would be great to be able to specify Tomcat version in run step settings and support Tomcat 7 as well.\n\n----------------------------------------\n- Bitbucket: https://bitbucket.org/nskvortsov/deployer/issue/8\n- Originally reported by: [stormdb](http://bitbucket.org/stormdb)\n- Originally created at: 2013-02-15T16:17:03.814\n"},"comment":{"url":"https://api.github.com/repos/nskvortsov/test/issues/comments/69706257","html_url":"https://github.com/nskvortsov/test/issues/194#issuecomment-69706257","issue_url":"https://api.github.com/repos/nskvortsov/test/issues/194","id":69706257,"user":{"login":"nskvortsov","id":539027,"avatar_url":"https://avatars.githubusercontent.com/u/539027?v=3","gravatar_id":"","url":"https://api.github.com/users/nskvortsov","html_url":"https://github.com/nskvortsov","followers_url":"https://api.github.com/users/nskvortsov/followers","following_url":"https://api.github.com/users/nskvortsov/following{/other_user}","gists_url":"https://api.github.com/users/nskvortsov/gists{/gist_id}","starred_url":"https://api.github.com/users/nskvortsov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nskvortsov/subscriptions","organizations_url":"https://api.github.com/users/nskvortsov/orgs","repos_url":"https://api.github.com/users/nskvortsov/repos","events_url":"https://api.github.com/users/nskvortsov/events{/privacy}","received_events_url":"https://api.github.com/users/nskvortsov/received_events","type":"User","site_admin":false},"created_at":"2015-01-13T07:37:54Z","updated_at":"2015-01-13T07:37:54Z","body":"Thanks! It worked for me...\n\n----------------------------------------\nOriginal comment by: Aleksandr Popov\n"}}