connection pooling configuration for DB2 in tomcat

2011-09-28 Thread rad muthu
All,
I am looking for DB2 connection pooling configuration used in DB2.

Thanks
Krish


Re: Tomcat not closing threads

2009-05-13 Thread rad muthu
Chetan,


We had similar issue with Sun solaris and weblogic.

My system admin found out there is a socket read errors are going on . He
used snoop command in solaris. After tuning the TCP parameters the issue got
resolved.

You might also need to something like that.

Thanks
Krish



On Wed, May 13, 2009 at 11:57 AM, Chetan Chheda chetan_chh...@yahoo.comwrote:

 I guess I need to ask my question again. Im primarily an HP-UX
 administrator and recently inherited this web based application ...

 We are having some issues in accomodating additional user
 load/functionality. While a part of the team is looking at optimizing code,
 I am responsible for infrastructure componants.

 One particular focus area for me is the mod_jk and tomcat configurations.
 1. Last of April saw one of the tomcat's stop processing requests. Looking
 at the mod_jk.log I saw the following errors
 Unable to get the free endpoint for worker XXX  from 37 slots 
 I have setup the status servlet for mod_jk in which I saw that max slots
 were opened. Thinking that mod_jk needs more number of connections, I
 basically set it to ThreadsPerChild from worker MPM

 2. Now we are randomly seeing that even a simple activity as user login
 causes a spike in used tomcat connector threads. Eventually all tomcat
 threads are used and no new requests can be serviced.

 So, long story short, is my apache, mod_jk and tomcat configuration in
 sync?
 Maxclients = 512
 ThreadsPerChild = 256
 So that means 2 server processes with 256 threads each.

 I have 2 worker threads in my worker.properties file with
 connection_pool_size=256.
 Does this mean that total number of connections into tomcat = 256 *
 2(number of workers) * 2(number of server procs) = 1024 ??

 Do I need to change the connection_pool_size to 120 . Which means 120*2 *2
 = 480 and that leaves the remainder of apache threads for static content?

 3. I have worker.XXX.cache_timeout=900 and no connectionTimeout in
 server.xml . Is this why connections remain open?

 Thanks,
 Chetan


 
 From: Caldarale, Charles R chuck.caldar...@unisys.com
 To: Tomcat Users List users@tomcat.apache.org
 Sent: Tuesday, May 12, 2009 10:47:00 PM
 Subject: RE: Tomcat not closing threads

  From: Chetan Chheda [mailto:chetan_chh...@yahoo.com]
  Subject: Re: Tomcat not closing threads
 
  I managed to get a thread dump during one such tomcat hangs. Most of
  the threads are in the following status ...

 The ones you show are simply waiting for input from httpd; that's a pretty
 normal state.  When looking at a thread dump, it's often the oddball thread
 that's not doing what the rest are that is causing a problem.  However, if
 all of the threads are just waiting to receive something from httpd, then
 you may have to look outside of Tomcat for the cause.

 - Chuck


 THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
 MATERIAL and is thus for use only by the intended recipient. If you received
 this in error, please contact the sender and delete the e-mail and its
 attachments from all computers.


 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org






Re: iBatis + Spring + Spring MVC and Webflow on Tomcat vs. JBoss

2007-11-22 Thread rad muthu
I wonder why you use both iBatis and Spring. Is it not Spring itself can do
the job.

krish

On Nov 20, 2007 3:13 PM, P.B. [EMAIL PROTECTED] wrote:


 Hello,
 I am going to write an application using the following frameworks:
 iBatis + Spring + Spring MVC and Webflow. The application is going to talk
 to external web services and maybe expose its own as well.
 I am wondering what features would not be possible for this configuration
 if
 it was running on Tomcat in comparison to what I would get if it was
 running
 on JBoss or other container like Websphere.

 Thanks,
 P.B.
 --
 View this message in context:
 http://www.nabble.com/iBatis-%2B-Spring-%2B-Spring-MVC-and-Webflow-on-Tomcat-vs.-JBoss-tf4846095.html#a13864888
 Sent from the Tomcat - User mailing list archive at 
 Nabble.comhttp://nabble.com/
 .


 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]