tomcat6的catalina_base和catalina_home在哪里?


Answers:


41

两者都存储并且可以在中设置/etc/default/tomcat6。默认情况下,CATALINA_HOME为/usr/share/tomcat6,CATALINA_BASE为/var/lib/tomcat6


3

在安装了Apt-Get的Tomcat6或Tomcat7中,在/etc/init.d/tomcat6或tomcat7中找到CATALINA_HOME和CATALINA_BASE的声明,并将它们导出到OS变量中。然后,它们在ENV命令上可见。并供其他软件使用。


1

我有ubuntu v10。我已经在/ usr / lib / tomcat6 /下安装了tomcat v6。

答:在我的系统中,两个变量都存储在/etc/init.d/tomcat6中

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.