Re: The tomcat not accept more connections
Hi, again i had the same message error in the log file of the tomcat 4.0.3 and i've been asking to the devlopers people about the this commands Connection conn = dbClass.getConnection() and conn.close() and they are using these commands in the software, it means any database connection has been closed when it finish, however the tomcat still deny any more connections and i have to restart it to accept it. The messages the log file HttpConnector[8091] No processor available, rejecting this connection I've posted many times this problem and i don't have a clear response about the problem and i've saw it happens in others platforms like a linux redhat 9.0 with tomcat 4.1.30 what is wrong? This the configuration on the server.xml file Connector className=org.apache.catalina.connector.http.HttpConnector port=8091 minProcessors=5 maxProcessors=30 maxThreads=30 enableLookups=true redirectPort=8443 acceptCount=100 debug=0 connectionTimeout=6/ !-- Define an AJP 1.3 Connector on port 11009 -- Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=11009 minProcessors=5 maxProcessors=30 maxThreads=30 acceptCount=100 debug=0/ Thanks Software wrote: OK but it isn't the problem because i've selected this options in the server.xml file and the developers people are using these command to close the connection when it's finished ...and i don't know what is the problem? ... Thanks Adam Buglass wrote: Ok, I don't know about timings - that is an entirely different question. Tomcat is not accepting connections because you've run out of processors to create them (defined in server.xml - this example is for my SQL connection): !-- Define an AJP 1.3 Connector on port 8009 -- Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=3 maxProcessors=15 acceptCount=10 debug=0/ If you are running out of processors it is because you are creating connections and then not closing them after use, it is important that you do this. If you are connecting to a database then when you creat a new connection eg. Connection conn = dbClass.getConnection() you must close that connection when you have finished interrogating the DB. IN this case you would use conn.close(); HTH. Adam On Thu, 2004-05-20 at 20:25, Software wrote: OK but is that the reasos that the tomcat not accept more connections? Shapira, Yoav wrote: Hi, The parameter uses milliseconds. The default and recommended value for 99% of applications is 6ms. I suggested upgrading your tomcat version: 4.1.30 and 5.0.24 are good releases. Yoav Shapira Millennium Research Informatics -Original Message- From: Software [mailto:[EMAIL PROTECTED] Sent: Thursday, May 20, 2004 2:04 PM To: Tomcat Users List Subject: Re: The tomcat not accept more connections The parameter connectionTimeout in the server.xml file which unit of time uses ? what is te recomendable for tomcat 4.0.3 Software wrote: Hi i have tomcat 4.03 with Apache 1.3.24 with mod_jk module over RedHat 8.0. The problem when i starting the tomcat it is stable for a some time, then the tomcat not accept any more connection and i must to restart the service to our application start working without problem Theses the errors messages 2004-05-20 09:04:29 HttpConnector[8091] No processor available, rejecting this connection 2004-05-20 09:02:24 Ajp13Connector[11009] No processor available, rejecting thiss connection When i start the tomcat theses the messages 2004-05-20 09:05:53 HttpProcessor[8091][4] Starting background thread 2004-05-20 09:10:34 Ajp13Processor[11009][7] Starting background thread What is the problem? Thanks a lot for you help Fabian - 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] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may n be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED
Re: The tomcat not accept more connections
Ok, I don't know about timings - that is an entirely different question. Tomcat is not accepting connections because you've run out of processors to create them (defined in server.xml - this example is for my SQL connection): !-- Define an AJP 1.3 Connector on port 8009 -- Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=3 maxProcessors=15 acceptCount=10 debug=0/ If you are running out of processors it is because you are creating connections and then not closing them after use, it is important that you do this. If you are connecting to a database then when you creat a new connection eg. Connection conn = dbClass.getConnection() you must close that connection when you have finished interrogating the DB. IN this case you would use conn.close(); HTH. Adam On Thu, 2004-05-20 at 20:25, Software wrote: OK but is that the reasos that the tomcat not accept more connections? Shapira, Yoav wrote: Hi, The parameter uses milliseconds. The default and recommended value for 99% of applications is 6ms. I suggested upgrading your tomcat version: 4.1.30 and 5.0.24 are good releases. Yoav Shapira Millennium Research Informatics -Original Message- From: Software [mailto:[EMAIL PROTECTED] Sent: Thursday, May 20, 2004 2:04 PM To: Tomcat Users List Subject: Re: The tomcat not accept more connections The parameter connectionTimeout in the server.xml file which unit of time uses ? what is te recomendable for tomcat 4.0.3 Software wrote: Hi i have tomcat 4.03 with Apache 1.3.24 with mod_jk module over RedHat 8.0. The problem when i starting the tomcat it is stable for a some time, then the tomcat not accept any more connection and i must to restart the service to our application start working without problem Theses the errors messages 2004-05-20 09:04:29 HttpConnector[8091] No processor available, rejecting this connection 2004-05-20 09:02:24 Ajp13Connector[11009] No processor available, rejecting thiss connection When i start the tomcat theses the messages 2004-05-20 09:05:53 HttpProcessor[8091][4] Starting background thread 2004-05-20 09:10:34 Ajp13Processor[11009][7] Starting background thread What is the problem? Thanks a lot for you help Fabian - 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] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may n be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - 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]
Re: The tomcat not accept more connections
OK but it isn't the problem because i've selected this options in the server.xml file and the developers people are using these command to close the connection when it's finished ...and i don't know what is the problem? ... Thanks Adam Buglass wrote: Ok, I don't know about timings - that is an entirely different question. Tomcat is not accepting connections because you've run out of processors to create them (defined in server.xml - this example is for my SQL connection): !-- Define an AJP 1.3 Connector on port 8009 -- Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=3 maxProcessors=15 acceptCount=10 debug=0/ If you are running out of processors it is because you are creating connections and then not closing them after use, it is important that you do this. If you are connecting to a database then when you creat a new connection eg. Connection conn = dbClass.getConnection() you must close that connection when you have finished interrogating the DB. IN this case you would use conn.close(); HTH. Adam On Thu, 2004-05-20 at 20:25, Software wrote: OK but is that the reasos that the tomcat not accept more connections? Shapira, Yoav wrote: Hi, The parameter uses milliseconds. The default and recommended value for 99% of applications is 6ms. I suggested upgrading your tomcat version: 4.1.30 and 5.0.24 are good releases. Yoav Shapira Millennium Research Informatics -Original Message- From: Software [mailto:[EMAIL PROTECTED] Sent: Thursday, May 20, 2004 2:04 PM To: Tomcat Users List Subject: Re: The tomcat not accept more connections The parameter connectionTimeout in the server.xml file which unit of time uses ? what is te recomendable for tomcat 4.0.3 Software wrote: Hi i have tomcat 4.03 with Apache 1.3.24 with mod_jk module over RedHat 8.0. The problem when i starting the tomcat it is stable for a some time, then the tomcat not accept any more connection and i must to restart the service to our application start working without problem Theses the errors messages 2004-05-20 09:04:29 HttpConnector[8091] No processor available, rejecting this connection 2004-05-20 09:02:24 Ajp13Connector[11009] No processor available, rejecting thiss connection When i start the tomcat theses the messages 2004-05-20 09:05:53 HttpProcessor[8091][4] Starting background thread 2004-05-20 09:10:34 Ajp13Processor[11009][7] Starting background thread What is the problem? Thanks a lot for you help Fabian - 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] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may n be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - 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]
Re: The tomcat not accept more connections
The parameter connectionTimeout in the server.xml file which unit of time uses ? what is te recomendable for tomcat 4.0.3 Software wrote: Hi i have tomcat 4.03 with Apache 1.3.24 with mod_jk module over RedHat 8.0. The problem when i starting the tomcat it is stable for a some time, then the tomcat not accept any more connection and i must to restart the service to our application start working without problem Theses the errors messages 2004-05-20 09:04:29 HttpConnector[8091] No processor available, rejecting this connection 2004-05-20 09:02:24 Ajp13Connector[11009] No processor available, rejecting thiss connection When i start the tomcat theses the messages 2004-05-20 09:05:53 HttpProcessor[8091][4] Starting background thread 2004-05-20 09:10:34 Ajp13Processor[11009][7] Starting background thread What is the problem? Thanks a lot for you help Fabian - 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]
RE: The tomcat not accept more connections
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/http11.html The number of milliseconds this Connector will wait, after accepting a connection, for the request URI line to be presented. The default value is 6 (i.e. 60 seconds). Benjamin J. Armintor Systems Analyst ITS-Systems: Mainframe Group University of Texas - Austin tele: (512) 232-6562 email: [EMAIL PROTECTED] -Original Message- From: Software [mailto:[EMAIL PROTECTED] Sent: Thursday, May 20, 2004 1:04 PM To: Tomcat Users List Subject: Re: The tomcat not accept more connections The parameter connectionTimeout in the server.xml file which unit of time uses ? what is te recomendable for tomcat 4.0.3 Software wrote: Hi i have tomcat 4.03 with Apache 1.3.24 with mod_jk module over RedHat 8.0. The problem when i starting the tomcat it is stable for a some time, then the tomcat not accept any more connection and i must to restart the service to our application start working without problem Theses the errors messages 2004-05-20 09:04:29 HttpConnector[8091] No processor available, rejecting this connection 2004-05-20 09:02:24 Ajp13Connector[11009] No processor available, rejecting thiss connection When i start the tomcat theses the messages 2004-05-20 09:05:53 HttpProcessor[8091][4] Starting background thread 2004-05-20 09:10:34 Ajp13Processor[11009][7] Starting background thread What is the problem? Thanks a lot for you help Fabian - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: The tomcat not accept more connections
Hi, The parameter uses milliseconds. The default and recommended value for 99% of applications is 6ms. I suggested upgrading your tomcat version: 4.1.30 and 5.0.24 are good releases. Yoav Shapira Millennium Research Informatics -Original Message- From: Software [mailto:[EMAIL PROTECTED] Sent: Thursday, May 20, 2004 2:04 PM To: Tomcat Users List Subject: Re: The tomcat not accept more connections The parameter connectionTimeout in the server.xml file which unit of time uses ? what is te recomendable for tomcat 4.0.3 Software wrote: Hi i have tomcat 4.03 with Apache 1.3.24 with mod_jk module over RedHat 8.0. The problem when i starting the tomcat it is stable for a some time, then the tomcat not accept any more connection and i must to restart the service to our application start working without problem Theses the errors messages 2004-05-20 09:04:29 HttpConnector[8091] No processor available, rejecting this connection 2004-05-20 09:02:24 Ajp13Connector[11009] No processor available, rejecting thiss connection When i start the tomcat theses the messages 2004-05-20 09:05:53 HttpProcessor[8091][4] Starting background thread 2004-05-20 09:10:34 Ajp13Processor[11009][7] Starting background thread What is the problem? Thanks a lot for you help Fabian - 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] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: The tomcat not accept more connections
OK but is that the reasos that the tomcat not accept more connections? Shapira, Yoav wrote: Hi, The parameter uses milliseconds. The default and recommended value for 99% of applications is 6ms. I suggested upgrading your tomcat version: 4.1.30 and 5.0.24 are good releases. Yoav Shapira Millennium Research Informatics -Original Message- From: Software [mailto:[EMAIL PROTECTED] Sent: Thursday, May 20, 2004 2:04 PM To: Tomcat Users List Subject: Re: The tomcat not accept more connections The parameter connectionTimeout in the server.xml file which unit of time uses ? what is te recomendable for tomcat 4.0.3 Software wrote: Hi i have tomcat 4.03 with Apache 1.3.24 with mod_jk module over RedHat 8.0. The problem when i starting the tomcat it is stable for a some time, then the tomcat not accept any more connection and i must to restart the service to our application start working without problem Theses the errors messages 2004-05-20 09:04:29 HttpConnector[8091] No processor available, rejecting this connection 2004-05-20 09:02:24 Ajp13Connector[11009] No processor available, rejecting thiss connection When i start the tomcat theses the messages 2004-05-20 09:05:53 HttpProcessor[8091][4] Starting background thread 2004-05-20 09:10:34 Ajp13Processor[11009][7] Starting background thread What is the problem? Thanks a lot for you help Fabian - 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] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]