Note that there are some explanatory texts on larger screens.

plurals
  1. POTomcat 7 war file deploy
    text
    copied!<p>I am trying to load a WAR file to my Tomcat 7, and I am using eclipse to start or stop the Server.</p> <p>I pasted the war file in TOMCAT_HOME/webapps folder and I started the server.</p> <p>The server Started fine and i got the below console message.</p> <pre><code>10 Dec, 2012 9:10:46 AM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: F:\Program Files\Java\jdk1.6.0_37\jre\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;F:/Program Files/Java/jre6/bin/client;F:/Program Files/Java/jre6/bin;F:/Program Files/Java/jre6/lib/i386;C:\Program Files\AMD APP\bin\x86;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\Windows Live\Shared;C:\Program Files\QuickTime\QTSystem\;.;F:\Program Files\Java\jdk1.6.0_37\bin;F:\apache-maven-3.0.4\bin;;F:\eclipse-juno;;. 10 Dec, 2012 9:10:46 AM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["http-bio-8090"] 10 Dec, 2012 9:10:46 AM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["ajp-bio-8009"] 10 Dec, 2012 9:10:46 AM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 484 ms 10 Dec, 2012 9:10:46 AM org.apache.catalina.core.StandardService startInternal INFO: Starting service Catalina 10 Dec, 2012 9:10:46 AM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet Engine: Apache Tomcat/7.0.33 10 Dec, 2012 9:10:46 AM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["http-bio-8090"] 10 Dec, 2012 9:10:46 AM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["ajp-bio-8009"] 10 Dec, 2012 9:10:46 AM org.apache.catalina.startup.Catalina start INFO: Server startup in 211 ms </code></pre> <p>But when i try to access my application it gave me ERROR 404, File not Found.</p> <p>I checked the application TOMCAT_HOME/webapps there i found both my war file and a folder of same name - "JavaServerFaces"</p> <p><strong>TOMCAT_HOME/webapps directory :</strong> <img src="https://i.stack.imgur.com/DGExq.jpg" alt="Tomcat deployment Directory"></p> <p>The Server is ON, war file is present, A folder structure is generated, but still i am not able to access my application which gives <code>HTTP Status 404 - /JavaServerFaces/xhtml/hello.xhtml</code></p> <p>Any solutions for proper deployment and running of war file on tomcat 7?</p>
 

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