Sohan Badaya Sohan Badaya - 2 months ago 8
Java Question

Tomcat home page is not coming properly

After installing Apache tomcat8 I am getting below home page.

enter image description here

I just installed tomcat8, start service and hit url


I haven't created any project.

enter image description here


It looks to me that the page in your screenshot is being served up by Oracle Application Express (APEX), not Tomcat.

APEX typically uses port 8080, and if you started this before starting Tomcat, Tomcat will be unable to use port 8080. To confirm that this is the case, take a look in your Tomcat stderr log file (it should be under C:\Tomcat 8.0\logs and have a name like tomcat8-stderr.2014-09-21.log). It will quite probably contain an exception whose stacktrace begins as follows:

21-Sep-2014 12:09:15.607 SEVERE [main] org.apache.coyote.AbstractProtocol.init Failed to initialize end point associated with ProtocolHandler ["http-nio-8080"] Address already in use: bind
    at Method)

I would recommend that you change Tomcat to use another port. To do this, open your server.xml file (in C:\Tomcat 8.0\conf\). There should be a Connector element in here with an attribute port="8080": change this port number to 8081 (say) and restart Tomcat.