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.
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.
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.
By default, the deployer will attempt to access a Tomcat instance running on localhost, at http://localhost:8080/manager/text . password : Tomcat Manager password.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With