Question

Apache Tomcat6 Fail to Open the Web page

  • Posted January 15, 2015

Hi, i install tomcat6 on my server but when i restart and open it on web page shows webpage is not available (IP_address:8080). When i open catalina.out at /var/lib/tomcat6/logs/catalina.out I get this logs Jan 15, 2015 4:44:51 AM org.apache.catalina.startup.ClassLoaderFactory validateFile WARNING: Problem with directory [/usr/share/tomcat6/server/classes], exists: [false], isDirectory: [false], canRead: [false] Jan 15, 2015 4:44:51 AM org.apache.catalina.startup.ClassLoaderFactory validateFile WARNING: Problem with directory [/usr/share/tomcat6/server], exists: [false], isDirectory: [false], canRead: [false] Jan 15, 2015 4:44:51 AM org.apache.catalina.startup.ClassLoaderFactory validateFile WARNING: Problem with directory [/usr/share/tomcat6/shared/classes], exists: [false], isDirectory: [false], canRead: [false] Jan 15, 2015 4:44:51 AM org.apache.catalina.startup.ClassLoaderFactory validateFile WARNING: Problem with directory [/usr/share/tomcat6/shared], exists: [false], isDirectory: [false], canRead: [false] Jan 15, 2015 4:44:52 AM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 Jan 15, 2015 4:44:52 AM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 1669 ms Jan 15, 2015 4:44:53 AM org.apache.catalina.core.StandardService start INFO: Starting service Catalina Jan 15, 2015 4:44:53 AM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/6.0.39 Jan 15, 2015 4:44:53 AM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory ROOT Jan 15, 2015 4:44:54 AM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on http-8080 Jan 15, 2015 4:44:54 AM org.apache.catalina.startup.Catalina start INFO: Server startup in 1084 ms Jan 15, 2015 4:45:50 AM org.apache.coyote.http11.Http11Protocol pause INFO: Pausing Coyote HTTP/1.1 on http-8080 Jan 15, 2015 4:45:51 AM org.apache.catalina.core.StandardService stop INFO: Stopping service Catalina Jan 15, 2015 4:45:51 AM org.apache.coyote.http11.Http11Protocol destroy INFO: Stopping Coyote HTTP/1.1 on http-8080 Jan 15, 2015 4:45:52 AM org.apache.catalina.startup.ClassLoaderFactory validateFile WARNING: Problem with directory [/usr/share/tomcat6/server/classes], exists: [false], isDirectory: [false], canRead: [false] Jan 15, 2015 4:45:52 AM org.apache.catalina.startup.ClassLoaderFactory validateFile WARNING: Problem with directory [/usr/share/tomcat6/server], exists: [false], isDirectory: [false], canRead: [false] Jan 15, 2015 4:45:52 AM org.apache.catalina.startup.ClassLoaderFactory validateFile WARNING: Problem with directory [/usr/share/tomcat6/shared/classes], exists: [false], isDirectory: [false], canRead: [false]

What might be the problem because i tried to check the problem online I don’t any sign of success.

Subscribe
Share

I’m sure you have your reasons for not using tomcat7, so I won’t ask.

Seems like you may be missing some extra tomcat6 packages? Did you install the optional tomcat webapps package that provides ROOT?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Maybe you didn’t install Tomcat correctly.

Try and install another instance of Tomcat on your server, for example a version 7 will be nice. Or if your application only works on Tomcat 6 then leave your installation intact. Anyway, I will still recomend you to install at least Tomcat 7 for your app to work. You can check this fine tutorial.