Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Apache Tomcat installed and running, but localhost:8080 presents blank page in browser

Tags:

tomcat

I am using Fedora 16, and I have installed Apache Tomcat, using the tomcat6 package.

In the terminal I have started Tomcat:

[rajani@localhost ~]$ sudo service tomcat6 start
[sudo] password for rajani: 
Redirecting to /bin/systemctl  start tomcat6.service
[rajani@localhost ~]$ 

But if I browse to http://localhost:8080 it simply shows a blank page. Please give me solution.

like image 979
Rajani Avatar asked Apr 17 '12 10:04

Rajani


People also ask

How do I get Tomcat homepage in my browser?

Use a browser to check whether Tomcat is running on URL http://localhost:8080 , where 8080 is the Tomcat port specified in conf/server. xml. If Tomcat is running properly and you specified the correct port, the browser displays the Tomcat homepage.

How do I get Tomcat welcome page?

ROOT folder has config files for 'Welcome' page for tomcat. You can copy it from the other tar file into ../webapps folder and you'll be good. Symlinking ROOT to your webapp's folder does a great job and adds a little bit more flexibility.

What is Tomcat default URL?

By default, the deployer will attempt to access a Tomcat instance running on localhost, at http://localhost:8080/manager/text . password : Tomcat Manager password.


1 Answers

I had the same problem under Fedora 16; the Tomcat 7 packages installed correctly, but I couldn't see anything at localhost:8080. I googled around and found that I need to install some additional packages in order for the default webapps to work. Here is the solution that worked for me:

# sudo yum install tomcat-admin-webapps.noarch tomcat-docs-webapp.noarch tomcat-javadoc.noarch tomcat-systemv.noarch tomcat-webapps.noarch
like image 123
Konstantin Boyanov Avatar answered Oct 16 '22 11:10

Konstantin Boyanov