【问题标题】:tomcat does not start on linuxtomcat 无法在 linux 上启动
【发布时间】:2013-07-17 21:19:24
【问题描述】:

这是我到目前为止所做的

  1. 已下载tomcat 7
  2. 已安装 Java
  3. 设置 JAVA_HOME 和 CATALINA_HOME

现在我正在运行 startup.sh,它除了显示它什么都不做

bash-4.1$ pwd
/scratch/user/Installs/apache-tomcat-7.0.42/bin

bash-4.1$ ./startup.sh
Using CATALINA_BASE:   /scratch/user/Installs/apache-tomcat-7.0.42
Using CATALINA_HOME:   /scratch/user/Installs/apache-tomcat-7.0.42
Using CATALINA_TMPDIR: /scratch/user/Installs/apache-tomcat-7.0.42/temp
Using JRE_HOME:        /scratch/user/Installs/jdk1.7.0
Using CLASSPATH:       /scratch/user/Installs/apache-tomcat-7.0.42/bin/bootstrap.jar:/scratch/user/Installs/apache-tomcat-7.0.42/bin/tomcat-juli.jar

这里缺少什么?任何指针?我要做的就是在这个 Linux 机器上安装 tomcat 并部署一个简单的应用程序

【问题讨论】:

  • /scratch/user/Installs/apache-tomcat-7.0.42/logs 中应该有一个日志文件,如果有感兴趣的内容,请检查这些文件并将其添加到问题中。

标签: linux tomcat7


【解决方案1】:

查看日志后,我能够解决此问题。显然,这就是tomcat启动时显示的全部内容。我希望出现“tomcat 正在运行”之类的东西,但事实并非如此。

【讨论】:

  • 课程:始终检查(使用 ps,或通过浏览到 localhost:port)以查看是否确实出了问题,或者程序是否过于嘈杂:-)
猜你喜欢
  • 2011-05-29
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2014-03-09
  • 2015-11-25
  • 2019-12-23
  • 2022-06-14
  • 2021-12-18
相关资源
最近更新 更多