Aivaras Ruzveltas created MTOMCAT-219: -----------------------------------------
Summary: Web applications listed in <webapps> are not accessible Key: MTOMCAT-219 URL: https://issues.apache.org/jira/browse/MTOMCAT-219 Project: Apache Tomcat Maven Plugin Issue Type: Bug Components: tomcat7 Affects Versions: 2.1 Environment: java 7; maven 3.0.5; ubuntu 12.10 (quantal) 64-bit Reporter: Aivaras Ruzveltas Assignee: Olivier Lamy (*$^¨%`£) Configuration: <plugin> <groupId>org.apache.tomcat.maven</groupId> <artifactId>tomcat7-maven-plugin</artifactId> <version>2.1</version> <configuration> <webapps> <webapp> <groupId>com.example</groupId> <artifactId>myApplication</artifactId> <version>1.0</version> <type>war</type> </webapp> </webapps> </configuration> </plugin> Application: ~/.m2/repository/com/example/myApplication/1.0/myApplication-1.0.war contains single index.html file. Maven execution output: [INFO] Running war on http://localhost:8080/IntegrationTests [INFO] Creating Tomcat server configuration at somedir/IntegrationTests/target/tomcat [INFO] create webapp with contextPath: /IntegrationTests [DEBUG] context reloadable: false [INFO] Deploying dependency wars [INFO] Deploy warfile: /home/aivaras/.m2/repository/com/example/myApplication/1.0/myApplication-1.0.war to contextPath: /myApplication [DEBUG] Expanding: /home/aivaras/.m2/repository/com/example/myApplication/1.0/myApplication-1.0.war into /somedir/IntegrationTests/target/tomcat/webapps/myApplication [DEBUG] /somedir/IntegrationTests/target/tomcat/webapps/myApplication/index.html: mode 100644, chmod 644 [DEBUG] expand complete [DEBUG] context reloadable: false Apr 17, 2013 2:49:04 PM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["http-bio-8080"] Apr 17, 2013 2:49:05 PM org.apache.catalina.core.StandardService startInternal INFO: Starting service Tomcat Apr 17, 2013 2:49:05 PM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet Engine: Apache Tomcat/7.0.37 Apr 17, 2013 2:49:06 PM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["http-bio-8080"] Log file contents (/somedir/IntegrationTests/target/tomcat/logs/access_log.2013-04-17) contents after accessing main application and dependency application: 127.0.0.1 - - [17/Apr/2013:14:49:10 +0300] "GET /IntegrationTests/ HTTP/1.1" 200 42 http-bio-8080-exec-1 27 127.0.0.1 - - [17/Apr/2013:14:49:13 +0300] "GET /myApplication/ HTTP/1.1" 404 949 http-bio-8080-exec-3 8 Result: main application is accessible at http://localhost:8080/IntegrationTests/ when accessing dependency application at http://localhost:8080/myApplication/ result is Tomcat default error looking page with: HTTP Status 404 - type Status report message description The requested resource is not available. Apache Tomcat/7.0.37 Accessing any not existing URL, like http://localhost:8080/asdf/ gives an empty page. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org