I am having a problem with tomcat opening up up a number of connections to an 
oracle server that never get closed.  This causes the number of open 
connections to build up over time and, eventually, causes the oracle server 
to use all of its swap.  Restarting tomcat clers this up.

I think there is a problem with some jsp's opening connections and then not 
closig them but the developers claim (surprise) their code is clean.  The 
explanation they give is:

"The increase in number of connections beyond the âCACHE_MAX_SIZEâ setting in 
the app1.properties file is due to the private labeled sites. For each 
virtual host (private labeled site), there will be a separate JVM running the 
Tomcat web server space. For each of these JVMs, there will be a separate 
database connection cache pool to serve the user requests. This is the 
designed functionality of a web server that will support virtual hosts."

I don't know tomcat near as well as I do Apache but this sounds like someone 
is blowing smoke.  If I run ps on the server it looks to me like there is 
only one instance and if I restart tomcat, _all_ virtual hosts are restarted.  
As near as I can tell from RTFM, tomcat fully supports named based virtual 
domains since about 3.2 or so.

I am using:

Redhat Linux 7.2
Kernel: 2.4.7-10
Apache: 1.3.22
Tomcat: 4.1.24
mod_jk: 1.2.4

I don't care who is right or wrong but I do want to clear up this problem.  
Any ideas?  If you need any more information, just ask.

-- 
Stephen Carville
UNIX and Network Administrator
DPSI
310-342-3602
[EMAIL PROTECTED]
--
Most people prefer believing their leaders are just and fair even in the face 
of contrary evidence.  Perhaps this is because, once a man acknowledges that  
the government he lives under is corrupt and cares nothing for justice or  
fairness, that man also has to choose what he will do about it.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to