On 2 October 2014 23:09, Konstantin Kolinko <knst.koli...@gmail.com> wrote: > 2014-10-02 4:55 GMT+04:00 Olivier Lamy <ol...@apache.org>: >> oh my bad it was just for testing purpose as I have some issues with >> the jsp classloader with the tomcat8 integration. (I will revert that) >> As I have limited time currently, I will appreciate any help :-) >> >> The problem is: >> > (...) >> >> To reproduce: >> >> git clone https://github.com/apache/tomcat-maven-plugin.git >> cd tomcat-maven-plugin >> git checkout tc8.x >> (or get the branch from svn) >> >> mvn clean install -pl :tomcat8-maven-plugin -am -Prun-its >> >> less tomcat8-maven-plugin/target/test-classes/tomcat-run-multi-config/foo.log > > > It fails to me on some earlier step, > > [INFO] --- maven-invoker-plugin:1.8:run (integration-tests-invoker) @ > tomcat8-maven-plugin --- > [INFO] Building: simple-war-exec-project\pom.xml > [INFO] run script verify.bsh > [INFO] ..FAILED (44.9 s) > [INFO] The post-build script returned false. > [INFO] ------------------------------------------------- > [INFO] Build Summary: > [INFO] Passed: 0, Failed: 1, Errors: 0, Skipped: 0 > [INFO] ------------------------------------------------- > [ERROR] The following builds failed: > [ERROR] * simple-war-exec-project\pom.xml > [INFO] ------------------------------------------------- > > In tomcat8-maven-plugin\target\it\simple-war-exec-project\build.log > I see the the following three lines at the end of the file: > > [[[ > Running post-build script: > <...>\tomcat8-maven-plugin\target\it\simple-war-exec-project\verify.bsh > > conf/Catalina/localhost/manager.xml is missing. > > Finished post-build script: > <...>\tomcat8-maven-plugin\target\it\simple-war-exec-project\verify.bsh > ]]] > > So the "verify.bsh" script complained that manager.xml file is missing > and returned false, causing the overall build to fail.
Ok sounds like a windauze failure :-) Anyway I disable temporary this test until we fix the other real issue. You can test as well with a real project. First install the plugin locally: mvn clean install Then use this project: git clone https://github.com/olamy/test-foo.git cd test-foo mvn tomcat8:run (with a browser hit http://localhost:9090/index.jsp note http://localhost:9090 works fine calling a rest services to this running tomcat) You can even debug with you ide using mvnDebug tomcat8:run Thanks for your help. Olivier > > Best regards, > Konstantin Kolinko > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org > For additional commands, e-mail: dev-h...@tomcat.apache.org > -- Olivier Lamy http://twitter.com/olamy | http://linkedin.com/in/olamy --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org