卸载后即使访问tomcat7页面也是如此

时间:2016-08-04 10:46:43

标签: java ubuntu tomcat tomcat7 tomcat8

我从Ubuntu15.04完全卸载了tomcat7。即使卸载后我去了http://localhost:8080/ 下面的东西正在显示

It works !

If you're seeing this page via a web browser, it means you've setup Tomcat successfully. Congratulations!

This is the default Tomcat home page. It can be found on the local filesystem at: /var/lib/tomcat7/webapps/ROOT/index.html

Tomcat7 veterans might be pleased to learn that this system instance of Tomcat is installed with CATALINA_HOME in /usr/share/tomcat7 and CATALINA_BASE in /var/lib/tomcat7, following the rules from /usr/share/doc/tomcat7-common/RUNNING.txt.gz.

You might consider installing the following packages, if you haven't already done so:

tomcat7-docs: This package installs a web application that allows to browse the Tomcat 7 documentation locally. Once installed, you can access it by clicking here.

tomcat7-examples: This package installs a web application that allows to access the Tomcat 7 Servlet and JSP examples. Once installed, you can access it by clicking here.

tomcat7-admin: This package installs two web applications that can help managing this Tomcat instance. Once installed, you can access the manager webapp and the host-manager webapp.

NOTE: For security reasons, using the manager webapp is restricted to users with role "manager-gui". The host-manager webapp is restricted to users with role "admin-gui". Users are defined in /etc/tomcat7/tomcat-users.xml.

我还安装了tomcat8。如何在浏览器中访问tomcat8页面?

2 个答案:

答案 0 :(得分:0)

尝试使用其他端口号。也许tomcat 8安装了不同的端口

答案 1 :(得分:0)

进程正在运行或页面缓存在浏览器上。如果tomcat正在运行,那么将会有一个正在运行的java进程。尝试Route::resource('list-generic/{?query}', 'ListGeneric', ['only' => ['index']]); 列出正在运行的java进程。