Error - HTTP Status 404

Asked

Viewed 1,501 times

0

I’m having trouble with Tomcat my test site. When I enter it gives an error:

HTTP Status 404 - /Liferay/

type Status report

message /Liferay/

Description The requested Resource is not available. Apache Tomcat/7.0.57

Here are the part of the msg console, which seems to be a problem:

dez 08, 2014 11:52:37 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Server version:        Apache Tomcat/7.0.57
dez 08, 2014 11:52:37 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Server built:          Nov 3 2014 08:39:16 UTC
dez 08, 2014 11:52:37 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Server number:         7.0.57.0
dez 08, 2014 11:52:37 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: OS Name:               Windows 8
dez 08, 2014 11:52:37 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: OS Version:            6.2
dez 08, 2014 11:52:37 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Architecture:          x86
dez 08, 2014 11:52:37 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: JAVA_HOME:             C:\Program Files (x86)\Java\jdk1.8.0\jre
dez 08, 2014 11:52:37 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: JVM Version:           1.8.0-b132
dez 08, 2014 11:52:37 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: JVM Vendor:            Oracle Corporation
dez 08, 2014 11:52:37 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: CATALINA_BASE:         C:\Tomcat\apache-tomcat-7.0.57
dez 08, 2014 11:52:37 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: CATALINA_HOME:         C:\Tomcat\apache-tomcat-7.0.57
dez 08, 2014 11:52:37 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Command line argument: -Djava.util.logging.config.file=C:\Tomcat\apache-tomcat-7.0.57\conf\logging.properties
dez 08, 2014 11:52:37 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
dez 08, 2014 11:52:37 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Command line argument: -Djava.endorsed.dirs=C:\Tomcat\apache-tomcat-7.0.57\endorsed
dez 08, 2014 11:52:37 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Command line argument: -Dcatalina.base=C:\Tomcat\apache-tomcat-7.0.57
dez 08, 2014 11:52:37 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Command line argument: -Dcatalina.home=C:\Tomcat\apache-tomcat-7.0.57
dez 08, 2014 11:52:37 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Command line argument: -Djava.io.tmpdir=C:\Tomcat\apache-tomcat-7.0.57\temp
dez 08, 2014 11:52:37 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFORMAÇÕES: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files (x86)\Java\jdk1.8.0\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Java\jre8\bin;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x64;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Java\jdk1.8.0\bin;C:\cygwin64\bin;;.
dez 08, 2014 11:52:37 AM org.apache.coyote.AbstractProtocol init
INFORMAÇÕES: Initializing ProtocolHandler ["http-bio-8080"]
dez 08, 2014 11:52:37 AM org.apache.coyote.AbstractProtocol init
INFORMAÇÕES: Initializing ProtocolHandler ["ajp-bio-8009"]
dez 08, 2014 11:52:37 AM org.apache.catalina.startup.Catalina load
INFORMAÇÕES: Initialization processed in 600 ms
dez 08, 2014 11:52:37 AM org.apache.catalina.core.StandardService startInternal
INFORMAÇÕES: Starting service Catalina
dez 08, 2014 11:52:37 AM org.apache.catalina.core.StandardEngine startInternal
INFORMAÇÕES: Starting Servlet Engine: Apache Tomcat/7.0.57
dez 08, 2014 11:52:37 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFORMAÇÕES: Deploying configuration descriptor C:\Tomcat\apache-tomcat-7.0.57\conf\Catalina\localhost\ROOT.xml
dez 08, 2014 11:52:38 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFORMAÇÕES: Deployment of configuration descriptor C:\Tomcat\apache-tomcat-7.0.57\conf\Catalina\localhost\ROOT.xml has finished in 437 ms
dez 08, 2014 11:52:38 AM org.apache.catalina.startup.HostConfig deployWAR
INFORMAÇÕES: Deploying web application archive C:\Tomcat\apache-tomcat-7.0.57\webapps\liferay.war
dez 08, 2014 11:52:38 AM org.apache.catalina.startup.HostConfig deployWAR
INFORMAÇÕES: Deployment of web application archive C:\Tomcat\apache-tomcat-7.0.57\webapps\liferay.war has finished in 156 ms
dez 08, 2014 11:52:38 AM org.apache.catalina.startup.HostConfig deployDirectory
INFORMAÇÕES: Deploying web application directory C:\Tomcat\apache-tomcat-7.0.57\webapps\docs
dez 08, 2014 11:52:38 AM org.apache.catalina.startup.HostConfig deployDirectory
INFORMAÇÕES: Deployment of web application directory C:\Tomcat\apache-tomcat-7.0.57\webapps\docs has finished in 94 ms
dez 08, 2014 11:52:38 AM org.apache.catalina.startup.HostConfig deployDirectory
INFORMAÇÕES: Deploying web application directory C:\Tomcat\apache-tomcat-7.0.57\webapps\examples
dez 08, 2014 11:52:39 AM org.apache.catalina.startup.HostConfig deployDirectory
INFORMAÇÕES: Deployment of web application directory C:\Tomcat\apache-tomcat-7.0.57\webapps\examples has finished in 344 ms
dez 08, 2014 11:52:39 AM org.apache.catalina.startup.HostConfig deployDirectory
INFORMAÇÕES: Deploying web application directory C:\Tomcat\apache-tomcat-7.0.57\webapps\host-manager
dez 08, 2014 11:52:39 AM org.apache.catalina.startup.HostConfig deployDirectory
INFORMAÇÕES: Deployment of web application directory C:\Tomcat\apache-tomcat-7.0.57\webapps\host-manager has finished in 109 ms
dez 08, 2014 11:52:39 AM org.apache.catalina.startup.HostConfig deployDirectory
INFORMAÇÕES: Deploying web application directory C:\Tomcat\apache-tomcat-7.0.57\webapps\manager
dez 08, 2014 11:52:39 AM org.apache.catalina.startup.HostConfig deployDirectory
INFORMAÇÕES: Deployment of web application directory C:\Tomcat\apache-tomcat-7.0.57\webapps\manager has finished in 94 ms
dez 08, 2014 11:52:39 AM org.apache.coyote.AbstractProtocol start
INFORMAÇÕES: Starting ProtocolHandler ["http-bio-8080"]
dez 08, 2014 11:52:39 AM org.apache.coyote.AbstractProtocol start
INFORMAÇÕES: Starting ProtocolHandler ["ajp-bio-8009"]
dez 08, 2014 11:52:39 AM org.apache.catalina.startup.Catalina start
INFORMAÇÕES: Server startup in 1298 ms

2 answers

1

You are trying to access the application root lifeway. For log, the liferay.war is successfully loaded.

However, there seems to be something wrong with this WAR, because the boot time of 156 milliseconds is very small, less than the examples.

Most likely the WAR is empty or the application does not have a map to the URL in question.

Is this a WAR from the well-known Liferay portal manager or is this a project of yours? If you are from the portal, check if WAR is not corrupted or if you downloaded the correct version.

Also check if there are other specific logs, they may show internal application errors.

0

Error 404 means that you are trying to access a/Resource file on the server, which does not exist, so the server returns a status to you 404 which would be this such "Error 404" so you know that the server could not find it, check which file you are trying to access and fix the path and file name, because if the file exists, this 404 error will not happen.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.