GeeCON Prague 2014*
The moose likes Tomcat and the fly likes Tomcat seems to be started via console. But unable to access through browser Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat seems to be started via console. But unable to access through browser" Watch "Tomcat seems to be started via console. But unable to access through browser" New topic
Author

Tomcat seems to be started via console. But unable to access through browser

Nikhil Chandran
Greenhorn

Joined: Sep 10, 2007
Posts: 23
Hello Everyone,

I copied tomcat5.5 and executed startup.bat. It is started and I got the message as seen below


Startup Log


Jul 4, 2012 6:15:24 PM org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.20.
Jul 4, 2012 6:15:24 PM org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false],
ndom [true].
Jul 4, 2012 6:15:24 PM org.apache.coyote.http11.Http11AprProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Jul 4, 2012 6:15:24 PM org.apache.coyote.http11.Http11AprProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-443
Jul 4, 2012 6:15:24 PM org.apache.coyote.ajp.AjpAprProtocol init
INFO: Initializing Coyote AJP/1.3 on ajp-8009
Jul 4, 2012 6:15:24 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 406 ms
Jul 4, 2012 6:15:24 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jul 4, 2012 6:15:24 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.30
Jul 4, 2012 6:15:24 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Jul 4, 2012 6:15:25 PM org.apache.coyote.http11.Http11AprProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Jul 4, 2012 6:15:25 PM org.apache.coyote.http11.Http11AprProtocol start
INFO: Starting Coyote HTTP/1.1 on http-443
Jul 4, 2012 6:15:25 PM org.apache.coyote.ajp.AjpAprProtocol start
INFO: Starting Coyote AJP/1.3 on ajp-8009
Jul 4, 2012 6:15:25 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Jul 4, 2012 6:15:25 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 546 ms


As per the log I assumed that the server gets started up and tried to access through the URL http://localhost:8080 and its showing server not found/page cannot be displayed message.

Could anyone let me advice on the possibilities for this issue.

Any valuable input is highly appreciated.


Thanks in advance
NikhilChandran.


Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16092
    
  21

Tomcat can start up fast, but not that fast!

It appears that you haven't deployed any web applications to the Tomcat server.

What would pretty much seal the case is if the error pages you're getting are Tomcat's "404" Resource Not Found status pages, because in that case, you are accessing Tomcat, but Tomcat has no content to deliver.


Customer surveys are for companies who didn't pay proper attention to begin with.
Bharat Kasodariya
Ranch Hand

Joined: Aug 19, 2011
Posts: 36
It might be on wrong port.
check your server.xml for the port
 
GeeCON Prague 2014
 
subject: Tomcat seems to be started via console. But unable to access through browser