You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by co...@locus.apache.org on 2000/09/10 01:07:55 UTC

cvs commit: jakarta-tomcat/src/etc server.dtd server.xml server2.xml jni_server.xml

costin      00/09/09 16:07:54

  Modified:    src/etc  server.xml server2.xml
  Added:       src/etc  server.dtd
  Removed:     src/etc  jni_server.xml
  Log:
  - Removed jni_server.xml - it's out-of-date ( interceptors, etc).
  
  - added the relevant config ( the jni adapter ) to server and server2.xml
  ( commented out )
  
  - added a (manualy-generated) version of server.dtd. It is useful to document
  the internal structure ( wich should be reasonably stable now ) and
  for easy editing ( emacs :-). There are few problems with the parser.
  
  Revision  Changes    Path
  1.41      +14 -1     jakarta-tomcat/src/etc/server.xml
  
  Index: server.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/etc/server.xml,v
  retrieving revision 1.40
  retrieving revision 1.41
  diff -u -r1.40 -r1.41
  --- server.xml	2000/09/01 00:48:08	1.40
  +++ server.xml	2000/09/09 23:07:53	1.41
  @@ -1,4 +1,7 @@
   <?xml version="1.0" encoding="ISO-8859-1"?>
  +<!-- 
  +<!DOCTYPE Server SYSTEM "server.dtd" >
  +-->
   
   <Server>
       <!-- Debug low-level events in XmlMapper startup -->
  @@ -251,12 +254,22 @@
                   value="org.apache.tomcat.util.net.SSLSocketFactory" />
           </Connector>
           -->
  +        <!--
  +             JNI connector, make sure that you update the native_lib
  +             Parameter to point to your jni_connect.dll.
  +         -->
  +        <!-- 
  +        <Connector className="org.apache.tomcat.service.JNIEndpointConnector">
  +            <Parameter name="native_lib" 
  +               value="D:\tomcat\bin\i386\jni_connect.dll"/>
  +        </Connector>
  +         -->
   
           <!-- Apache AJP12 support. This is also used to shut down tomcat.
             -->
           <Connector className="org.apache.tomcat.service.PoolTcpConnector">
               <Parameter name="handler" 
  -       value="org.apache.tomcat.service.connector.Ajp12ConnectionHandler"/>
  +        value="org.apache.tomcat.service.connector.Ajp12ConnectionHandler"/>
               <Parameter name="port" value="8007"/>
           </Connector>
   
  
  
  
  1.6       +11 -0     jakarta-tomcat/src/etc/server2.xml
  
  Index: server2.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/etc/server2.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- server2.xml	2000/08/27 20:46:56	1.5
  +++ server2.xml	2000/09/09 23:07:53	1.6
  @@ -262,6 +262,17 @@
               <Parameter name="port" value="8007"/>
           </Connector>
   
  +        <!--
  +             JNI connector, make sure that you update the native_lib
  +             Parameter to point to your jni_connect.dll.
  +         -->
  +        <!-- 
  +        <Connector className="org.apache.tomcat.service.JNIEndpointConnector">
  +            <Parameter name="native_lib" 
  +               value="D:\tomcat\bin\i386\jni_connect.dll"/>
  +        </Connector>
  +         -->
  +
           <!-- ==================== Special webapps ==================== -->
           <!-- You don't need this if you place your app in webapps/
                and use defaults. 
  
  
  
  1.3       +47 -28    jakarta-tomcat/src/etc/server.dtd