tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yo...@apache.org
Subject cvs commit: jakarta-tomcat-catalina/catalina/src/conf server-minimal.xml
Date Wed, 03 Dec 2003 15:30:38 GMT
yoavs       2003/12/03 07:30:38

  Modified:    catalina/src/conf server-minimal.xml
  Log:
  Added AJP connector and user database
  
  Revision  Changes    Path
  1.2       +24 -0     jakarta-tomcat-catalina/catalina/src/conf/server-minimal.xml
  
  Index: server-minimal.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/conf/server-minimal.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- server-minimal.xml	2 Dec 2003 18:16:18 -0000	1.1
  +++ server-minimal.xml	3 Dec 2003 15:30:38 -0000	1.2
  @@ -1,9 +1,33 @@
   <Server port="8005" shutdown="SHUTDOWN">
  +  <GlobalNamingResources>
  +    <!-- Used by Manager webapp -->
  +    <Resource name="UserDatabase" auth="Container"
  +              type="org.apache.catalina.UserDatabase"
  +      description="User database that can be updated and saved">
  +    </Resource>
  +    <ResourceParams name="UserDatabase">
  +      <parameter> 
  +        <name>factory</name>
  +        <value>org.apache.catalina.users.MemoryUserDatabaseFactory</value>
  +      </parameter>
  +      <parameter>
  +        <name>pathaame</name>
  +        <value>conf/tomcat-users.xml</value>
  +      </parameter>
  +    </ResourceParams>
  +  </GlobalNamingResources>
  +
     <Service name="Catalina">
       <Connector port="8080" />
   
  +    <!-- This is here for compatibility only, not required -->
  +    <Connector port="8009" protocol="AJP/1.3" />
  +
       <Engine name="Catalina" defaultHost="localhost">
         <Logger className="org.apache.catalina.logger.FileLogger" />
  +
  +      <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
  +             resourceName="UserDatabase" />
   
         <Host name="localhost" appBase="webapps" />
       </Engine>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message