运行ansible playbooks时,需要在服务器上验证tomcat的版本。我知道的唯一方法是:
[root@server ~]# cd /usr/share/tomcat8/bin/
[root@server bin]# ./version.sh
Using CATALINA_BASE: /usr/share/tomcat8
Using CATALINA_HOME: /usr/share/tomcat8
Using CATALINA_TMPDIR: /usr/share/tomcat8/temp
Using JRE_HOME: /usr
Using CLASSPAT
我正在尝试将一个.war文件导入到tomcat8。
到目前为止,即使Tomcat已经启动,我也无法访问我的web应用程序的页面。我从这个命令(systemctl status tomcat8.service)中得到了这个错误:
Mar 11 11:34:25 osboxes tomcat8[48213]: at org.postgresql.Driver.makeConnection(Driver.java:404)
Mar 11 11:34:25 osboxes tomcat8[48213]: at org.postgresql.Driver.connect(Driver.j
当我在linux服务器上启动tomcat时,大约一天后,tomcat关机了,它显示的状态像active(exited).Can u help me?我已经记录了:
tomcat8.service - LSB: Start Tomcat.
Loaded: loaded (/etc/init.d/tomcat8; bad; vendor preset: enabled)
Active: active (exited) since Sat 2017-06-10 12:23:52 UTC; 1 day 18h ago
Docs: man:systemd-sysv-generato