Chinaunix首页 | 论坛 | 博客
  • 博客访问: 127843
  • 博文数量: 34
  • 博客积分: 1201
  • 博客等级: 少尉
  • 技术积分: 365
  • 用 户 组: 普通用户
  • 注册时间: 2010-10-21 08:56
文章分类

全部博文(34)

文章存档

2012年(1)

2011年(15)

2010年(18)

我的朋友

分类: LINUX

2011-03-11 14:59:58

Below is the detail configuration About tomcat how to carry out separate APP/Manager module with different port:
 

# 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" />

 

  Catalina">

    8021" protocol="HTTP/1.1"

               connectionTimeout="20000"

               redirectPort="8443" />

   

    Catalina" defaultHost="localhost">

     

             resourceName="UserDatabase"/>

     

      webapps"

            unpackWARs="true" autoDeploy="true"

            xmlValidation="false" xmlNamespaceAware="false">

     

   

 

  Catalina2">

    8444" maxHttpHeaderSize="8192"

           enableLookups="false" disableUploadTimeout="true"

           acceptCount="100" scheme="https" secure="true"

           sslProtocol="TLS" />

   

    Catalina2" defaultHost="localhost">

     

             resourceName="UserDatabase"/>

     

      webapps2"

            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

阅读(1152) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~