小编ish*_*shi的帖子

如何在 ubuntu 中停止 tomcat7?

我已经使用命令 apt-get 安装了 apache tomcat7。现在,每当我启动系统时,tomcat 都在运行。我想停止 tomcat,以便我可以在 eclipse 中启动它。

我尝试使用 shutdown.sh 命令停止它,但出现以下错误:

admin@admin-eMachines-E727:/usr/share/tomcat7/bin$ sudo /usr/share/tomcat7/bin/shutdown.sh
Using CATALINA_BASE:   /usr/share/tomcat7

Using CATALINA_HOME:   /usr/share/tomcat7

Using CATALINA_TMPDIR: /usr/share/tomcat7/temp

Using JRE_HOME:        /usr

Using CLASSPATH:       /usr/share/tomcat7/bin/bootstrap.jar:/usr/share/tomcat7/bin/tomcat-juli.jar

Jun 02, 2014 9:37:59 AM org.apache.catalina.startup.ClassLoaderFactory validateFile

WARNING: Problem with directory [/usr/share/tomcat7/common/classes], exists: [false], isDirectory: [false], canRead: [false]

Jun 02, 2014 9:37:59 AM org.apache.catalina.startup.ClassLoaderFactory validateFile

WARNING: Problem with directory [/usr/share/tomcat7/common], exists: [false], isDirectory: [false], canRead: [false]

Jun 02, 2014 9:38:00 AM org.apache.catalina.startup.ClassLoaderFactory validateFile

WARNING: Problem with directory [/usr/share/tomcat7/server/classes], exists: [false], …
Run Code Online (Sandbox Code Playgroud)

tomcat7

16
推荐指数
1
解决办法
10万
查看次数

标签 统计

tomcat7 ×1