I have asked it in tomcat list but I wanted to know from you too that is why I mailed it here too. Bye Amit Gupta ----- Original Message ----- From: "Kailash Vasani" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Monday, November 08, 2004 10:27 AM Subject: RE: Doubts with tomcat
> Hi again, > > U should have asked this in tomcat's user mailing list. > > -----Original Message----- > From: Amit Gupta [mailto:[EMAIL PROTECTED] > Sent: Monday, November 08, 2004 10:13 AM > To: Tomcat Users List; Struts Users Mailing List > Subject: Doubts with tomcat > > > Hello everybody, > > I have following section in server.xml > > <Connector port="8080" > > maxThreads="25" minSpareThreads="5" maxSpareThreads="15" > > enableLookups="false" redirectPort="8443" acceptCount="100" > > debug="0" connectionTimeout="20000" > > disableUploadTimeout="true" /> > > <!-- Note : To disable connection timeouts, set connectionTimeout value > > to 0 --> > > > <!-- 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 HTTP/1.1 Connector on port 8443 --> > > <!-- > > <Connector port="8443" > > maxThreads="25" minSpareThreads="5" maxSpareThreads="15" > > enableLookups="false" disableUploadTimeout="true" > > acceptCount="100" debug="0" scheme="https" secure="true" > > clientAuth="false" sslProtocol="TLS" /> > > --> > > <!-- Define an AJP 1.3 Connector on port 8009 --> > > <Connector port="8009" > > enableLookups="false" redirectPort="8443" debug="0" > > protocol="AJP/1.3" /> > > I have following queries: > > 1) When I start tomcat with above server.xml , it creates 9 process with > same output on shell. it is > > /usr/java/jdk1.5.0//bin/java > -Djava.endorsed.dirs=/usr/local/tomcat/common/endorsed -classpath > /usr/java/jdk1.5.0//lib/tools.jar:/usr/local/tomcat/bin/bootstrap.jar:/u > sr/local/tomcat/bin/commons-logging-api.jar > -Dcatalina.base=/usr/local/tomcat -Dcatalina.home=/usr/local/tomcat > -Djava.io.tmpdir=/usr/local/tomcat/temp > org.apache.catalina.startup.Bootstrap start. > > I configured tomcat to run with minSpareThreads="5" then why it start > with 9 threads? > > 2) In tomcat , port 8080 is redirected to SSL port 8443. Why NON-SSL > port is redited to SSL port? > > Please help me to understand these basics. > > Amit Gupta > "Quinnox is an Award Winning IT services organisation, accredited to CMM > Level 5. We are successfully delivering Application Development, > Integration, Support and Testing services to clients in the Finance, > Manufacturing, Retail and Telecom sectors. Particular focus areas include > e-Business and ERP (notably SAP) solutions." > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]