-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Santosh,
On 7/16/2009 7:27 AM, santosh.si...@birlasoft.com wrote: > When I have tried to run the any java program independent of tomcat then > the opened session is releasing from oracle database. Probably because you are calling System.exit() in your standalone program. There are other possibilities, too. > But the same java program is run via/through tomcat then opened JDBC > sessions at oracle database level is not releasing. Take a thread dump and post the results. Marks' suggestion for outside research was apparently too subtle. I'll save us all the trouble of prompting you to google for "tomcat thread dump" and reading. I've written a FAQ entry on this very operation. You can find it here: http://wiki.apache.org/tomcat/HowTo#head-a3243c1d640297a9f2aa9446cbed434efbd4d1d9 Please read that. Seriously. Take a thread dump. I dare you. And then post the dump to the list and we'll tell you where your application is likely to be broken. > Is there any parameter to modify or to add in tomcat file(s). So, that > this issue will resolve. No, Tomcat doesn't have a setting to turn off the "suck bit" on your web application: you'll have to implement that yourself. How are you setting up your database connections? Are you using a Tomcat-managed connection pool? If so, post your configuration. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkpgh08ACgkQ9CaO5/Lv0PDKVQCdGA1DGrORyn56zkto5lW7Ctie cnIAnRDl2zccR6cVv4kqQtWNSIA2ujU9 =V5Ks -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org