cvs commit: jakarta-tomcat-4.0/catalina/src/conf server.xml
markt 2005/05/26 14:32:35 Modified:catalina/src/conf server.xml Log: Tweak server.xml to align it with the connector doc changes. Revision ChangesPath 1.73 +2 -2 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.72 retrieving revision 1.73 diff -u -r1.72 -r1.73 --- server.xml21 Jan 2004 23:59:49 - 1.72 +++ server.xml26 May 2005 21:32:35 - 1.73 @@ -109,7 +109,7 @@ /Connector -- -!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -- +!-- Define a Coyote AJP/1.3 Connector on port 8009 -- Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8009 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 @@ -117,7 +117,7 @@ useURIValidationHack=false protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/ -!-- Define an AJP 1.3 Connector on port 8009 -- +!-- Define a legacy AJP 1.3 Connector on port 8009 -- !-- Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: cvs commit: jakarta-tomcat-4.0/catalina/src/conf server.xml
[EMAIL PROTECTED] a écrit : remm2003/10/07 06:25:17 Modified:catalina/src/conf server.xml Log: - The connector class being used by Tomcat 4.1 doesn't have the appropriate setters, nor the set-any-property mod that is in 5.0. As a result, the example won't work right now (more patches are needed, both in Catalina and in the connector class), so I'm removing it. Do you want me to add the required setters ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: cvs commit: jakarta-tomcat-4.0/catalina/src/conf server.xml
Henri Gomez wrote: [EMAIL PROTECTED] a écrit : remm2003/10/07 06:25:17 Modified:catalina/src/conf server.xml Log: - The connector class being used by Tomcat 4.1 doesn't have the appropriate setters, nor the set-any-property mod that is in 5.0. As a result, the example won't work right now (more patches are needed, both in Catalina and in the connector class), so I'm removing it. Do you want me to add the required setters ? Well, I was thinking we should port the set-all-props patches. I've already built the binaries for 4.1.28, so it's a bit late. It is not very likely that there will be zero regressions over 4.1.27 on the connector side, so I'd say it's doubtful 4.1.28 will be a stable release (with a 4.1.29 shortly after) unless testing is highly successful (so please test the build - after I finish uploading it in 1 hour or so). Remy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: cvs commit: jakarta-tomcat-4.0/catalina/src/conf server.xml
Henri Gomez wrote: Remy Maucherat a écrit : Did the build works (since there is now the regexp 1.3 floating around) ? Yes, I had it in my build.properties before (since the sample resource is just a sample, rather than a defaults list, they are often out of sync). I don't have the problem into eclipse but I didn't try the build.xml from eclipse yet. Remy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-4.0/catalina/src/conf server.xml
hgomez 2003/10/01 02:43:40 Modified:catalina/src/conf server.xml Log: Add comments about gzip settings Revision ChangesPath 1.70 +9 -1 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.69 retrieving revision 1.70 diff -u -r1.69 -r1.70 --- server.xml13 Sep 2003 15:08:02 - 1.69 +++ server.xml1 Oct 2003 09:43:40 - 1.70 @@ -96,7 +96,15 @@ useURIValidationHack=false disableUploadTimeout=true / !-- Note : To disable connection timeouts, set connectionTimeout value to -1 -- - + + !-- Note : To use gzip compression you could set the following properties : + +compression=on +compressionMinSize=2048 +noCompressionUserAgents=gozilla, traviata +compressableMimeType=text/html,text/xml + -- + !-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 -- !-- Connector className=org.apache.coyote.tomcat4.CoyoteConnector - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: cvs commit: jakarta-tomcat-4.0/catalina/src/conf server.xml
[EMAIL PROTECTED] wrote: hgomez 2003/10/01 02:43:40 Modified:catalina/src/conf server.xml Log: Add comments about gzip settings + + !-- Note : To use gzip compression you could set the following properties : + + compression=on + compressionMinSize=2048 + noCompressionUserAgents=gozilla, traviata + compressableMimeType=text/html,text/xml + -- + !-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 -- !-- Connector className=org.apache.coyote.tomcat4.CoyoteConnector TC 4.1 uses the old coyote_10 branch, and I don't think it has that. Remy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: cvs commit: jakarta-tomcat-4.0/catalina/src/conf server.xml
Remy Maucherat a écrit : [EMAIL PROTECTED] wrote: hgomez 2003/10/01 02:43:40 Modified:catalina/src/conf server.xml Log: Add comments about gzip settings + +!-- Note : To use gzip compression you could set the following properties : + + compression=on + compressionMinSize=2048 + noCompressionUserAgents=gozilla, traviata + compressableMimeType=text/html,text/xml +-- + !-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 -- !-- Connector className=org.apache.coyote.tomcat4.CoyoteConnector TC 4.1 uses the old coyote_10 branch, and I don't think it has that. Urg. Should I back port change to coyote_10 ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: cvs commit: jakarta-tomcat-4.0/catalina/src/conf server.xml
Henri Gomez wrote: Urg. Should I back port change to coyote_10 ? I'd prefer using the Coyote HEAD in TC 4.1, I think. I'm sick of all those branches ;-) Remy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: cvs commit: jakarta-tomcat-4.0/catalina/src/conf server.xml
Remy Maucherat a écrit : Henri Gomez wrote: Urg. Should I back port change to coyote_10 ? I'd prefer using the Coyote HEAD in TC 4.1, I think. I'm sick of all those branches ;-) +1, less branches, less works - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: cvs commit: jakarta-tomcat-4.0/catalina/src/conf server.xml
Henri Gomez wrote: Remy Maucherat a écrit : Henri Gomez wrote: Urg. Should I back port change to coyote_10 ? I'd prefer using the Coyote HEAD in TC 4.1, I think. I'm sick of all those branches ;-) +1, less branches, less works I'll try to build it, and see if it works. I'll also diff the adapter between the two branches, to see if there aren't any forgotten patches. If it works well, we can try to include that with 4.1.28. Remy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: cvs commit: jakarta-tomcat-4.0/catalina/src/conf server.xml
Remy Maucherat a écrit : Henri Gomez wrote: Remy Maucherat a écrit : Henri Gomez wrote: Urg. Should I back port change to coyote_10 ? I'd prefer using the Coyote HEAD in TC 4.1, I think. I'm sick of all those branches ;-) +1, less branches, less works I'll try to build it, and see if it works. I'll also diff the adapter between the two branches, to see if there aren't any forgotten patches. If it works well, we can try to include that with 4.1.28. I've got a problem to build Tomcat 4.1.27 with an IBM SDK 1.4.1 (so using its own jsse). Missing def com.sun.net.ssl.* ? How could we fix it ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: cvs commit: jakarta-tomcat-4.0/catalina/src/conf server.xml
Remy Maucherat wrote: Henri Gomez wrote: I'll try to build it, and see if it works. I'll also diff the adapter between the two branches, to see if there aren't any forgotten patches. If it works well, we can try to include that with 4.1.28. It doesn't look good: j-t-c now depends on JMX and modeler 1.1. That's a lot of stuff to update :-( Plus there are tricky changes which I don't know if I should port or not. So that probably means regressions. So if it's up to me, I'll choose to wait for TC 5 :) Remy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: cvs commit: jakarta-tomcat-4.0/catalina/src/conf server.xml
Remy Maucherat a écrit : Remy Maucherat wrote: Henri Gomez wrote: I'll try to build it, and see if it works. I'll also diff the adapter between the two branches, to see if there aren't any forgotten patches. If it works well, we can try to include that with 4.1.28. It doesn't look good: j-t-c now depends on JMX and modeler 1.1. That's a lot of stuff to update :-( May be just have to update build.xml to included mx4j and modeler. Plus there are tricky changes which I don't know if I should port or not. So that probably means regressions. So if it's up to me, I'll choose to wait for TC 5 :) Many site will stay with there TC 4.1.x (or 3.3.x) for some times so if we have 2 branches for jtc, we may miss fix/patch from one branch to another. Upgrading the build file seems to be easier ... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: cvs commit: jakarta-tomcat-4.0/catalina/src/conf server.xml
Henri Gomez wrote: Remy Maucherat a écrit : Remy Maucherat wrote: Henri Gomez wrote: I'll try to build it, and see if it works. I'll also diff the adapter between the two branches, to see if there aren't any forgotten patches. If it works well, we can try to include that with 4.1.28. It doesn't look good: j-t-c now depends on JMX and modeler 1.1. That's a lot of stuff to update :-( May be just have to update build.xml to included mx4j and modeler. Yes, only adding commons-modeler 1.1 is needed. Thanks. Plus there are tricky changes which I don't know if I should port or not. So that probably means regressions. So if it's up to me, I'll choose to wait for TC 5 :) Many site will stay with there TC 4.1.x (or 3.3.x) for some times so if we have 2 branches for jtc, we may miss fix/patch from one branch to another. Upgrading the build file seems to be easier ... There could still be regressions, though. Maybe it's worth it. Remy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: cvs commit: jakarta-tomcat-4.0/catalina/src/conf server.xml
Remy Maucherat a écrit : Henri Gomez wrote: Remy Maucherat a écrit : Remy Maucherat wrote: Henri Gomez wrote: I'll try to build it, and see if it works. I'll also diff the adapter between the two branches, to see if there aren't any forgotten patches. If it works well, we can try to include that with 4.1.28. It doesn't look good: j-t-c now depends on JMX and modeler 1.1. That's a lot of stuff to update :-( May be just have to update build.xml to included mx4j and modeler. Yes, only adding commons-modeler 1.1 is needed. Thanks. Plus there are tricky changes which I don't know if I should port or not. So that probably means regressions. So if it's up to me, I'll choose to wait for TC 5 :) Many site will stay with there TC 4.1.x (or 3.3.x) for some times so if we have 2 branches for jtc, we may miss fix/patch from one branch to another. Upgrading the build file seems to be easier ... There could still be regressions, though. Maybe it's worth it. If we use JTC HEAD for TC 3.3.x, 4.1.x and 5.0.x, I think it's worth it. As I said less branches, less works and less mistake ;) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: cvs commit: jakarta-tomcat-4.0/catalina/src/conf server.xml
- Original Message - From: Henri Gomez [EMAIL PROTECTED] To: Tomcat Developers List [EMAIL PROTECTED] Sent: Wednesday, October 01, 2003 4:52 AM Subject: Re: cvs commit: jakarta-tomcat-4.0/catalina/src/conf server.xml Remy Maucherat a écrit : Henri Gomez wrote: Remy Maucherat a écrit : Henri Gomez wrote: Urg. Should I back port change to coyote_10 ? I'd prefer using the Coyote HEAD in TC 4.1, I think. I'm sick of all those branches ;-) +1, less branches, less works I'll try to build it, and see if it works. I'll also diff the adapter between the two branches, to see if there aren't any forgotten patches. If it works well, we can try to include that with 4.1.28. I've got a problem to build Tomcat 4.1.27 with an IBM SDK 1.4.1 (so using its own jsse). Missing def com.sun.net.ssl.* ? How could we fix it ? You need the JSSE 1.0.x jar files (the ones for 1.3.x JVMs) to build. Download it and update jsse.home and you should be fine. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This message is intended only for the use of the person(s) listed above as the intended recipient(s), and may contain information that is PRIVILEGED and CONFIDENTIAL. If you are not an intended recipient, you may not read, copy, or distribute this message or any attachment. If you received this communication in error, please notify us immediately by e-mail and then delete all copies of this message and any attachments. In addition you should be aware that ordinary (unencrypted) e-mail sent through the Internet is not secure. Do not send confidential or sensitive information, such as social security numbers, account numbers, personal identification numbers and passwords, to us via ordinary (unencrypted) e-mail. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-4.0/catalina/src/conf server.xml
funkman 2003/06/01 18:29:22 Modified:catalina/src/conf server.xml Log: Remove warp/webapp declaration since it is deprecated. Revision ChangesPath 1.68 +21 -61jakarta-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.67 retrieving revision 1.68 diff -u -r1.67 -r1.68 --- server.xml9 Dec 2002 13:22:40 - 1.67 +++ server.xml2 Jun 2003 01:29:22 - 1.68 @@ -14,8 +14,8 @@ !-- Comment these entries out to disable JMX MBeans support -- - !-- You may also configure custom components (e.g. Valves/Realms) by - including your own mbean-descriptor file(s), and setting the + !-- You may also configure custom components (e.g. Valves/Realms) by + including your own mbean-descriptor file(s), and setting the descriptors attribute to point to a ';' seperated list of paths (in the ClassLoader sense) of files to add to the default list. e.g. descriptors=/com/myfirm/mypackage/mbean-descriptor.xml @@ -94,7 +94,7 @@ enableLookups=true redirectPort=8443 acceptCount=100 debug=0 connectionTimeout=2 useURIValidationHack=false disableUploadTimeout=true / -!-- Note : To disable connection timeouts, set connectionTimeout value +!-- Note : To disable connection timeouts, set connectionTimeout value to -1 -- !-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 -- @@ -102,7 +102,7 @@ Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8443 minProcessors=5 maxProcessors=75 enableLookups=true -acceptCount=100 debug=0 scheme=https secure=true + acceptCount=100 debug=0 scheme=https secure=true useURIValidationHack=false disableUploadTimeout=true Factory className=org.apache.coyote.tomcat4.CoyoteServerSocketFactory clientAuth=false protocol=TLS / @@ -157,9 +157,9 @@ on to the appropriate Host (virtual host). -- !-- You should set jvmRoute to support load-balancing via JK/JK2 ie : -Engine name=Standalone defaultHost=localhost debug=0 jmvRoute=jvm1 --- - +Engine name=Standalone defaultHost=localhost debug=0 jmvRoute=jvm1 +-- + !-- Define the top level container in our container hierarchy -- Engine name=Standalone defaultHost=localhost debug=0 @@ -231,7 +231,7 @@ -- !-- Define the default virtual host -- - Host name=localhost debug=0 appBase=webapps + Host name=localhost debug=0 appBase=webapps unpackWARs=true autoDeploy=true !-- Normally, users must authenticate themselves to each web app @@ -265,7 +265,7 @@ directory.-- Logger className=org.apache.catalina.logger.FileLogger directory=logs prefix=localhost_log. suffix=.txt - timestamp=true/ +timestamp=true/ !-- Define properties for each web application. This is only needed if you want to set non-default properties, or have web application @@ -282,7 +282,7 @@ reloadable=true crossContext=true Logger className=org.apache.catalina.logger.FileLogger prefix=localhost_examples_log. suffix=.txt - timestamp=true/ + timestamp=true/ Ejb name=ejb/EmplRecord type=Entity home=com.wombat.empl.EmployeeRecordHome remote=com.wombat.empl.EmployeeRecord/ @@ -304,22 +304,22 @@ -- - !-- PersistentManager: Uncomment the section below to test Persistent -Sessions. - + !-- PersistentManager: Uncomment the section below to test Persistent + Sessions. + saveOnRestart: If true, all active sessions will be saved to the Store when Catalina is shutdown, regardless of - other settings. All Sessions found in the Store will be + other settings. All Sessions found in the Store will be loaded on startup. Sessions past their expiration are ignored in both cases. - maxActiveSessions: If 0 or greater, having too many active + maxActiveSessions: If 0 or greater, having too many active sessions will result in some being swapped out. minIdleSwap limits this. -1 or 0 means unlimited sessions are allowed. If it is not possible to swap sessions new sessions will be
cvs commit: jakarta-tomcat-4.0/catalina/src/conf server.xml
remm2002/12/09 05:22:40 Modified:catalina/src/conf server.xml Log: - Port connector configuration tweaks. Revision ChangesPath 1.67 +7 -6 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.66 retrieving revision 1.67 diff -u -r1.66 -r1.67 --- server.xml8 Dec 2002 07:14:16 - 1.66 +++ server.xml9 Dec 2002 13:22:40 - 1.67 @@ -92,8 +92,8 @@ Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8080 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 - acceptCount=10 debug=0 connectionTimeout=2 - useURIValidationHack=false / + acceptCount=100 debug=0 connectionTimeout=2 + useURIValidationHack=false disableUploadTimeout=true / !-- Note : To disable connection timeouts, set connectionTimeout value to -1 -- @@ -102,8 +102,8 @@ Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8443 minProcessors=5 maxProcessors=75 enableLookups=true -acceptCount=10 debug=0 scheme=https secure=true - useURIValidationHack=false +acceptCount=100 debug=0 scheme=https secure=true + useURIValidationHack=false disableUploadTimeout=true Factory className=org.apache.coyote.tomcat4.CoyoteServerSocketFactory clientAuth=false protocol=TLS / /Connector @@ -130,8 +130,9 @@ Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8082 minProcessors=5 maxProcessors=75 enableLookups=true - acceptCount=10 debug=0 connectionTimeout=2 - proxyPort=80 useURIValidationHack=false / + acceptCount=100 debug=0 connectionTimeout=2 + proxyPort=80 useURIValidationHack=false + disableUploadTimeout=true / -- !-- Define a non-SSL legacy HTTP/1.1 Test Connector on port 8083 -- -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-tomcat-4.0/catalina/src/conf server.xml
billbarker2002/12/07 23:14:16 Modified:catalina/src/conf server.xml Log: Adding a comment to document how to configure custom-Valves for MBeans. Revision ChangesPath 1.66 +7 -1 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.65 retrieving revision 1.66 diff -u -r1.65 -r1.66 --- server.xml21 Nov 2002 09:42:36 - 1.65 +++ server.xml8 Dec 2002 07:14:16 - 1.66 @@ -13,7 +13,13 @@ Server port=8005 shutdown=SHUTDOWN debug=0 - !-- Uncomment these entries to enable JMX MBeans support -- + !-- Comment these entries out to disable JMX MBeans support -- + !-- You may also configure custom components (e.g. Valves/Realms) by + including your own mbean-descriptor file(s), and setting the + descriptors attribute to point to a ';' seperated list of paths + (in the ClassLoader sense) of files to add to the default list. + e.g. descriptors=/com/myfirm/mypackage/mbean-descriptor.xml + -- Listener className=org.apache.catalina.mbeans.ServerLifecycleListener debug=0/ Listener className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: cvs commit: jakarta-tomcat-4.0/catalina/src/conf server.xml
[EMAIL PROTECTED] wrote: hgomez 2002/11/21 01:42:36 Modified:catalina/src/conf server.xml Log: No timeout to be set in AJP13 connector, it's the webserver responsability to drop unused connections Revision ChangesPath 1.65 +1 -1 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.64 retrieving revision 1.65 diff -u -r1.64 -r1.65 --- server.xml 5 Nov 2002 11:41:49 - 1.64 +++ server.xml 21 Nov 2002 09:42:36 - 1.65 @@ -107,7 +107,7 @@ Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8009 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 - acceptCount=10 debug=0 connectionTimeout=2 + acceptCount=10 debug=0 connectionTimeout=0 useURIValidationHack=false protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/ We shouldn't close the connection on the java side to avoid webserver to be puzzled with half-closed sockets. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-tomcat-4.0/catalina/src/conf server.xml
jfclere 2002/11/05 03:41:49 Modified:catalina/src/conf server.xml Log: Arrange the explainations about maxActiveSessions and minIdleSwap. Revision ChangesPath 1.64 +7 -6 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.63 retrieving revision 1.64 diff -u -r1.63 -r1.64 --- server.xml22 Oct 2002 09:45:34 - 1.63 +++ server.xml5 Nov 2002 11:41:49 - 1.64 -307,14 +307,15 ignored in both cases. maxActiveSessions: If 0 or greater, having too many active sessions will result in some being swapped out. minIdleSwap - limits this. -1 means unlimited sessions are allowed. - 0 means sessions will almost always be swapped out after - use - this will be noticeably slow for your users. + limits this. -1 or 0 means unlimited sessions are allowed. + If it is not possible to swap sessions new sessions will + be rejected. + This avoids thrashing when the site is highly active. minIdleSwap: Sessions must be idle for at least this long (in seconds) before they will be swapped out due to - maxActiveSessions. This avoids thrashing when the site is - highly active. -1 or 0 means there is no minimum - sessions - can be swapped out at any time. + activity. + 0 means sessions will almost always be swapped out after + use - this will be noticeably slow for your users. maxIdleSwap: Sessions will be swapped out if idle for this long (in seconds). If minIdleSwap is higher, then it will override this. This isn't exact: it is checked periodically. -- To unsubscribe, e-mail: mailto:tomcat-dev-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-dev-help;jakarta.apache.org
cvs commit: jakarta-tomcat-4.0/catalina/src/conf server.xml
hgomez 2002/10/22 02:45:35 Modified:catalina/src/conf server.xml Log: Add comment about jvmroute in Engine to use jk/jk2 load-balancing Revision ChangesPath 1.63 +4 -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.62 retrieving revision 1.63 diff -u -r1.62 -r1.63 --- server.xml16 Aug 2002 20:19:32 - 1.62 +++ server.xml22 Oct 2002 09:45:34 - 1.63 -149,6 +149,10 analyzes the HTTP headers included with the request, and passes them on to the appropriate Host (virtual host). -- +!-- You should set jvmRoute to support load-balancing via JK/JK2 ie : +Engine name=Standalone defaultHost=localhost debug=0 jmvRoute=jvm1 +-- + !-- Define the top level container in our container hierarchy -- Engine name=Standalone defaultHost=localhost debug=0 -- To unsubscribe, e-mail: mailto:tomcat-dev-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-dev-help;jakarta.apache.org
cvs commit: jakarta-tomcat-4.0/catalina/src/conf server.xml
amyroh 2002/08/16 13:19:32 Modified:catalina/src/conf server.xml Log: Update the JNDI datasource sample configuration following the current DBCP implementation - username instead of user. Revision ChangesPath 1.62 +1 -1 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.61 retrieving revision 1.62 diff -u -r1.61 -r1.62 --- server.xml18 Jun 2002 03:24:50 - 1.61 +++ server.xml16 Aug 2002 20:19:32 - 1.62 @@ -346,7 +346,7 @@ Resource name=jdbc/EmployeeAppDb auth=SERVLET type=javax.sql.DataSource/ ResourceParams name=jdbc/EmployeeAppDb -parameternameuser/namevaluesa/value/parameter +parameternameusername/namevaluesa/value/parameter parameternamepassword/namevalue/value/parameter parameternamedriverClassName/name valueorg.hsql.jdbcDriver/value/parameter -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-tomcat-4.0/catalina/src/conf server.xml
remm2002/06/13 14:42:40 Modified:catalina/src/conf server.xml Log: - Fix confusing version number. Revision ChangesPath 1.60 +1 -1 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.59 retrieving revision 1.60 diff -u -r1.59 -r1.60 --- server.xml22 May 2002 14:33:16 - 1.59 +++ server.xml13 Jun 2002 21:42:40 - 1.60 @@ -103,7 +103,7 @@ /Connector -- -!-- Define a Coyote/JK2 AJP 1.4 Connector on port 8009 -- +!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -- Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8009 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-tomcat-4.0/catalina/src/conf server.xml
jfclere 02/05/22 07:33:16 Modified:catalina/src/conf server.xml Log: Typo. Revision ChangesPath 1.59 +1 -1 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.58 retrieving revision 1.59 diff -u -r1.58 -r1.59 --- server.xml6 May 2002 23:08:31 - 1.58 +++ server.xml22 May 2002 14:33:16 - 1.59 @@ -82,7 +82,7 @@ IP address of the remote client. -- -!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8081 -- +!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8080 -- Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8080 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-tomcat-4.0/catalina/src/conf server.xml
remm02/04/11 16:01:26 Modified:catalina/src/conf server.xml Log: - Add the new default configuration, based on my proposal. - Obviously, some tweaking may still be needed, and the parameters to be used for the new Coyote connector are still being refined. Revision ChangesPath 1.57 +20 -11jakarta-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.56 retrieving revision 1.57 diff -u -r1.56 -r1.57 --- server.xml14 Mar 2002 21:06:56 - 1.56 +++ server.xml11 Apr 2002 23:01:26 - 1.57 @@ -14,12 +14,10 @@ !-- Uncomment these entries to enable JMX MBeans support -- -!-- Listener className=org.apache.catalina.mbeans.ServerLifecycleListener -debug=0/ +debug=0/ Listener className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener -debug=0/ --- +debug=0/ !-- Global JNDI resources -- GlobalNamingResources @@ -93,22 +91,32 @@ !-- Note : To disable connection timeouts, set connectionTimeout value to -1 -- -!-- Define an SSL HTTP/1.1 Connector on port 8443 -- +!-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 -- !-- Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8443 minProcessors=5 maxProcessors=75 enableLookups=true acceptCount=10 debug=0 scheme=https secure=true useURIValidationHack=false - Factory className=org.apache.catalina.net.SSLServerSocketFactory + Factory className=org.apache.coyote.tomcat4.CoyoteServerSocketFactory clientAuth=false protocol=TLS / /Connector -- +!-- Define a Coyote/JK2 AJP 1.4 Connector on port 8009 -- +Connector className=org.apache.coyote.tomcat4.CoyoteConnector + port=8009 minProcessors=5 maxProcessors=75 + enableLookups=true redirectPort=8443 + acceptCount=10 debug=0 connectionTimeout=2 + useURIValidationHack=false + protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/ + !-- Define an AJP 1.3 Connector on port 8009 -- +!-- Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75 acceptCount=10 debug=0/ +-- !-- Define a Proxied HTTP/1.1 Connector on port 8082 -- !-- See proxy documentation for more information about using this. -- @@ -178,9 +186,9 @@ !-- Comment out the old realm but leave here for now in case we need to go back quickly -- -!-- + !-- Realm className=org.apache.catalina.realm.MemoryRealm / --- + -- !-- Replace the above Realm with one of the following to get a Realm stored in a database and accessed via JDBC -- @@ -232,9 +240,11 @@ directory with the directory attribute. Specify either a relative (to $CATALINA_HOME) or absolute path to the desired directory. -- +!-- Valve className=org.apache.catalina.valves.AccessLogValve directory=logs prefix=localhost_access_log. suffix=.txt pattern=common resolveHosts=false/ +-- !-- Logger shared by all Contexts related to this virtual host. By default (when using FileLogger), log files are created in the logs @@ -381,6 +391,7 @@ -- !-- Define an Apache-Connector Service -- +!-- Service name=Tomcat-Apache Connector className=org.apache.catalina.connector.warp.WarpConnector @@ -388,20 +399,18 @@ enableLookups=true appBase=webapps acceptCount=10 debug=0/ -!-- Replace localhost with what your Apache ServerName is set to -- Engine className=org.apache.catalina.connector.warp.WarpEngine name=Apache debug=0 - !-- Global logger unless overridden at lower levels -- Logger className=org.apache.catalina.logger.FileLogger prefix=apache_log. suffix=.txt timestamp=true/ - !-- Because this Realm is here, an instance will be shared globally -- Realm className=org.apache.catalina.realm.MemoryRealm / /Engine /Service +-- /Server -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-tomcat-4.0/catalina/src/conf server.xml
remm02/03/14 13:06:56 Modified:catalina/src/conf server.xml Log: - Update the flag name, and set it to false. Revision ChangesPath 1.56 +3 -3 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.55 retrieving revision 1.56 diff -u -r1.55 -r1.56 --- server.xml13 Mar 2002 20:02:20 - 1.55 +++ server.xml14 Mar 2002 21:06:56 - 1.56 @@ -89,7 +89,7 @@ port=8080 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 acceptCount=10 debug=0 connectionTimeout=2 - useURINormalizationHack=true / + useURIValidationHack=false / !-- Note : To disable connection timeouts, set connectionTimeout value to -1 -- @@ -99,7 +99,7 @@ port=8443 minProcessors=5 maxProcessors=75 enableLookups=true acceptCount=10 debug=0 scheme=https secure=true - useURINormalizationHack=true + useURIValidationHack=false Factory className=org.apache.catalina.net.SSLServerSocketFactory clientAuth=false protocol=TLS / /Connector @@ -117,7 +117,7 @@ port=8082 minProcessors=5 maxProcessors=75 enableLookups=true acceptCount=10 debug=0 connectionTimeout=2 - proxyPort=80 useURINormalizationHack=true / + proxyPort=80 useURIValidationHack=false / -- !-- Define a non-SSL legacy HTTP/1.1 Test Connector on port 8083 -- -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-tomcat-4.0/catalina/src/conf server.xml
remm02/03/13 12:02:20 Modified:catalina/src/conf server.xml Log: - Make the new HTTP/1.1 connector the default connector. It will use the URI normalization hack at the moment. Revision ChangesPath 1.55 +22 -18jakarta-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.54 retrieving revision 1.55 diff -u -r1.54 -r1.55 --- server.xml8 Mar 2002 05:35:46 - 1.54 +++ server.xml13 Mar 2002 20:02:20 - 1.55 @@ -84,28 +84,24 @@ IP address of the remote client. -- -!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -- -Connector className=org.apache.catalina.connector.http.HttpConnector +!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8081 -- +Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8080 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 - acceptCount=10 debug=0 connectionTimeout=6/ + acceptCount=10 debug=0 connectionTimeout=2 + useURINormalizationHack=true / !-- Note : To disable connection timeouts, set connectionTimeout value to -1 -- -!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8081 -- -Connector className=org.apache.coyote.tomcat4.CoyoteConnector - port=8081 minProcessors=5 maxProcessors=75 - enableLookups=true redirectPort=8443 - acceptCount=10 debug=0 connectionTimeout=6/ - !-- Define an SSL HTTP/1.1 Connector on port 8443 -- !-- -Connector className=org.apache.catalina.connector.http.HttpConnector +Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8443 minProcessors=5 maxProcessors=75 enableLookups=true -acceptCount=10 debug=0 scheme=https secure=true +acceptCount=10 debug=0 scheme=https secure=true + useURINormalizationHack=true Factory className=org.apache.catalina.net.SSLServerSocketFactory - clientAuth=false protocol=TLS/ + clientAuth=false protocol=TLS / /Connector -- @@ -117,19 +113,27 @@ !-- Define a Proxied HTTP/1.1 Connector on port 8082 -- !-- See proxy documentation for more information about using this. -- !-- -Connector className=org.apache.catalina.connector.http.HttpConnector +Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8082 minProcessors=5 maxProcessors=75 enableLookups=true - acceptCount=10 debug=0 connectionTimeout=6 - proxyPort=80/ + acceptCount=10 debug=0 connectionTimeout=2 + proxyPort=80 useURINormalizationHack=true / -- -!-- Define a non-SSL HTTP/1.0 Test Connector on port 8083 -- +!-- Define a non-SSL legacy HTTP/1.1 Test Connector on port 8083 -- !-- -Connector className=org.apache.catalina.connector.http10.HttpConnector +Connector className=org.apache.catalina.connector.http.HttpConnector port=8083 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 - acceptCount=10 debug=0/ + acceptCount=10 debug=0 / +-- + +!-- Define a non-SSL HTTP/1.0 Test Connector on port 8084 -- +!-- +Connector className=org.apache.catalina.connector.http10.HttpConnector + port=8084 minProcessors=5 maxProcessors=75 + enableLookups=true redirectPort=8443 + acceptCount=10 debug=0 / -- !-- An Engine represents the entry point (within Catalina) that processes -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-tomcat-4.0/catalina/src/conf server.xml
remm02/03/07 21:35:46 Modified:catalina/src/conf server.xml Log: - Add the Coyote HTTP/1.1 connector in the default configuration, on port 8081. - Request parameter handling is not ported yet (this breaks the welcome page redirects). - Session support is not ported yet (this breaks JSPs which need a session). - Some minor tweaks are still to be done in the OutputBuffer (to minimize the usage of chunking a bit). - The chunking behavior is now sane in all cases; this should fix the problems with Cocoon 2, and help JSP a bit, also. - Profiling has revealed NO hotspots (don't forget to disable the access log valve before testing), and the vast majority of the CPU time is spent in java.net.* (for simple servlets, obviously). Revision ChangesPath 1.54 +10 -4 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.53 retrieving revision 1.54 diff -u -r1.53 -r1.54 --- server.xml8 Feb 2002 17:07:42 - 1.53 +++ server.xml8 Mar 2002 05:35:46 - 1.54 @@ -92,6 +92,12 @@ !-- Note : To disable connection timeouts, set connectionTimeout value to -1 -- +!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8081 -- +Connector className=org.apache.coyote.tomcat4.CoyoteConnector + port=8081 minProcessors=5 maxProcessors=75 + enableLookups=true redirectPort=8443 + acceptCount=10 debug=0 connectionTimeout=6/ + !-- Define an SSL HTTP/1.1 Connector on port 8443 -- !-- Connector className=org.apache.catalina.connector.http.HttpConnector @@ -108,20 +114,20 @@ port=8009 minProcessors=5 maxProcessors=75 acceptCount=10 debug=0/ -!-- Define a Proxied HTTP/1.1 Connector on port 8081 -- +!-- Define a Proxied HTTP/1.1 Connector on port 8082 -- !-- See proxy documentation for more information about using this. -- !-- Connector className=org.apache.catalina.connector.http.HttpConnector - port=8081 minProcessors=5 maxProcessors=75 + port=8082 minProcessors=5 maxProcessors=75 enableLookups=true acceptCount=10 debug=0 connectionTimeout=6 proxyPort=80/ -- -!-- Define a non-SSL HTTP/1.0 Test Connector on port 8082 -- +!-- Define a non-SSL HTTP/1.0 Test Connector on port 8083 -- !-- Connector className=org.apache.catalina.connector.http10.HttpConnector - port=8082 minProcessors=5 maxProcessors=75 + port=8083 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 acceptCount=10 debug=0/ -- -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-tomcat-4.0/catalina/src/conf server.xml
remm02/01/17 04:26:42 Modified:catalina/src/conf Tag: tomcat_40_branch server.xml Log: - Enable jk by default. Revision ChangesPath No revision No revision 1.29.2.12 +0 -2 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.29.2.11 retrieving revision 1.29.2.12 diff -u -r1.29.2.11 -r1.29.2.12 --- server.xml11 Jan 2002 16:39:14 - 1.29.2.11 +++ server.xml17 Jan 2002 12:26:42 - 1.29.2.12 @@ -71,11 +71,9 @@ -- !-- Define an AJP 1.3 Connector on port 8009 -- -!-- Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75 acceptCount=10 debug=0/ --- !-- Define a Proxied HTTP/1.1 Connector on port 8081 -- !-- See proxy documentation for more information about using this. -- -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-tomcat-4.0/catalina/src/conf server.xml
craigmcc02/01/17 12:16:53 Modified:catalina/src/conf server.xml Log: Update the commented-out entry that enables MBean creation to reflect the removal of the HttpAdaptor startup logic (which was proprietary to the JMX RI implementation). Revision ChangesPath 1.49 +1 -1 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.48 retrieving revision 1.49 diff -u -r1.48 -r1.49 --- server.xml11 Jan 2002 16:43:58 - 1.48 +++ server.xml17 Jan 2002 20:16:53 - 1.49 @@ -16,7 +16,7 @@ !-- Uncomment this entry to enable JMX MBeans support -- !-- Listener className=org.apache.catalina.mbeans.ServerLifecycleListener -debug=0 port=-1 login=admin password=admin/ +debug=0/ -- !-- Global JNDI resources -- -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-tomcat-4.0/catalina/src/conf server.xml
jfclere 02/01/11 08:39:14 Modified:catalina/src/conf Tag: tomcat_40_branch server.xml Log: The appBase should be in WarpConnector not in WarpEngine. It will apply for all virtual hosts deployed bu mod_webapp. PR: 5031 Revision ChangesPath No revision No revision 1.29.2.11 +2 -2 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.29.2.10 retrieving revision 1.29.2.11 diff -u -r1.29.2.10 -r1.29.2.11 --- server.xml26 Oct 2001 17:17:52 - 1.29.2.10 +++ server.xml11 Jan 2002 16:39:14 - 1.29.2.11 @@ -313,12 +313,12 @@ Connector className=org.apache.catalina.connector.warp.WarpConnector port=8008 minProcessors=5 maxProcessors=75 - enableLookups=true + enableLookups=true appBase=webapps acceptCount=10 debug=0/ !-- Replace localhost with what your Apache ServerName is set to -- Engine className=org.apache.catalina.connector.warp.WarpEngine - name=Apache debug=0 appBase=webapps + name=Apache debug=0 !-- Global logger unless overridden at lower levels -- Logger className=org.apache.catalina.logger.FileLogger -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-tomcat-4.0/catalina/src/conf server.xml
jfclere 02/01/11 08:43:58 Modified:catalina/src/conf server.xml Log: The appBase has be to in WarpConnector not it WarpEngine. PR: 5031 Revision ChangesPath 1.48 +2 -2 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.47 retrieving revision 1.48 diff -u -r1.47 -r1.48 --- server.xml3 Jan 2002 02:01:55 - 1.47 +++ server.xml11 Jan 2002 16:43:58 - 1.48 @@ -326,12 +326,12 @@ Connector className=org.apache.catalina.connector.warp.WarpConnector port=8008 minProcessors=5 maxProcessors=75 - enableLookups=true + enableLookups=true appBase=webapps acceptCount=10 debug=0/ !-- Replace localhost with what your Apache ServerName is set to -- Engine className=org.apache.catalina.connector.warp.WarpEngine - name=Apache debug=0 appBase=webapps + name=Apache debug=0 !-- Global logger unless overridden at lower levels -- Logger className=org.apache.catalina.logger.FileLogger -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-tomcat-4.0/catalina/src/conf server.xml
craigmcc02/01/02 18:01:56 Modified:catalina/src/conf server.xml Log: Add resolveHosts=false to the default AccessLogValve configuration so people who don't necessarily read the server configuration documentation will see it. Revision ChangesPath 1.47 +1 -1 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.46 retrieving revision 1.47 diff -u -r1.46 -r1.47 --- server.xml15 Dec 2001 21:46:51 - 1.46 +++ server.xml3 Jan 2002 02:01:55 - 1.47 @@ -193,7 +193,7 @@ -- Valve className=org.apache.catalina.valves.AccessLogValve directory=logs prefix=localhost_access_log. suffix=.txt - pattern=common/ + pattern=common resolveHosts=false/ !-- Logger shared by all Contexts related to this virtual host. By default (when using FileLogger), log files are created in the logs -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-tomcat-4.0/catalina/src/conf server.xml
remm01/10/26 15:53:40 Modified:catalina/src/conf server.xml Log: - Add support for basic authentication to the HTML adaptor. Revision ChangesPath 1.42 +1 -1 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.41 retrieving revision 1.42 diff -u -r1.41 -r1.42 --- server.xml2001/10/26 17:17:39 1.41 +++ server.xml2001/10/26 22:53:40 1.42 @@ -16,7 +16,7 @@ !-- Uncomment this entry to enable JMX MBeans support -- !-- Listener className=org.apache.catalina.mbeans.ServerLifecycleListener -debug=0 port=-1/ +debug=0 port=-1 login=admin password=admin/ --
cvs commit: jakarta-tomcat-4.0/catalina/src/conf server.xml
remm01/10/26 10:17:39 Modified:catalina/src/conf server.xml Log: - Declare the examples webapp as cross context. Revision ChangesPath 1.41 +1 -1 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.40 retrieving revision 1.41 diff -u -r1.40 -r1.41 --- server.xml2001/10/26 02:03:28 1.40 +++ server.xml2001/10/26 17:17:39 1.41 @@ -215,7 +215,7 @@ !-- Tomcat Examples Context -- Context path=/examples docBase=examples debug=0 - reloadable=true + reloadable=true crossContext=true Logger className=org.apache.catalina.logger.FileLogger prefix=localhost_examples_log. suffix=.txt timestamp=true/
cvs commit: jakarta-tomcat-4.0/catalina/src/conf server.xml
remm01/10/26 10:17:52 Modified:catalina/src/conf Tag: tomcat_40_branch server.xml Log: - Declare the examples webapp as cross context. Revision ChangesPath No revision No revision 1.29.2.10 +1 -1 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.29.2.9 retrieving revision 1.29.2.10 diff -u -r1.29.2.9 -r1.29.2.10 --- server.xml2001/10/13 19:25:29 1.29.2.9 +++ server.xml2001/10/26 17:17:52 1.29.2.10 @@ -207,7 +207,7 @@ !-- Tomcat Examples Context -- Context path=/examples docBase=examples debug=0 - reloadable=true + reloadable=true crossContext=true Logger className=org.apache.catalina.logger.FileLogger prefix=localhost_examples_log. suffix=.txt timestamp=true/
cvs commit: jakarta-tomcat-4.0/catalina/src/conf server.xml
remm01/10/21 21:49:37 Modified:catalina/src/conf server.xml Log: - Add new auto deploy flag. If true, the web applcations will be automatically deployed by the host configurator. Revision ChangesPath 1.39 +2 -1 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.38 retrieving revision 1.39 diff -u -r1.38 -r1.39 --- server.xml2001/10/13 19:26:39 1.38 +++ server.xml2001/10/22 04:49:37 1.39 @@ -158,7 +158,8 @@ -- !-- Define the default virtual host -- - Host name=localhost debug=0 appBase=webapps unpackWARs=true + Host name=localhost debug=0 appBase=webapps + unpackWARs=true autoDeploy=true !-- Normally, users must authenticate themselves to each web app individually. Uncomment the following entry if you would like
cvs commit: jakarta-tomcat-4.0/catalina/src/conf server.xml
remm01/09/30 12:31:10 Modified:catalina/src/conf Tag: tomcat_40_branch server.xml Log: - Fix case sensitivity problem. Patch submitted by Michael J Traynor (p3800 at larsontraynor.com) Revision ChangesPath No revision No revision 1.29.2.4 +1 -1 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.29.2.3 retrieving revision 1.29.2.4 diff -u -r1.29.2.3 -r1.29.2.4 --- server.xml2001/09/27 17:06:33 1.29.2.3 +++ server.xml2001/09/30 19:31:10 1.29.2.4 @@ -272,7 +272,7 @@ /ResourceParams Resource name=mail/Session auth=Container type=javax.mail.Session/ - ResourceParams name=mail/session + ResourceParams name=mail/Session parameter namemail.smtp.host/name valuelocalhost/value
cvs commit: jakarta-tomcat-4.0/catalina/src/conf server.xml
remm01/09/30 12:31:20 Modified:catalina/src/conf server.xml Log: - Fix case sensitivity problem. Patch submitted by Michael J Traynor (p3800 at larsontraynor.com) Revision ChangesPath 1.34 +1 -1 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.33 retrieving revision 1.34 diff -u -r1.33 -r1.34 --- server.xml2001/09/27 17:05:42 1.33 +++ server.xml2001/09/30 19:31:20 1.34 @@ -272,7 +272,7 @@ /ResourceParams Resource name=mail/Session auth=Container type=javax.mail.Session/ - ResourceParams name=mail/session + ResourceParams name=mail/Session parameter namemail.smtp.host/name valuelocalhost/value
cvs commit: jakarta-tomcat-4.0/catalina/src/conf server.xml
remm01/09/22 17:12:35 Modified:.BUILDING.txt build.properties.sample build.xml catalina build.xml catalina/src/conf server.xml Log: - Update build instructions (but steps 16 and 17 will need to be improved). - The binary will now include the JK 1.3 connector for Catalina. - Add a commented out JK connector in server.xml. - New detect target, which will display the flags. Revision ChangesPath 1.7 +26 -12jakarta-tomcat-4.0/BUILDING.txt Index: BUILDING.txt === RCS file: /home/cvs/jakarta-tomcat-4.0/BUILDING.txt,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- BUILDING.txt 2001/09/21 05:20:01 1.6 +++ BUILDING.txt 2001/09/23 00:12:34 1.7 @@ -1,4 +1,4 @@ -$Id: BUILDING.txt,v 1.6 2001/09/21 05:20:01 ccain Exp $ +$Id: BUILDING.txt,v 1.7 2001/09/23 00:12:34 remm Exp $ Building The Tomcat 4.0 Servlet/JSP Container @@ -138,8 +138,15 @@ distribution resides in its own directory. -(6) Download and Install JDBC Optional Package API Binary Distribution +(6) Steps (7) - (17) are optional, but are necessary to build a complete binary +distribution of Tomcat 4.0. Set the full.dist property to on in the +build.properties file (see step (18)) to build a complete distribution. +Regular contributors to Tomcat are encouraged to use the complete build +option. + +(7) Download and Install JDBC Optional Package API Binary Distribution + * Download the JDBC Optional Pacakge API package (version 2.0) from: http://java.sun.com/products/jdbc/download.html @@ -147,7 +154,7 @@ * Place the jar in a convenient location. -(7) Download and Install the JMX 1.0 Reference Implementation +(8) Download and Install the JMX 1.0 Reference Implementation * Download the JMX Instrumentation and Agent Reference Implementation (version 1.0 or later) from @@ -158,7 +165,7 @@ it resides in its own subdirectory. -(8) Download and Install the JNDI 1.2.1 Reference Implementation +(9) Download and Install the JNDI 1.2.1 Reference Implementation * Download the Java Naming and Directory Interface (JNDI) package, (version 1.2.1 or later) from @@ -172,7 +179,7 @@ same download page. Be sure that you unpack ldap.jar into the lib subdirectory of the JNDI directory, parallel to jndi.jar. -(9) Download and Install the Java Activation Framework 1.0.1 +(10) Download and Install the Java Activation Framework 1.0.1 * Download the Java Activation Framework package (version 1.0.1 or later) from @@ -181,7 +188,7 @@ * Unpack the package into a convenient location so that it resised in its own subdirectory. -(10) Download and Install JavaMail 1.2 +(11) Download and Install JavaMail 1.2 * Download the JavaMail package (version 1.2 or later) from @@ -191,7 +198,7 @@ it resides in its own subdirectory. -(11) Download and Install the JSSE 1.0.2 Reference Implementation +(12) Download and Install the JSSE 1.0.2 Reference Implementation * Download the Java Secure Sockets Extension (JSSE) package, (version 1.0.2 or later) from @@ -202,7 +209,7 @@ it resides in its own subdirectory. -(12) Download and Install the Java Transaction APIs +(13) Download and Install the Java Transaction APIs * Download the Java Transaction API (JTA) package (version 1.0.1) from: @@ -212,7 +219,7 @@ own subdirectory. -(13) Download and Install the Tyrex Data Source Package +(14) Download and Install the Tyrex Data Source Package NOTE: This step is only required if you wish to build the Tyrex connection pool implementation for JNDI-accessed data sources. @@ -225,7 +232,7 @@ own subdirectory. -(14) Download and Install the JUnit Testing Package (OPTIONAL) +(15) Download and Install the JUnit Testing Package (OPTIONAL) NOTE: This step is only required if you wish to build and execute the unit tests that are part of the Tomcat 4.0 source base. @@ -237,8 +244,15 @@ * Unpack the package into a convenient location so that it resides in its own subdirectory. + +(16) Check out the jakarta-tomcat-connectors repository, using the TOMCAT_4_1 + tag. + + +(17) Compile the util module, and the jk module. + -(15) Customize Build Properties For This Subproject +(18) Customize Build Properties For This Subproject Most Jakarta subprojects allow you to customize Ant properties (with default values defined in the build.xml file. This is done by creating a text file @@ -262,7 +276,7 @@ each developer will have their own version. -(16) Build A Binary Distribution +(19) Build A Binary Distribution Open a command
cvs commit: jakarta-tomcat-4.0/catalina/src/conf server.xml
craigmcc01/04/26 17:34:00 Modified:catalina build.xml catalina/src/conf server.xml Log: Remove the warp connector from the build (and from the default server.xml configuration) until I have time to figure out why it breaks a build from scratch. Revision ChangesPath 1.37 +3 -0 jakarta-tomcat-4.0/catalina/build.xml Index: build.xml === RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/build.xml,v retrieving revision 1.36 retrieving revision 1.37 diff -u -r1.36 -r1.37 --- build.xml 2001/04/07 22:11:45 1.36 +++ build.xml 2001/04/27 00:33:59 1.37 @@ -106,6 +106,7 @@ classpath=${parser.jar}:${jaxp.jar}:${regexp.jar}:${servlet.jar}:${jcert.jar}:${jnet.jar}:${jsse.jar}:${jmxri.jar} deprecation=off debug=on optimize=off target=1.2 excludes=**/CVS/** + exclude name=**/warp/*.java/ exclude name=**/factory/Tyrex*.java unless=tyrex.present / exclude name=**/factory/ResourceFactory.java @@ -232,9 +233,11 @@ jar jarfile=${catalina.deploy}/server/lib/catalina.jar basedir=${catalina.build}/classes excludes=**/org/apache/naming/**,**/connector/warp/**,org/apache/catalina/startup/Bootstrap.class,org/apache/catalina/loader/StandardClassLoader*.class,org/apache/catalina/loader/Extension.class,org/apache/catalina/loader/Reloader.class / +!-- jar jarfile=${catalina.deploy}/server/lib/warp.jar basedir=${catalina.build}/classes includes=**/connector/warp/** / +-- /target 1.21 +14 -1 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.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- server.xml2001/04/12 01:06:11 1.20 +++ server.xml2001/04/27 00:34:00 1.21 @@ -294,27 +294,40 @@ !-- Define an Apache-Connector Service -- +!-- Service name=Tomcat-Apache +-- +!-- Connector className=org.apache.catalina.connector.warp.WarpConnector port=8008 minProcessors=5 maxProcessors=75 acceptCount=10 debug=0/ +-- !-- Replace localhost with what your Apache ServerName is set to -- +!-- Engine className=org.apache.catalina.connector.warp.WarpEngine name=Apache defaultHost=localhost debug=0 appBase=webapps +-- !-- Global logger unless overridden at lower levels -- +!-- Logger className=org.apache.catalina.logger.FileLogger prefix=apache_log. suffix=.txt timestamp=true/ +-- !-- Because this Realm is here, an instance will be shared globally -- +!-- Realm className=org.apache.catalina.realm.MemoryRealm / +-- +!-- /Engine +-- +!-- /Service - +-- /Server
cvs commit: jakarta-tomcat-4.0/catalina/src/conf server.xml
kief01/04/07 03:22:40 Modified:catalina/src/conf server.xml Log: Added configuration and documentation for PersistentManager, which is commented out by default. Revision ChangesPath 1.19 +46 -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.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- server.xml2001/03/24 21:15:24 1.18 +++ server.xml2001/04/07 10:22:39 1.19 @@ -181,6 +181,52 @@ Ejb name="ejb/EmplRecord" type="Entity" home="com.wombat.empl.EmployeeRecordHome" remote="com.wombat.empl.EmployeeRecord"/ + !-- PersistentManager: Uncomment the section below to test Persistent +Sessions. + + saveOnRestart: If true, all active sessions will be saved + to the Store when Catalina is shutdown, regardless of + other settings. All Sessions found in the Store will be + loaded on startup. Sessions past their expiration are + ignored in both cases. + maxActiveSessions: If 0 or greater, having too many active + sessions will result in some being swapped out. minIdleSwap + limits this. -1 means unlimited sessions are allowed. + 0 means sessions will almost always be swapped out after + use - this will be noticeably slow for your users. + minIdleSwap: Sessions must be idle for at least this long + (in seconds) before they will be swapped out due to + maxActiveSessions. This avoids thrashing when the site is + highly active. -1 or 0 means there is no minimum - sessions + can be swapped out at any time. + maxIdleSwap: Sessions will be swapped out if idle for this + long (in seconds). If minIdleSwap is higher, then it will + override this. This isn't exact: it is checked periodically. + -1 means sessions won't be swapped out for this reason, + although they may be swapped out for maxActiveSessions. + If set to = 0, guarantees that all sessions found in the + Store will be loaded on startup. + maxIdleBackup: Sessions will be backed up (saved to the Store, + but left in active memory) if idle for this long (in seconds), + and all sessions found in the Store will be loaded on startup. + If set to -1 sessions will not be backed up, 0 means they + should be backed up shortly after being used. + + To clear sessions from the Store, set maxActiveSessions, maxIdleSwap, + and minIdleBackup all to -1, saveOnRestart to false, then restart + Catalina. + -- + !-- + Manager className="org.apache.catalina.session.PersistentManager" + debug="0" + saveOnRestart="true" + maxActiveSessions="-1" + minIdleSwap="-1" + maxIdleSwap="-1" + maxIdleBackup="-1" +Store className="org.apache.catalina.session.FileStore"/ + /Manager + -- Environment name="maxExemptions" type="java.lang.Integer" value="15"/ Parameter name="context.param.name" value="context.param.value"
cvs commit: jakarta-tomcat-4.0/catalina/src/conf server.xml
craigmcc00/12/16 17:03:29 Modified:catalina/src/conf server.xml Log: Add documentation and commented-out entries for the SingleSignOn valve (which allows a user authenticated in one app to be recognized in all other web apps in the same virtual host) and the RequestDumperValve debugging tool. Revision ChangesPath 1.16 +29 -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.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- server.xml2000/12/14 02:56:13 1.15 +++ server.xml2000/12/17 01:03:29 1.16 @@ -72,6 +72,24 @@ !-- Define the top level container in our container hierarchy -- Engine name="Standalone" defaultHost="localhost" debug="0" + !-- The request dumper valve dumps useful debugging information about + the request headers and cookies that were received, and the response + headers and cookies that were sent, for all requests received by + this instance of Tomcat. If you care only about requests to a + particular virtual host, or a particular application, nest this + element inside the corresponding Host or Context entry instead. + + For a similar mechanism that is portable to all Servlet 2.3 + containers, check out the "RequestDumperFilter" Filter in the + example application (the source for this filter may be found in + "$CATALINA_HOME/webapps/examples/WEB-INF/classes/filters"). + + Request dumping is disabled by default. Uncomment the following + element to enable it. -- + !-- + Valve className="org.apache.catalina.valves.RequestDumperValve"/ + -- + !-- Global logger unless overridden at lower levels -- Logger className="org.apache.catalina.logger.FileLogger" prefix="catalina_log." suffix=".txt" @@ -110,6 +128,17 @@ !-- Define the default virtual host -- Host name="localhost" debug="0" appBase="webapps" + +!-- Normally, users must authenticate themselves to each web app + individually. Uncomment the following entry if you would like + a user to be authenticated the first time they encounter a + resource protected by a security constraint, and then have that + user identity maintained across *all* web applications contained + in this virtual host. -- +!-- +Valve className="org.apache.catalina.authenticator.SingleSignOn" + debug="0"/ +-- !-- Access log processes all requests for this virtual host. By default, log files are created in the "logs" directory relative to
cvs commit: jakarta-tomcat-4.0/catalina/src/conf server.xml
craigmcc00/12/02 18:18:17 Modified:catalina/src/conf server.xml Log: Add comments that document how to change the directory to which log files (including the access logger valve) log their output. PR: BugRat Bug Report #385 Submitted by: Mayank Shah [EMAIL PROTECTED] Revision ChangesPath 1.13 +14 -4 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.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- server.xml2000/11/30 01:56:49 1.12 +++ server.xml2000/12/03 02:18:17 1.13 @@ -111,14 +111,24 @@ !-- Define the default virtual host -- Host name="localhost" debug="0" appBase="webapps" -!-- Access log processes all requests for this virtual host -- +!-- Access log processes all requests for this virtual host. By + default, log files are created in the "logs" directory relative to + $CATALINA_HOME. If you wish, you can specify a different + directory with the "directory" attribute. Specify either a relative + (to $CATALINA_HOME) or absolute path to the desired directory. +-- Valve className="org.apache.catalina.valves.AccessLogValve" - prefix="localhost_access_log." suffix=".txt" + directory="logs" prefix="localhost_access_log." suffix=".txt" pattern="common"/ -!-- Logger shared by all Contexts related to this virtual host -- +!-- Logger shared by all Contexts related to this virtual host. By + default (when using FileLogger), log files are created in the "logs" + directory relative to $CATALINA_HOME. If you wish, you can specify + a different directory with the "directory" attribute. Specify either a + relative (to $CATALINA_HOME) or absolute path to the desired + directory.-- Logger className="org.apache.catalina.logger.FileLogger" - prefix="localhost_log." suffix=".txt" + directory="logs" prefix="localhost_log." suffix=".txt" timestamp="true"/ !-- Define properties for each web application. This is only needed
cvs commit: jakarta-tomcat-4.0/catalina/src/conf server.xml
remm00/11/20 13:23:08 Modified:catalina/src/conf server.xml Log: - The AccessLogValve is now removed from the default configuration until further work is done to improve its performance. The XML is just commented out, so you can still easily use it if you want to. Revision ChangesPath 1.11 +2 -2 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.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- server.xml2000/10/13 23:34:53 1.10 +++ server.xml2000/11/20 21:23:05 1.11 @@ -112,9 +112,9 @@ Host name="localhost" debug="0" appBase="webapps" !-- Access log processes all requests for this virtual host -- -Valve className="org.apache.catalina.valves.AccessLogValve" +!--Valve className="org.apache.catalina.valves.AccessLogValve" prefix="localhost_access_log." suffix=".txt" - pattern="common"/ + pattern="common"/-- !-- Logger shared by all Contexts related to this virtual host -- Logger className="org.apache.catalina.logger.FileLogger"