报错:

[root@im bin]# bash catalina.sh start
Using CATALINA_BASE:   /home/web/tomcat-8099-app
Using CATALINA_HOME:   /home/web/tomcat-8099-app
Using CATALINA_TMPDIR: /home/web/tomcat-8099-app/temp
Using JRE_HOME:        /usr
Using CLASSPATH:       /home/web/tomcat-8099-app/bin/bootstrap.jar:/home/web/tomcat-8099-app/bin/tomcat-juli.jar
touch: cannot touch ‘/home/web/tomcat-8099-app/logs/catalina.out’: No such file or directory
catalina.sh: line 439: /home/web/tomcat-8099-app/logs/catalina.out: No such file or directory
Tomcat started.

处理:

[root@im tomcat-8099-app]# mkdir logs
[root@im tomcat-8099-app]# ls
bin  BUILDING.txt  conf  CONTRIBUTING.md  lib  LICENSE  logs  NOTICE  README.md  RELEASE-NOTES  RUNNING.txt  webapps

再启动就成功了。

Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐