error starting apache tom cat (home page) HTTP Status 404

0

When I am starting the tom cat (localhost: 8080) the following HTTP State error 404 is happening, and does not show the tom cat home page.

tomcatlog

  

Jan21,201611:53:41AMorg.apache.catalina.startup.VersionLoggerListenerlog  INFORMATION:Serverversion:ApacheTomcat/8.0.30  Jan21,201611:53:41AMorg.apache.catalina.startup.VersionLoggerListenerlog  Information:Serverbuilt:Dec1201522:30:46UTC  Jan21,201611:53:41AMorg.apache.catalina.startup.VersionLoggerListenerlog  INFORMATION:Servernumber:8.0.30.0  Jan21,201611:53:41AMorg.apache.catalina.startup.VersionLoggerListenerlog  INFORMATION:OSName:Linux  Jan21,201611:53:41AMorg.apache.catalina.startup.VersionLoggerListenerlog  INFORMATION:OSVersion:3.19.0-25-generic  Jan21,201611:53:41AMorg.apache.catalina.startup.VersionLoggerListenerlog  INFORMATION:Architecture:amd64  Jan21,201611:53:41AMorg.apache.catalina.startup.VersionLoggerListenerlog  INFORMATION:JavaHome:/usr/lib/jvm/java-8-oracle/jre  Jan21,201611:53:41AMorg.apache.catalina.startup.VersionLoggerListenerlog  INFORMATION:JVMVersion:1.8.0_66-b17  Jan21,201611:53:41AMorg.apache.catalina.startup.VersionLoggerListenerlog  INFORMATION:JVMVendor:OracleCorporation  Jan21,201611:53:41AMorg.apache.catalina.startup.VersionLoggerListenerlog  INFO:CATALINA_BASE:/home/fernandounix/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0  Jan21,201611:53:41AMorg.apache.catalina.startup.VersionLoggerListenerlog  INFO:CATALINA_HOME:/home/fernandounix/Downloads/apache-tomcat-8.0.30  Jan21,201611:53:41AMorg.apache.catalina.startup.VersionLoggerListenerlog  INFO:Commandlineargument:-Dcatalina.base=/home/fernandounix/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0  Jan21,201611:53:41AMorg.apache.catalina.startup.VersionLoggerListenerlog  INFO:Commandlineargument:-Dcatalina.home=/home/fernandounix/Downloads/apache-tomcat-8.0.30  Jan21,201611:53:41AMorg.apache.catalina.startup.VersionLoggerListenerlog  INFO:Commandlineargument:-Dwtp.deploy=/home/fernandounix/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps  Jan21,201611:53:41AMorg.apache.catalina.startup.VersionLoggerListenerlog  INFO:Commandlineargument:-Djava.endorsed.dirs=/home/fernandounix/Downloads/apache-tomcat-8.0.30/endorsed  Jan21,201611:53:41AMorg.apache.catalina.startup.VersionLoggerListenerlog  INFO:Commandlineargument:-Dfile.encoding=UTF-8  Jan21,201611:53:41AMorg.apache.catalina.core.AprLifecycleListenerlifecycleEvent  INFORMATION:ThenativeARP-basedApacheTomcatlibrarythatallowsoptimumperformanceindevelopmentenvironmentshasnotbeenfoundinjava.library.path:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib  Jan21,201611:53:41AMorg.apache.coyote.AbstractProtocolinit  INFORMATION:InitializingProtocolHandler["http-nio-8080"]   Jan 21, 2016 11:53:41 AM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector   INFO: Using a shared selector for servlet write / read   Jan 21, 2016 11:53:41 AM org.apache.coyote.AbstractProtocol init   INFORMATION: Initializing ProtocolHandler ["ajp-nio-8009"]   Jan 21, 2016 11:53:41 AM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector   INFO: Using a shared selector for servlet write / read   Jan 21, 2016 11:53:41 AM org.apache.catalina.startup.Catalina load   INFORMATION: Initialization processed in 812 ms   Jan 21, 2016 11:53:41 AM org.apache.catalina.core.StandardService startInternal   INFORMATION: Starting Catalina Service   Jan 21, 2016 11:53:41 AM org.apache.catalina.core.StandardEngine startInternal   INFO: Starting Servlet Engine: Apache Tomcat / 8.0.30   Jan 21, 2016 11:53:42 AM org.apache.coyote.AbstractProtocol start   INFORMATION: Starting ProtocolHandler ["http-nio-8080"]   Jan 21, 2016 11:53:42 AM org.apache.coyote.AbstractProtocol start   INFORMATION: Starting ProtocolHandler ["ajp-nio-8009"]   Jan 21, 2016 11:53:42 AM org.apache.catalina.startup.Catalina start   INFO: Server startup in 344 ms

    
asked by anonymous 21.01.2016 / 15:08

2 answers

0

Your application should be inserted into the webapps folder, usually located in the tomcat installation directory.

After doing this you can access the application through the link "localhost: 8080 / appname".

    
21.01.2016 / 17:02
0

By logging tomcat started with no errors, however it seems that there is no application deployed on it, you can check and / or deploy the applications on tomcat at link , the manager gets the list of installed applications on the server and their status. Below is the image of Tomcat Manager, with the applications that come by default, in addition it should include yours, if it has already been installed.

Withyourdeployadaapplicationtoaccessit,youmustenterthefullpath, link .

    
04.12.2018 / 04:58