Neale Upstone created MTOMCAT-243:
-------------------------------------

             Summary: Tomcat7 deploys, but doesn't start webapp 2.5 apps 
defined in <webapps>
                 Key: MTOMCAT-243
                 URL: https://issues.apache.org/jira/browse/MTOMCAT-243
             Project: Apache Tomcat Maven Plugin
          Issue Type: Bug
            Reporter: Neale Upstone


Using the same <webapps> config as with the tomcat6 plugin, I'm getting the 
following with Tomcat 7:

{noformat}
[INFO] Deploying dependency wars
[INFO] Deploy warfile: 
/home/neale/.m2/repository/blah/blah-war-1.0.0.CI-SNAPSHOT.war to contextPath: 
/blah-war
Oct 15, 2013 2:28:53 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8082"]
Oct 15, 2013 2:28:53 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Tomcat
Oct 15, 2013 2:28:59 PM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
Oct 15, 2013 2:28:59 PM org.apache.coyote.AbstractProtocol start
{noformat}

Yet this works if I run from the WAR project using run-war.

The "No Spring WebApplicationInitializer" log message would seem to indicate 
that the WAR is being treated as a 3.0 version webapp and calling the Spring 
entry point.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to