{"action":"created","issue":{"url":"https://api.github.com/repos/bmuschko/gradle-tomcat-plugin/issues/129","labels_url":"https://api.github.com/repos/bmuschko/gradle-tomcat-plugin/issues/129/labels{/name}","comments_url":"https://api.github.com/repos/bmuschko/gradle-tomcat-plugin/issues/129/comments","events_url":"https://api.github.com/repos/bmuschko/gradle-tomcat-plugin/issues/129/events","html_url":"https://github.com/bmuschko/gradle-tomcat-plugin/issues/129","id":99462985,"number":129,"title":"tomcatRunWar start, but tomcatRun is not","user":{"login":"Hubbitus","id":720349,"avatar_url":"https://avatars.githubusercontent.com/u/720349?v=3","gravatar_id":"","url":"https://api.github.com/users/Hubbitus","html_url":"https://github.com/Hubbitus","followers_url":"https://api.github.com/users/Hubbitus/followers","following_url":"https://api.github.com/users/Hubbitus/following{/other_user}","gists_url":"https://api.github.com/users/Hubbitus/gists{/gist_id}","starred_url":"https://api.github.com/users/Hubbitus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hubbitus/subscriptions","organizations_url":"https://api.github.com/users/Hubbitus/orgs","repos_url":"https://api.github.com/users/Hubbitus/repos","events_url":"https://api.github.com/users/Hubbitus/events{/privacy}","received_events_url":"https://api.github.com/users/Hubbitus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-08-06T15:31:22Z","updated_at":"2015-10-04T15:03:36Z","closed_at":null,"body":"Hello.\r\n\r\nI have gradle project where try use you great plugin.\r\nFragment of gradle.build:\r\n```\r\napply plugin: 'com.bmuschko.tomcat'\r\n\r\nbuildscript {\r\n    repositories {\r\n        mavenCentral()\r\n        jcenter()\r\n    }\r\n    dependencies {\r\n        classpath 'com.bmuschko:gradle-cargo-plugin:2.0.3'\r\n        classpath 'org.tmatesoft.svnkit:svnkit:1.8.7'\r\n        classpath 'com.bmuschko:gradle-tomcat-plugin:2.2.2'\r\n    }\r\n}\r\n\r\ndependencies {\r\n    def tomcatVersion = '7.0.57'\r\n    tomcat \"org.apache.tomcat.embed:tomcat-embed-core:${tomcatVersion}\",\r\n           \"org.apache.tomcat.embed:tomcat-embed-logging-juli:${tomcatVersion}\",\r\n           \"org.apache.tomcat.embed:tomcat-embed-jasper:${tomcatVersion}\"\r\n}\r\n```\r\n```\r\n$ gradle tomcatRun\r\nPicked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Dsun.java2d.pmoffscreen=false -XX:+UseCompressedOops -XX:+DoEscapeAnalysis -XX:+AggressiveOpts -XX:+EliminateLocks -XX:+UseParallelGC -XX:+UseNUMA -XX:+TieredCompilation\r\nApplied profile: profiles/profile-dev-local.gradle\r\n:portal-ui:compileJava UP-TO-DATE\r\n:portal-ui:processResources UP-TO-DATE\r\n:portal-ui:classes UP-TO-DATE\r\n:portal-ui:tomcatRun\r\nStarted Tomcat Server\r\nThe Server is running at http://localhost:8080/portal\r\n> Building 75% > :portal-ui:tomcatRu\r\n```\r\nBut when I open provided URL see 404 error (not found).\r\n\r\nRunning `tomcatRunWar` give me more output:\r\n```\r\n$ gradle tomcatRunWar\r\nPicked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Dsun.java2d.pmoffscreen=false -XX:+UseCompressedOops -XX:+DoEscapeAnalysis -XX:+AggressiveOpts -XX:+EliminateLocks -XX:+UseParallelGC -XX:+UseNUMA -XX:+TieredCompilation\r\nApplied profile: profiles/profile-dev-local.gradle\r\n:portal-ui:compileJava UP-TO-DATE\r\n:portal-ui:processResources UP-TO-DATE\r\n:portal-ui:classes UP-TO-DATE\r\n:portal-ui:senchaBuild\r\nPicked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Dsun.java2d.pmoffscreen=false -XX:+UseCompressedOops -XX:+DoEscapeAnalysis -XX:+AggressiveOpts -XX:+EliminateLocks -XX:+UseParallelGC -XX:+UseNUMA -XX:+TieredCompilation\r\nSencha Cmd v5.1.3.61\r\n[INF] Processing Build Descriptor : default\r\n[INF] > Processing build in development mode\r\n[INF] Loading app json manifest...\r\n[INF] Appending content to /home/pasha/Projects/RLH/egais/portal/implementation/branches/performance_tune/portal-ui/bootstrap.js\r\n[INF] Writing content to /home/pasha/Projects/RLH/egais/portal/implementation/branches/performance_tune/portal-ui/bootstrap.json\r\n[INF] merging 264 input resources into /home/pasha/Projects/RLH/egais/portal/implementation/branches/performance_tune/portal-ui/build/development/LesHoz/resources\r\n[INF] merged 264 resources into /home/pasha/Projects/RLH/egais/portal/implementation/branches/performance_tune/portal-ui/build/development/LesHoz/resources\r\n[INF] merging 22 input resources into /home/pasha/Projects/RLH/egais/portal/implementation/branches/performance_tune/portal-ui/build/development/LesHoz\r\n[INF] merged 22 resources into /home/pasha/Projects/RLH/egais/portal/implementation/branches/performance_tune/portal-ui/build/development/LesHoz\r\n[INF] writing sass content to /home/pasha/Projects/RLH/egais/portal/implementation/branches/performance_tune/portal-ui/build/temp/development/LesHoz/sass/LesHoz-all.scss.tmp\r\n[INF] appending sass content to /home/pasha/Projects/RLH/egais/portal/implementation/branches/performance_tune/portal-ui/build/temp/development/LesHoz/sass/LesHoz-all.scss.tmp\r\n[INF] appending sass content to /home/pasha/Projects/RLH/egais/portal/implementation/branches/performance_tune/portal-ui/build/temp/development/LesHoz/sass/LesHoz-all.scss.tmp\r\n[INF] writing sass content to /home/pasha/Projects/RLH/egais/portal/implementation/branches/performance_tune/portal-ui/build/temp/development/LesHoz/sass/config.rb\r\n[INF] executing compass using system installed ruby runtime\r\n   create LesHoz-all.css \r\n[INF] Copying page resources to /home/pasha/Projects/RLH/egais/portal/implementation/branches/performance_tune/portal-ui/build/development/LesHoz\r\n[INF] Writing content to /home/pasha/Projects/RLH/egais/portal/implementation/branches/performance_tune/portal-ui/build/development/LesHoz/app.json\r\n[INF] Writing content to /home/pasha/Projects/RLH/egais/portal/implementation/branches/performance_tune/portal-ui/build/development/LesHoz/bootstrap.js\r\n[INF] Appending content to /home/pasha/Projects/RLH/egais/portal/implementation/branches/performance_tune/portal-ui/build/development/LesHoz/bootstrap.js\r\n[INF] Building output markup to /home/pasha/Projects/RLH/egais/portal/implementation/branches/performance_tune/portal-ui/build/development/LesHoz/index.html\r\n[INF] Writing content to /home/pasha/Projects/RLH/egais/portal/implementation/branches/performance_tune/portal-ui/build/development/LesHoz/index.html\r\n\r\n:portal-ui:fillVersion\r\n:portal-ui:war\r\n:portal-ui:tomcatRunWar\r\nStarted Tomcat Server\r\nThe Server is running at http://localhost:8080/portal\r\n```\r\nand that url function correctly.\r\n\r\nI realize there may be not enough information, but please say what I may provide more."},"comment":{"url":"https://api.github.com/repos/bmuschko/gradle-tomcat-plugin/issues/comments/145356377","html_url":"https://github.com/bmuschko/gradle-tomcat-plugin/issues/129#issuecomment-145356377","issue_url":"https://api.github.com/repos/bmuschko/gradle-tomcat-plugin/issues/129","id":145356377,"user":{"login":"Hubbitus","id":720349,"avatar_url":"https://avatars.githubusercontent.com/u/720349?v=3","gravatar_id":"","url":"https://api.github.com/users/Hubbitus","html_url":"https://github.com/Hubbitus","followers_url":"https://api.github.com/users/Hubbitus/followers","following_url":"https://api.github.com/users/Hubbitus/following{/other_user}","gists_url":"https://api.github.com/users/Hubbitus/gists{/gist_id}","starred_url":"https://api.github.com/users/Hubbitus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hubbitus/subscriptions","organizations_url":"https://api.github.com/users/Hubbitus/orgs","repos_url":"https://api.github.com/users/Hubbitus/repos","events_url":"https://api.github.com/users/Hubbitus/events{/privacy}","received_events_url":"https://api.github.com/users/Hubbitus/received_events","type":"User","site_admin":false},"created_at":"2015-10-04T15:03:36Z","updated_at":"2015-10-04T15:03:36Z","body":"@bmuschko thank you very much. There many time spent in I upgrade gradle from 2.2 to 2.7 and some libs in project. I can't say exactly what changed more, but it works trait forward by your documentation.\r\n\r\nThe last problem I see it is not working hot code redeployment. Nor from compile it in Idea (she then do that for direct debugged applications) not via run external `gradle compileJava` task. In your [faq](https://github.com/bmuschko/gradle-tomcat-plugin#faq) you said it does not require any additional configuration. And I speak about basic methods body change, without change API, so basich hot replacement should be fine for me without any proprietary tools. Could you please point me how I could debug it?\r\n\r\nP.S. Sorry for possible mess of problems, if you wishes I can open new issue."}}