分类: LINUX
2011-03-11 14:59:58
# ll /usr/local/apache-tomcat_1/webapps
total 6732
drwxr-xr-x 7 nobody nobody 4096 Mar 11 13:27 probe
-rwxr-xr-x 1 nobody nobody 6875248 Mar 11 13:04 probe.war
# ll /usr/local/apache-tomcat_1/webapps2/
total 4
drwxr-xr-x 5 nobody nobody 4096 Jul 26 2010 manager
# cat server.xml
type="org.apache.catalina.UserDatabase"
description="User database that can be updated and saved"
factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
pathname="conf/tomcat-users.xml" />
connectionTimeout="20000"
redirectPort="8443" />
resourceName="UserDatabase"/>
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
enableLookups="false" disableUploadTimeout="true"
acceptCount="100" scheme="https" secure="true"
sslProtocol="TLS" />
resourceName="UserDatabase"/>
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
# /etc/init.d/wbxtomcat.sh start 1
Checking Tomcat instance 1
Starting instance 1 ...
Using CATALINA_BASE: /usr/local/apache-tomcat_1
Using CATALINA_HOME: /usr/local/apache-tomcat_1
Using CATALINA_TMPDIR: /usr/local/apache-tomcat_1/temp
Using JRE_HOME: /usr/java
Using CLASSPATH: /usr/local/apache-tomcat_1/bin/bootstrap.jar
Tomcat instance 1 has been started.
If success then you can find there have 2 directory created under $CATALINA_BASE/conf
# ls conf/Catalina/localhost/probe.xml
conf/Catalina/localhost/probe.xml
# ls conf/Catalina2/localhost/manager.xml
conf/Catalina2/localhost/manager.xml