tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aivaras Ruzveltas (JIRA)" <>
Subject [jira] [Created] (MTOMCAT-219) Web applications listed in <webapps> are not accessible
Date Wed, 17 Apr 2013 12:03:16 GMT
Aivaras Ruzveltas created MTOMCAT-219:

             Summary: Web applications listed in <webapps> are not accessible
                 Key: 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 (*$^¨%`£)


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: - - [17/Apr/2013:14:49:10 +0300] "GET /IntegrationTests/ HTTP/1.1" 200 42 http-bio-8080-exec-1
27 - - [17/Apr/2013:14:49:13 +0300] "GET /myApplication/ HTTP/1.1" 404 949 http-bio-8080-exec-3

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
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:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message