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 1999/12/13 04:27:55 UTC
cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/shell/deployment server.xml
costin 99/12/12 19:27:55
Modified: src/etc tomcat.conf
src/share/org/apache/tomcat/shell/deployment server.xml
Log:
- Restored default port for AJP12 to 8007.
- Commented out ajp11 and ajp23 from server.xml, to
avoid confusion and polution.
You should be able to start tomcat instead of JServ
without touching any apache configuration ( if you use
manual startup, for wrapper you need to change the
class that is started by Apache)
Revision Changes Path
1.4 +1 -1 jakarta-tomcat/src/etc/tomcat.conf
Index: tomcat.conf
===================================================================
RCS file: /home/cvs/jakarta-tomcat/src/etc/tomcat.conf,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- tomcat.conf 1999/11/29 22:17:21 1.3
+++ tomcat.conf 1999/12/13 03:27:55 1.4
@@ -23,7 +23,7 @@
### Change if you run tomcat on a different host
#ApJServDefaultHost localhost
-ApJServDefaultPort 8009
+ApJServDefaultPort 8007
#################### All jsp files will go to tomcat ####################
1.5 +7 -2 jakarta-tomcat/src/share/org/apache/tomcat/shell/deployment/server.xml
Index: server.xml
===================================================================
RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/shell/deployment/server.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- server.xml 1999/11/02 00:46:33 1.4
+++ server.xml 1999/12/13 03:27:55 1.5
@@ -47,21 +47,26 @@
</Connector>
<!-- AJP11 - works with the old/stable JServ module -->
+ <!--
<Connector className="org.apache.tomcat.service.TcpEndpointConnector">
<Parameter name="handler" value="org.apache.tomcat.service.Ajp11ConnectionHandler"/>
- <Parameter name="port" value="8007"/>
+ <Parameter name="port" value="8009"/>
</Connector>
+ -->
<!-- AJP12 - current JServ module -->
<Connector className="org.apache.tomcat.service.TcpEndpointConnector">
<Parameter name="handler" value="org.apache.tomcat.service.connector.Ajp12ConnectionHandler"/>
- <Parameter name="port" value="8009"/>
+ <Parameter name="port" value="8007"/>
</Connector>
<!-- New Ajp23, you need to compile the new/experimental module -->
+ <!--
<Connector className="org.apache.tomcat.service.TcpEndpointConnector">
<Parameter name="handler" value="org.apache.tomcat.service.connector.Ajp23ConnectionHandler"/>
<Parameter name="port" value="8008"/>
</Connector>
+ -->
+
</ContextManager>
</Server>