tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject cvs commit: jakarta-tomcat-4.0/catalina/src/conf server.xml
Date Thu, 08 Nov 2001 22:01:49 GMT
remm        01/11/08 14:01:49

  Modified:    catalina/src/conf server.xml
  Log:
  - Add an example of using the global JNDI resources.
  
  Revision  Changes    Path
  1.44      +7 -0      jakarta-tomcat-4.0/catalina/src/conf/server.xml
  
  Index: server.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/conf/server.xml,v
  retrieving revision 1.43
  retrieving revision 1.44
  diff -u -r1.43 -r1.44
  --- server.xml	2001/10/27 20:53:39	1.43
  +++ server.xml	2001/11/08 22:01:49	1.44
  @@ -19,6 +19,10 @@
                   debug="0" port="-1" login="admin" password="admin"/>
   -->
   
  +  <!-- Global JNDI resources -->
  +  <GlobalNamingResources>
  +    <Environment name="simpleValue" type="java.lang.Integer" value="30"/>
  +  </GlobalNamingResources>
   
     <!-- A "Service" is a collection of one or more "Connectors" that share
          a single "Container" (and therefore the web applications visible
  @@ -286,6 +290,9 @@
                 <value>localhost</value>
               </parameter>
             </ResourceParams>
  +          <ResourceLink name="linkToGlobalResource" 
  +                    global="/comp/env/simpleValue"
  +                    type="java.lang.Integer"/>
           </Context>
   
         </Host>
  
  
  

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


Mime
View raw message