Note that there are some explanatory texts on larger screens.

plurals
  1. POmvn tomcat7:run-war or tomcat:run-war give a 404 and no logs
    primarykey
    data
    text
    <p>I have one problem wich make me crazy :</p> <p>I have one maven project , (<strong>play2</strong> application in maven project with <code>play2war</code> plugin)</p> <p>when I launch mvn <code>tomcat7:run-war</code> or <code>tomcat:run-war</code> (i change the servlet container) this is the rsult :</p> <pre><code> [INFO] Running war on http://localhost:8090/arhswfe [INFO] Creating Tomcat server configuration atC:\dev\projects\publicwebsite\sources\arhsweb\frontend\target\tomcat [INFO] create webapp with contextPath: /arhswfe Nov 08, 2013 4:30:55 PM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["http-bio-8090"] Nov 08, 2013 4:30:55 PM org.apache.catalina.core.StandardService startInternal INFO: Starting service Tomcat Nov 08, 2013 4:30:55 PM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet Engine: Apache Tomcat/7.0.37 Nov 08, 2013 4:30:55 PM org.apache.tomcat.util.digester.Digester endElement WARNING: No rules found matching 'Context/Logger'. Nov 08, 2013 4:30:56 PM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["http-bio-8090"] </code></pre> <p>all seems to be ok but when I test on <code>url</code> it give me a <code>404</code> and <code>no logs</code>, in a standalone server it is ok.</p> <p>Have you got any idea? I have configured all it is possible :</p> <pre><code> &lt;plugin&gt; &lt;groupId&gt;org.apache.tomcat.maven&lt;/groupId&gt; &lt;artifactId&gt;tomcat7-maven-plugin&lt;/artifactId&gt; &lt;version&gt;2.1&lt;/version&gt; &lt;configuration&gt; &lt;tomcatLoggingFile&gt;D:/log.txt&lt;/tomcatLoggingFile&gt; &lt;warDirectory&gt;${project.build.directory}&lt;/warDirectory&gt; &lt;update&gt;true&lt;/update&gt; &lt;contextReloadable&gt;true&lt;/contextReloadable&gt; &lt;port&gt;8090&lt;/port&gt; &lt;warFile&gt;arhswfe.war&lt;/warFile&gt; &lt;ignorePackaging&gt;true&lt;/ignorePackaging&gt; &lt;contextFile&gt;../configuration/context.xml&lt;/contextFile&gt; &lt;/configuration&gt; &lt;/plugin&gt; </code></pre> <p>logs always empty no error but <code>`404....</code></p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload